Problem with ipfw table add 0.0.0.0/8

Dennis Yusupoff dyr at smartspb.net
Tue May 13 12:06:01 UTC 2014


I think that universal table for all kind of data (ipv4, ipv6, ports,
etc) is a bad idea by design. At least unless you haven't any ability to
specify address family on add, to avoid attempts to guess what user
meant. Something like "ipfw table X add DEEF.DE ipv6".


13.05.2014 14:32, Alexander V. Chernikov пишет:
> On 13.05.2014 13:46, Dennis Yusupoff wrote:
>> May be this will help? See answer on
>> http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/189471
> I'll try to fix it within a few days.
>
> The problem itself happens due to the fact that every CIDR table
> address is packed into IPv6 address and IPv4 ones are encoded as
> deprecated IPv6-compatible ones.
> this leads to the problems with decoding things like 0/X or ::1

-- 
Best regards,
Dennis Yusupoff,
network engineer of
Smart-Telecom ISP
Russia, Saint-Petersburg 



More information about the freebsd-net mailing list