pppd is not accepting active filters!!!!

Kontogiannis Theophanis tkonto at aegean.gr
Thu Jun 3 19:43:45 UTC 2004


Hi all again.

I know this might get bothering but I have no place else to turn ;)

I tried out many configs to work around the problem with pppd in FC2.

The problem:

If you use active-filter inbound/outbound then you get the error
Jun  2 22:18:37 gw pppd[11834]: error in active-filter expression:
inbound/outbound not supported on linktype 0

I tried to triky the system by using active-filter src net
<my-ppp0-net-number> but it keeps on giving syntax-error!

HELP! :)

Yes I did try to recompile pppd-2.4.2 but the new binary gives the same
error (this results gives me the feeling that it is not a problem of the
pppd-2.4.2 shipped - it has to do with the system/libraries itself)

Yes I did try to recompile pppd-2.4.1 but it will not compile if you set
FILTER=y to the Makefile because it crashes with:

gcc -Wall  -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MULTILINK -DHAVE_M
MAP -I../include -DCHAPMS=1 -DUSE_CRYPT=1 -DHAVE_CRYPT_H=1 -DHAS_SHADOW -DUS
E_PAM -DPLUGIN -DPPP_FILTER -I/usr/include/pcap   -c -o demand.o demand.c
demand.c:37:21: net/bpf.h: No such file or directory
make[1]: *** [demand.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/SRPMS/ppp-2.4.1/ppp-2.4.1/pppd'
make: *** [all] Error 2

(pppd 2.4.2 has a patch on that )

Questions:
Why is this happening?
What makes a link to be type 0 and not something else?
What is this type and what does it mean?
How do I change the type to a type that works (and what type???)

Do I have to change back to FC1??? (PLEASE NO :)

Cliford Kite had an idea that something might have changed in FC2 and
libcap.a!

If I knew more on programming I would look myself on the problem but
compilation is where my knowledge stops (but working on it ;).

Really thank you all for your time.
Theo


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/test/attachments/20040603/dce78941/attachment.html 


More information about the test mailing list