Re: ipfw bug on i386

2010-04-12 Thread Luigi Rizzo
On Mon, Apr 12, 2010 at 11:15:45AM +0400, Hizel Ildar wrote: > ?? Mon, 12 Apr 2010 10:42:25 +0400 > "Andrey V. Elsukov" ??: > > > On 12.04.2010 10:07, Hizel Ildar wrote: > > > Hey! I'm fix this bug :D > > > > > > patch: > > > > > > foo# diff -ruN main.c~ main.c > > > --- main.c~ 2010-

Re: ipfw bug on i386

2010-04-12 Thread Hizel Ildar
В Mon, 12 Apr 2010 10:42:25 +0400 "Andrey V. Elsukov" пишет: > On 12.04.2010 10:07, Hizel Ildar wrote: > > Hey! I'm fix this bug :D > > > > patch: > > > > foo# diff -ruN main.c~ main.c > > --- main.c~ 2010-03-04 19:54:56.0 +0300 > > +++ main.c 2010-04-12 09:37:21.0 +0400

Re: ipfw bug on i386

2010-04-11 Thread Andrey V. Elsukov
On 12.04.2010 10:07, Hizel Ildar wrote: Hey! I'm fix this bug :D patch: foo# diff -ruN main.c~ main.c --- main.c~ 2010-03-04 19:54:56.0 +0300 +++ main.c 2010-04-12 09:37:21.0 +0400 @@ -553,7 +553,7 @@ } while (fgets(buf, BUFSIZ, f)) { /* read

Re: ipfw bug on i386

2010-04-11 Thread Alex Keda
12.04.2010 10:07, Hizel Ildar пишет: В Sun, 11 Apr 2010 11:23:59 +0400 Alex Keda пишет: srv5# more /tmp/a.sh table="24" ipfw table $table flush for octet3 in `jot - 1 60` do for octet4 in `jot - 1 254` do echo "table $table add 192.168.$octet3.$octet4">> /tmp/$$.txt done don

Re: ipfw bug on i386

2010-04-11 Thread Hizel Ildar
В Mon, 12 Apr 2010 10:07:56 +0400 Hizel Ildar пишет: > В Sun, 11 Apr 2010 11:23:59 +0400 > Alex Keda пишет: > > > srv5# more /tmp/a.sh > > table="24" > > ipfw table $table flush > > for octet3 in `jot - 1 60` > > do > > for octet4 in `jot - 1 254` > >do > > echo "table $table add 192

Re: ipfw bug on i386

2010-04-11 Thread Hizel Ildar
В Sun, 11 Apr 2010 11:23:59 +0400 Alex Keda пишет: > srv5# more /tmp/a.sh > table="24" > ipfw table $table flush > for octet3 in `jot - 1 60` > do > for octet4 in `jot - 1 254` >do > echo "table $table add 192.168.$octet3.$octet4" >> /tmp/$$.txt >done > done > ipfw /tmp/$$.txt > rm

ipfw bug on i386

2010-04-11 Thread Alex Keda
srv5# more /tmp/a.sh table="24" ipfw table $table flush for octet3 in `jot - 1 60` do for octet4 in `jot - 1 254` do echo "table $table add 192.168.$octet3.$octet4" >> /tmp/$$.txt done done ipfw /tmp/$$.txt rm -f /tmp/$$.txt effect: srv5# sh /tmp/a.sh Abort trap (core dumped) srv5# srv5