Module Name: src Committed By: maxv Date: Thu Mar 8 07:06:13 UTC 2018
Modified Files: src/sys/net/npf: npf.h npf_handler.c npf_inet.c Log Message: Declare NPC_FMTERR, and use it to kick malformed packets. Several sanity checks are added in IPv6; after we see the first IPPROTO_FRAGMENT header, we are allowed to fail to advance, otherwise we kick the packet. Sent on tech-net@ a few days ago, no response, but I'm committing it now anyway. To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/sys/net/npf/npf.h cvs rdiff -u -r1.37 -r1.38 src/sys/net/npf/npf_handler.c \ src/sys/net/npf/npf_inet.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.