Date: Tue, 5 Sep 2000 20:10:43 -0700 (PDT) From: Bill Fumerola <billf@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet ip_fw.c Message-ID: <200009060310.UAA19323@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
billf 2000/09/05 20:10:43 PDT
Modified files:
sys/netinet ip_fw.c
Log:
1. IP_FW_F_{UID,GID} are _not_ commands, they are extras. The sanity checking
for them does not belong in the IP_FW_F_COMMAND switch, that mask doesn't even
apply to them(!).
2. You cannot add a uid/gid rule to something that isn't TCP, UDP, or IP.
XXX - this should be handled in ipfw(8) as well (for more diagnostic output),
but this at least protects bogus rules from being added.
Pointy hat: green
Revision Changes Path
1.139 +8 -3 src/sys/netinet/ip_fw.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009060310.UAA19323>
