cvs commit: src/sys/netinet icmp_var.h ip_icmp.c src/sys/netinet6
udp6_usrreq.c
Robert Watson
rwatson at FreeBSD.org
Thu Jul 19 22:34:26 UTC 2007
rwatson 2007-07-19 22:34:25 UTC
FreeBSD src repository
Modified files:
sys/netinet icmp_var.h ip_icmp.c
sys/netinet6 udp6_usrreq.c
Log:
Attempt to improve feature parity between UDPv4 and UDPv6 by merging
UDPv4 features to UDPv6:
- Add MAC checks on delivery and MAC labeling on transmit.
- Check for (and reject) datagrams with destination port 0.
- For multicast delivery, check the source port only if the socket being
considered as a destination has been connected.
- Implement UDP blackholing based on net.inet.udp.blackhole.
- Add a new ICMPv6 unreachable reply rate limiting category for failed
delivery attempts and implement rate limiting for UDPv6 (submitted by
bz).
Approved by: re (kensmith)
Reviewed by: bz
Revision Changes Path
1.26 +2 -1 src/sys/netinet/icmp_var.h
1.117 +2 -1 src/sys/netinet/ip_icmp.c
1.78 +34 -2 src/sys/netinet6/udp6_usrreq.c
More information about the cvs-src
mailing list