From owner-freebsd-stable Fri Jul 3 09:11:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA16566 for freebsd-stable-outgoing; Fri, 3 Jul 1998 09:11:15 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from atreju.lan.attic.ch (oensingen-gate1-09.solnet.ch [194.235.47.104]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA16557 for ; Fri, 3 Jul 1998 09:11:06 -0700 (PDT) (envelope-from blapp@attic.ch) Received: from attic.ch (furchur.lan.attic.ch [192.168.0.1]) by atreju.lan.attic.ch (8.8.8/8.8.8) with ESMTP id RAA24512 for ; Fri, 3 Jul 1998 17:21:41 GMT (envelope-from blapp@attic.ch) Message-ID: <359D025C.D9BE4B31@attic.ch> Date: Fri, 03 Jul 1998 18:10:05 +0200 From: Martin Blapp Reply-To: blapp@attic.ch Organization: Attic Internet Services X-Mailer: Mozilla 4.05 [en] (WinNT; U) MIME-Version: 1.0 To: "freebsd-stable@FreeBSD.ORG" Subject: PPPd with option 'active-filter' Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello I use at home natd in connection with pppd. To use dial on demand, I made a custom kernel with these options : pseudo-device bpfilter 16 # Berkeley packet filter options IPFIREWALL #Firewall options IPDIVERT #Natd options PPP_FILTER #enable bpf filtering (needs bpfilter) options PPP_BSDCOMP #PPP BSD-compress support options PPP_DEFLATE #PPP zlib/deflate/gzip support All's working great, with one exeption. pppd refuses to know the option "active-filter". So I tried to recompile pppd with the option -DPPP_FILTER. But I got an error after depend and make: [/usr/src/usr.sbin/pppd] make -DPPP_FILTER cc -O -DHAVE_PATHS_H -DPPP_FILTER -c /usr/src/usr.sbin/pppd/main.c cc -O -DHAVE_PATHS_H -DPPP_FILTER -c /usr/src/usr.sbin/pppd/magic.c cc -O -DHAVE_PATHS_H -DPPP_FILTER -c /usr/src/usr.sbin/pppd/fsm.c cc -O -DHAVE_PATHS_H -DPPP_FILTER -c /usr/src/usr.sbin/pppd/lcp.c cc -O -DHAVE_PATHS_H -DPPP_FILTER -c /usr/src/usr.sbin/pppd/ipcp.c cc -O -DHAVE_PATHS_H -DPPP_FILTER -c /usr/src/usr.sbin/pppd/ipxcp.c cc -O -DHAVE_PATHS_H -DPPP_FILTER -c /usr/src/usr.sbin/pppd/upap.c cc -O -DHAVE_PATHS_H -DPPP_FILTER -c /usr/src/usr.sbin/pppd/chap.c cc -O -DHAVE_PATHS_H -DPPP_FILTER -c /usr/src/usr.sbin/pppd/ccp.c cc -O -DHAVE_PATHS_H -DPPP_FILTER -c /usr/src/usr.sbin/pppd/demand.c cc -O -DHAVE_PATHS_H -DPPP_FILTER -c /usr/src/usr.sbin/pppd/auth.c cc -O -DHAVE_PATHS_H -DPPP_FILTER -c /usr/src/usr.sbin/pppd/options.c cc -O -DHAVE_PATHS_H -DPPP_FILTER -c /usr/src/usr.sbin/pppd/sys-bsd.c cc -O -DHAVE_PATHS_H -DPPP_FILTER -o pppd main.o magic.o fsm.o lcp.o ipcp.o i pxcp.o upap.o chap.o ccp.o demand.o auth.o options.o sys-bsd.o -lcrypt -lutil - lmd demand.o: Undefined symbol `_bpf_filter' referenced from text segment options.o: Undefined symbol `_pcap_compile' referenced from text segment options.o: Undefined symbol `_pcap_geterr' referenced from text segment options.o: Undefined symbol `_pcap_compile' referenced from text segment options.o: Undefined symbol `_pcap_geterr' referenced from text segment *** Error code 1 Stop. [/usr/src/usr.sbin/pppd] What made I wrong ? Why isn't "PPP_FILTER" a default option in pppd ? I thing if i make cvsup and a make buildworld, I have also to recompile pppd. Are I'm right ? Is active-filter in pppd working fore somebody. Can you give me a hint :) ? Thanks for your answer. Martin. -- ------------------------------------------------------------------------ Martin Blapp, (blapp@attic.ch) Attic Internet Services, Bechburgstrasse 8, 4702 Oensingen, Switzerland Phone: +41 62 396 43 70, Fax: +41 62 396 43 72 PGP fingerprint: 4E96 1AE8 4AA6 AB40 1AD6 DB42 7623 995D 522A 1D38 ------------------------------------------------------------------------ Public key available at: http://www.attic.ch/pgp-public.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message