Subject: Re: my personal challenge ...
To: Stefan Sonnenberg-Carstens <ssc@coolspot.de>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-kern
Date: 05/18/2004 23:12:22
On Tue, May 18, 2004 at 02:15:59PM +0200, Stefan Sonnenberg-Carstens wrote:
> I spend the last few weeks in defining how to implement
> a kernel-based ip load-balancer like the more than famous
> f5 BigIP's.
> I read through some NetBSD/FreeBSD/OpenBSD kernel
> sources and in particular the ip_input.c file, which I think
> is the most appropriate place to start writing such a beast.
> One thing which did not became clear to me is that :
> if I want to send modified packets onwards, which function
> do I need ? ip_forward ? Do I need to create my own packets
> in a mbuf manner ?
The best place to start is propably the ipf/ipnat sources.
It does something very close.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--