Problem with ipfw table add 0.0.0.0/8

Alexander V. Chernikov melifaro at FreeBSD.org
Tue May 13 10:34:03 UTC 2014


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
>
> 12.05.2014 22:21, Marcelo Gondim пишет:
>> Hi Jason,
>>
>> Same problem.
>>
>> Em 12/05/14 15:02, Jason Hellenthal escreveu:
>>> Cute. Same this happen when there are paren around the quad ?
>>>
>> -- Jason Hellenthal Voice: 95.30.17.6/616 JJH48-ARIN
>>
>>> On May 12, 2014, at 13:43, Marcelo Gondim<gondim at bsdinfo.com.br> wrote:
>>>
>>> Hi all,
>>>
>>> Today I discovered a likely problem:
>>>
>>> # ipfw table 99 add 0.0.0.0/8
>>>
>>> # ipfw table 99 list
>>> ::/8 0
>>>
>>> Is this correct? IPv6?
>>>
>>> # uname -a
>>> FreeBSD mail.xxxxxx.com.br 10.0-STABLE FreeBSD 10.0-STABLE #6
>>> r265408: Fri May 9 12:00:40 BRT
>>> 2014root at mail.xxxxxx.com.br:/usr/obj/usr/src/sys/GONDIM amd64
>>>
>>> Cheers,
>>> Gondim
>>> _______________________________________________
>>> freebsd-net at freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-net
>>> To unsubscribe, send any mail to"freebsd-net-unsubscribe at freebsd.org"
>> _______________________________________________
>> freebsd-net at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-net
>> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>>
>>



More information about the freebsd-net mailing list