Date: Mon, 13 Sep 2004 23:15:18 +0200 From: Andre Oppermann <andre@freebsd.org> To: Ruslan Ermilov <ru@freebsd.org> Cc: freebsd-current@freebsd.org Subject: Re: ipfw tee fixed [cvs commit: src/sbin/ipfw ipfw.8src/sys/netinet ip_fw_pfil.c] Message-ID: <41460DE6.6070908@freebsd.org> In-Reply-To: <20040913204318.GA71517@ip.net.ua> References: <4145D02C.D02A18A0@freebsd.org> <20040913183038.GA25795@ip.net.ua> <4145EA7C.3000902@freebsd.org> <20040913185452.GB25795@ip.net.ua> <4145EE92.2060802@freebsd.org> <20040913204318.GA71517@ip.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
Ruslan Ermilov wrote: > > I specifically said divert(4) not ipfw(8). ;) I'm sorry. Too many tomatoes on my eyes... ;-) What do you think of the attached patch to divert(4)? -- Andre Index: divert.4 =================================================================== RCS file: /home/ncvs/src/share/man/man4/divert.4,v retrieving revision 1.29 diff -u -p -r1.29 divert.4 --- divert.4 3 Jul 2004 18:29:20 -0000 1.29 +++ divert.4 13 Sep 2004 21:13:56 -0000 @@ -128,6 +128,11 @@ packet to get diverted. If different fragments divert to different ports, then which port ultimately gets chosen is unpredictable. .Pp +Note that packets arriving on the divert socket by the +.Xr ipfw 8 +tee action are delivered as-is and packet fragments do not get reassembled +in this case. +.Pp Packets are received and sent unchanged, except that packets read as outgoing have invalid IP header checksums, and packets written as outgoing have their IP header checksums overwritten
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41460DE6.6070908>