doc/share/security/patches/SA-01:08/ipfw-4.2-regression.patch
Bjoern A. Zeeb 3571e53040 Import FreeBSD Security Advisories and Errata Notices, as well as their
patches for easier mirroring, to eliminate a special copy, to make
www.freebsd.org/security a full copy of security.freebsd.org and be
eventually be the same.

For now files are just sitting there.   The symlinks are missing.

Discussed on:	www (repository location)
Discussed with:	simon (so)
2012-08-15 06:19:40 +00:00

19 lines
636 B
Diff

Index: ip_fw.c
===================================================================
RCS file: /mnt/ncvs/src/sys/netinet/ip_fw.c,v
retrieving revision 1.131.2.13
retrieving revision 1.131.2.14
diff -u -r1.131.2.13 -r1.131.2.14
--- ip_fw.c 2001/02/01 20:25:09 1.131.2.13
+++ ip_fw.c 2001/02/04 05:48:59 1.131.2.14
@@ -1222,7 +1222,9 @@
if (f->fw_tcpopt != f->fw_tcpnopt && !tcpopts_match(tcp, f))
continue;
- if (f->fw_tcpf != f->fw_tcpnf && !tcpflg_match(tcp, f))
+ if (((f->fw_tcpf != f->fw_tcpnf) ||
+ (f->fw_ipflg & IP_FW_IF_TCPEST)) &&
+ !tcpflg_match(tcp, f))
continue;
goto check_ports;
}