kern/117234: ipfw send_pkt() and ipfw_tick() don't seem to support
john.w.court at nokia.com
Tue Oct 16 00:50:02 PDT 2007
>Synopsis: ipfw send_pkt() and ipfw_tick() don't seem to support IPV6
>Arrival-Date: Tue Oct 16 07:50:01 UTC 2007
>Originator: John Court
Hmm sorry but this was found from a review of the code and observance of an issue when porting it to another FreeBSD based platform.
I can't see how the send_pkt() routine in ip_fw2.c would create a valid ipv6
source and destination address. This is relevent due to its use in
ipfw_tick(). Basically in an ipv6 configuration when ipfw_tick() goes
off to send a keep-alive, I think send_pkt() would produce an
erroneous IPV4 style packet due to its use of id->dst_ip and id->src_ip rather
than dst_ip6 and src_ip6 ?
Further, ipfw_tick() then calls ip_output() rather than any ip6_output() routine.
More information about the freebsd-bugs