<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Re: pppd problem again????</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>I did try to recompile the pppd-2.4.2 but it did not make any difference.<BR>
(by the way pppd shipping with FC2 by default has filter enabled / compiled<BR>
in)<BR>
2.4.1 does not compile. It needs a patch for net/bpf.h that is not available<BR>
in the 2.4.1 tar ball. Available on 2.4.2.<BR>
<BR>
The kernel shipping by default with FC2 (2.6.5) has PPP_FILTER enabled by<BR>
default.<BR>
<BR>
I said that the problem must have something to do with the new kernel (!!!)<BR>
compared to FC1 (2.4 kernel) where the filter worked just fine.<BR>
<BR>
Well this is were my knowledge on programming stops.<BR>
<BR>
If anyone could help more on that it would be really helpfull.<BR>
<BR>
Sincerely,<BR>
<BR>
<BR>
<BR>
"Clifford Kite" <kite@see.signature.id> wrote in message<BR>
<A HREF="news:14sa9c.rk.ln@corncob.localhost.tld">news:14sa9c.rk.ln@corncob.localhost.tld</A>...<BR>
> Theophanis Kontogiannis <tkonto@aegean.gr> wrote:<BR>
> > Dear all,<BR>
><BR>
> > Now that I have installed FC2 I noticed that the active-filter option is<BR>
> > compiled in the new distrib. Thank you all on that (and for the new<BR>
> > Fedora.... really nice)<BR>
><BR>
> > BUT:<BR>
> > Now I have another problem. pppd daemon keeps on complaining that:<BR>
><BR>
> > May 28 20:59:28 gw pppd[4643]: error in active-filter expression:<BR>
> > inbound/outbound not supported on linktype 0<BR>
><BR>
> It shouldn't complain, my pppd doesn't.  The standard pppd version from<BR>
> 2.4.1 on correctly implements the filter options.  This is in my standard<BR>
> pppd connection script:<BR>
><BR>
> active-filter '(outbound and not (icmp[0] = 0))'<BR>
><BR>
> It works a treat.<BR>
><BR>
> > I looked on tcpdump man page (and pppd) but no answers there!<BR>
><BR>
> The tcpdump I have does object to inbound/outbound in the manner above,<BR>
> but there it's a bug that's never been fixed.  Maybe the FC crowd thought<BR>
> it was better to change the pppd filter code to agree with the tcpdump<BR>
bug.<BR>
> Bad Idea.<BR>
><BR>
> > Now what?  :)<BR>
><BR>
> Get the pppd source, 2.4.1, at ftp.samba.org in /pub/ppp, configure<BR>
> the Makefile to get the filter code, compile it, and use the resulting<BR>
> pppd binary instead of FC's.<BR>
><BR>
> > The previous problem is fixed (tha fact that pppd needed recompilation<BR>
to<BR>
> > support active-filter and then wvdial did not work with pppd) and now<BR>
there<BR>
> > is a new one. I have the filling that this cameout of the new kernel!<BR>
true?<BR>
><BR>
> No comment (except this one ;), since you don't say what kernel version,<BR>
> it's probably not relevant anyway, and I never use pppd frontends like<BR>
> wvdial, kppp, ect.<BR>
><BR>
> > I do not need to mention that it is a VERY needed option, to make clear<BR>
to<BR>
> > pppd when to drop the link as idle.<BR>
><BR>
> Changing the Makefile and compiling your own is not that hard.<BR>
><BR>
> -- Clifford Kite             Email: "echo xvgr_yvahk-ccc@ri1.arg|rot13"<BR>
> PPP-Q&A links, downloads:                      <A HREF="http://ckite.no-ip.net/">http://ckite.no-ip.net/</A><BR>
> /* ... packets usually cross many administrative boundaries on their way<BR>
>    from a source to a destination and often the only point of agreement<BR>
>    between those separate administrations is that all problems are someone<BR>
>    else's fault.   --Van Jacobson, abstract of April 97 MSRI talk */<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>