Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2013 21:55:56 +0200
From:      =?ISO-8859-1?Q?=D6zkan_KIRIK?= <ozkan.kirik@gmail.com>
To:        freebsd-stable <freebsd-stable@freebsd.org>, freebsd-ipfw <freebsd-ipfw@freebsd.org>, Luigi Rizzo <rizzo@iet.unipi.it>
Subject:   ipfw table add problem
Message-ID:  <CAAcX-AGDZbFn5RmhLBBn2PPWRPcsFUnea5MgTc7nuXGD8Ge53A@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I'm using kernel FreeBSD 10.0-BETA3 #2 r257635 kernel.
I am trying to add port number to ipfw tables. But there is something
strange :
Problem is easily repeatable.

#ipfw table 1 flush
#ipfw table 1 add 4899
#ipfw table 1 list
::/0 0

#ipfw table 1 flush
#ipfw table 1 add 10.2.3.01       ( not 10.0.0.1,   the last 1 has 0 as
prefix )
#ipfw table 1 list
::/0 0

#ipfw table 1 delete ::/0
ipfw: setsockopt(IP_FW_TABLE_XDEL): No such process


I guess that, this problem is related to radix mask calculation problem/fix.

Is there a quick solution for this.
Best, regards,



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