From owner-cvs-all Fri Jul 7 7:22:18 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 2BC7337BF70; Fri, 7 Jul 2000 07:22:10 -0700 (PDT) (envelope-from brian@FreeBSD.org) Received: (from brian@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA76784; Fri, 7 Jul 2000 07:22:10 -0700 (PDT) (envelope-from brian@FreeBSD.org) Message-Id: <200007071422.HAA76784@freefall.freebsd.org> From: Brian Somers Date: Fri, 7 Jul 2000 07:22:10 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/ppp bundle.c bundle.h command.c ip.c ip.h nat_cmd.c ppp.8 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG brian 2000/07/07 07:22:10 PDT Modified files: usr.sbin/ppp bundle.c bundle.h command.c ip.c ip.h nat_cmd.c ppp.8 Log: o Log the (payload/size) of all packet types, not just TCP packets o If the new ``filter-decapsulation'' is enabled, delve into UDP packets that contain 0xff 0x03 as the first two bytes, and if we recognise it as PROTO_IP, decapsulate it for the purpose of filter checking. If we recognise it as PROTO_ mention this for logging purposes only. This change is aimed at people running PPPoUDP where the UDP traffic is being sent over another PPP link. It's desireable to have the top level link connected all the time, but to have the bottom level link capable of decapsulating the traffic and comparing the payload against the filters, thus allowing ``set filter dial ...'' to work in tunnelled environments. The caveat here is that the top ppp cannot employ any compression layers without making the data unreadable for the bottom ppp. ``disable deflate pred1 vj'' and ``deny deflate pred1 vj'' is suggested. Revision Changes Path 1.98 +15 -12 src/usr.sbin/ppp/bundle.c 1.40 +12 -11 src/usr.sbin/ppp/bundle.h 1.240 +6 -3 src/usr.sbin/ppp/command.c 1.83 +61 -9 src/usr.sbin/ppp/ip.c 1.15 +3 -2 src/usr.sbin/ppp/ip.h 1.48 +2 -2 src/usr.sbin/ppp/nat_cmd.c 1.226 +33 -1 src/usr.sbin/ppp/ppp.8 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message