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: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Michael Solan
> > Sent: 24 February 2001 04:56
> > To: [EMAIL PROTECTED]
> > 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 [EMAIL PROTECTED]
> > with "unsubscribe freebsd-hackers" in the body of the message
> >
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-hackers" in the body of the message
>
> --
> __--_|\ Julian Elischer
> / \ [EMAIL PROTECTED]
> ( OZ ) World tour 2000-2001
> ---> X_.---._/
> v
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message