Library net/libnet10 defines structures for contents of network packets. Fields of the packets have fixed size according to the respective protocol definitions, but the library uses type u_long for some of the 32bit fields. This is a problem on amd64 architecture, where type long has 64 bits. On amd64, libnet creates packets with bad contents. How-To-Repeat: Try to send network packets created by net/libnet10. For example, Snort in inline mode uses libnet to send TCP reset if a packet matches a reject rule. The packets are invalid, which can be easily seen by tcpdump.
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Responsible Changed From-To: freebsd-ports-bugs->clsung I'll take it.
Responsible Changed From-To: clsung->freebsd-ports-bugs Committer timeout (9 months).
State Changed From-To: feedback->open Maintainer was reset in the meantime.
Responsible Changed From-To: freebsd-ports-bugs->pgollucci I'll take it.
pgollucci 2009-06-11 20:08:35 UTC FreeBSD ports repository Modified files: net/libnet10 Makefile Log: Library net/libnet10 defines structures for contents of network packets. Fields of the packets have fixed size according to the respective protocol definitions, but the library uses type u_long for some of the 32bit fields. This is a problem on amd64 architecture, where type long has 64 bits. On amd64, libnet creates packets with bad contents. PR: ports/122571 Submitted by: Martin Beran <mb@tns.cz> Revision Changes Path 1.25 +8 -1 ports/net/libnet10/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!