Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2001 10:53:14 -0800
From:      Michael Solan <solan@ffnet.com>
To:        hackers@freebsd.org
Subject:   Re: dummynet as modules
Message-ID:  <3A9BF79A.4939E44C@ffnet.com>
References:  <NDBBIMKICMDGDMNOOCAIMEGFCDAA.patrick@mip.co.za> <3A9BC3CF.4A911C0D@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer wrote:

> Patrick O'Reilly wrote:
> >
> > Michael,
> >
> > I hope I am not barking up the wrong tree here, but my understanding is that
> > ipfw selects packets to forward to dummynet.  This would make it illogical
> > (and hence probably impossible) to run dummynet without having ipfw running
> > correctly.
> >
> > The man page for 'dummynet' says:
> >      In its current implementation, packet selection is done with the ipfw
> >      program, by means of ``pipe'' rules.
> >
> > I think you will have to go about this the hard way.....
> >
> > Regards,
> > Patrick O'Reilly
> > ---
> > "I do not feel obliged to believe that the same God who has endowed us with
> > sense, reason, and intellect has intended us to forego their use." --
> > Galileo Galilei
> >
> > -----Original Message-----
> > From: owner-freebsd-hackers@FreeBSD.ORG
> > [mailto:owner-freebsd-hackers@FreeBSD.ORG]On Behalf Of Michael Solan
> > Sent: 24 February 2001 04:56
> > To: hackers@FreeBSD.ORG
> > Subject: dummynet as modules
> >
> > Hi there,
> >
> > How do I compile a a kernel without ipfw, and a ipfw.ko module with
> > dummynet support?
> > I have to add some features to the dummynet code, so instead of
> > rebooting every 5 mins I figured kldloading it would save me some time.
> >
> > I tried several combinations like 'options DUMMYNET' but no 'options
> > IPFIREWALL', even defined DUMMYNET in the modules/ipfw/Makefile but it
> > all resulted in undefined symbols when either building or kldloading...
> >
> > Any ideas?
>
> make a combined ipfw+dummynet module (include both sets of files in the same
> module
>

That's what I tried, the problem though is that there's a couple of #ifdef
DUMMYNET in ip_input.c which gets statically linked to the kernel and is not part
of the ipfw module.

> >
> > Michael Solan
> >
> >  -- New to FreeBSD and less confused than a hamster on FreeBase --
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-hackers" in the body of the message
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-hackers" in the body of the message
>
> --
>       __--_|\  Julian Elischer
>      /       \ julian@elischer.org
>     (   OZ    ) World tour 2000-2001
> ---> X_.---._/
>             v


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A9BF79A.4939E44C>