List Info

Thread: addition to ipfw table..




addition to ipfw table..
country flaguser name
United States
2008-04-16 21:47:53
this change allows one to type

ipfw table 2 add 1.1.1.1:255.255.255.0 0
in addition to the currently acceptable 1.1.1.1/24 0

The reason is that some programs supply the netmask in
that (mask) form and a shell script trying to add it to a
table
has a hard time converting it to the currently acceptable
form
(the latter).

I do know it won't handle non contiguous masks well but as
the
ipfw ABI code only accepts a network mask length instead of
a
mask, there's not much that can be done.
I may suggest a later fix for that but it will break the
ABI.

comments?




_______________________________________________
freebsd-netfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to
"freebsd-net-unsubscribefreebsd.org"
  
Re: addition to ipfw table..
user name
2008-04-17 00:47:20
Julian Elischer wrote:
> I do know it won't handle non contiguous masks well but
as the
> ipfw ABI code only accepts a network mask length
instead of a
> mask, there's not much that can be done.
> I may suggest a later fix for that but it will break
the ABI.
> 
> comments?

What you think about my patch?

-- 
WBR, Andrey V. Elsukov

_______________________________________________
freebsd-netfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to
"freebsd-net-unsubscribefreebsd.org"
  
Re: addition to ipfw table..
country flaguser name
United States
2008-04-17 12:48:33
Andrey V. Elsukov wrote:
> Julian Elischer wrote:
>> I do know it won't handle non contiguous masks well
but as the
>> ipfw ABI code only accepts a network mask length
instead of a
>> mask, there's not much that can be done.
>> I may suggest a later fix for that but it will
break the ABI.
>>
>> comments?
> 
> What you think about my patch?
> 

I like it.. 
I didn't know about contigmask()


_______________________________________________
freebsd-netfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to
"freebsd-net-unsubscribefreebsd.org"

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )