Summer of Code 2005: Improve Libalias

Marcin Jessa lists at yazzy.org
Wed Sep 7 00:49:57 PDT 2005


On Tue, 6 Sep 2005 20:52:15 -0400 (EDT)
"Mike Jakubik" <mikej at rogers.com> wrote:

> On Tue, September 6, 2005 10:13 am, Paolo Pisati said:
> > On Tue, Sep 06, 2005 at 04:06:57PM +0400, Gleb Smirnoff wrote:
> >
> >> during your work with libalias have you found any bugs or buglets, or a
> >> rough places, that should be considered to be merged to main FreeBSD CVS
> >> tree as soon as possible, before next release?
> >
> > well, actually i didn't find any bugs in libalias that was not imputable
> > to my work, but i found 2 bugs in other parts of FreeBSD:
> >
> >
> > 1) kernel panic with ipfw as kld in 5.x and 6.x:
> >
> >
> > kldload ipfw.ko ipfw show (the 65k rule will show up) ipfw add 100 allow
> > all from any to any ipfw del 100 panic: kmem_malloc: entry not found or
> > misaligned
> >
> > tested on qemu only
> >
> > 2) natd crash receiving a SIGHUP
> >
> >
> > launch natd this way (as root):
> >
> > /sbin/natd -n <if> -v
> >
> >
> > where if is your nic
> >
> > then
> >
> > sudo killall -HUP natd
> >
> > natd will core dump
> >
> > i didn't have time to investigate any further, but if i'm not the only one
> > to see them, i can take a look...
> 
> And what is the point of all of this when we have OpenBSD's PF? ipfw and
> libalias is dead.

Then tell me please how would you do something like that with pf and ALTQ?:

    ipfw add pipe 3 ip from any to any out
    ipfw add pipe 4 ip from any to any in
    ipfw pipe 3 config bw 2048Kbit/s queue 10 delay 100ms
    ipfw pipe 4 config bw 2048Kbit/s queue 30 delay 100ms


Marcin


More information about the freebsd-net mailing list