Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Sep 2005 09:49:58 +0200
From:      Marcin Jessa <lists@yazzy.org>
To:        "Mike Jakubik" <mikej@rogers.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Summer of Code 2005: Improve Libalias
Message-ID:  <20050907094958.573ed2af.lists@yazzy.org>
In-Reply-To: <1417.172.16.0.199.1126054335.squirrel@172.16.0.1>
References:  <20050906100348.GA1440@tin.it> <20050906120657.GD41863@cell.sick.ru> <20050906141304.GA31424@tin.it> <1417.172.16.0.199.1126054335.squirrel@172.16.0.1>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 6 Sep 2005 20:52:15 -0400 (EDT)
"Mike Jakubik" <mikej@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050907094958.573ed2af.lists>