Summary: | [ip6] IP_RECVDSTADDR not IPv6 compatible | ||
---|---|---|---|
Product: | Base System | Reporter: | Poul-Henning Kamp <phk> |
Component: | kern | Assignee: | George V. Neville-Neil <gnn> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | 8.0-CURRENT | ||
Hardware: | Any | ||
OS: | Any |
Description
Poul-Henning Kamp
2008-03-24 08:20:00 UTC
Responsible Changed From-To: freebsd-bugs->gnn Over to gnn@ per request Hi, Do you want to use IP_RECVDSTADDR on an AF_INET6 socket? The proper interface for an IPv6 socket is defined in RFC 3542 [ http://www.rfc-editor.org/rfc/rfc3542.txt ]. See Paragraph 6. Packet Information for what you are trying to achive. If you mean that it is possible to use IP_RECVDSTADDR on an IPv6 socket that might sound bogus. I am unsure what the correct semantics for an v4 mapped v6 address would be but that might be a reason to permit this on a limited number of sockets. If we are trying to return an IPv6 address when IP_RECVDSTADDR was set on an IPv6 socket, that sounds like a bug and should be fixed. Unfortunately your PR is not very precise about your actual problem. I guess gnn knows;-) -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT Software is harder than hardware so better get it right the first time. State Changed From-To: open->closed closing this PR in favour of kern/118880 - content migrated |