Re: [wccpd-devel] kernel wccp support
Status: Alpha
Brought to you by:
ejbs
|
From: Eduardo J. B. <ej...@ne...> - 2002-01-29 22:05:09
|
On Tue, 2002-01-29 at 11:48, Blues wrote:
On 28 Jan 2002, Eduardo J. Blanco wrote:
> It's more a hack than a patch.
> I've read ip_wccp.c, but that is the counterpart of this patch.
> ip_wccp.c lets you _receive_ WCCP GRE encapsulated packets. On the
> other hand, for wccpd I need to load-balance and _send_ WCCP GRE
> encapsulated packets.
>
> The 'neat' way should be to add a new transport to IPVS, but that would
> be a much larger patch to both the kernel code and the user-space
> ipvsadm. I'd like to try this hack first, as a proof-of-concept.
This patch works :) Cisco Cache Engine is communicating correctly with
wccpd.
Now I'm making production-testings. For now seems to be OK.
Great! I'm glad to hear that!
Few reflections:
- location of scripts - I don't know where should it be, maybe in
/etc/wccp/scripts ?
Sigh... I don't specially like scripts under /etc (yeah, I know,
/etc/rc.d). What does the FSSTD has to say about it? IIRC, GNU tends
to use /usr/libexec for that.
- dc called in scripts - ugly :)
Agreed. Any way to convert a decimal number to hex or viceversa? ip
rule, iptables and the like all differ slightly on what they expect. :-(
- all caches should be called from some configuration file (maybe in
/etc/wccp/wccpd.conf.
Sorry, I don't understand this... Do you want a config file to list the
valid caches?
For now it looks OK. It's "raw" but works fine.
Ok; I'll see to it. I'm working now on WCCP v2.
--ejbs
|