From Bugzilla Helper:
User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.17-0.13 i686)
Description of problem:
I've recompiled pppd to use the FILTER option. Working great, but I cannot
specify extended filter configuration, because they have to be between single
quotes which isn't supported by the scripts.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Not working example:
PPPD_EXTRA="active-filter 'outbound and not icmp == 3 and not tcp & 4 !=
Actual Results: Error message in log is
Feb 17 16:58:14 gate pppd: error in active-filter expression:
illegal char '''
I've debugged around in the script "adsl-connect", but didn't succeed.
The problem is somewhere around:
$SETSID $PPPD $PPP_STD_OPTIONS $DEMAND &
Putting the $PPP_STD_OPTIONS between " didn't help too, because now
pppd treats this all as one option.
It's a bug in ppp.
Thanks to hints in bug
this issue can be solved easily:
1) activate filtering in pppd (see also https://bugzilla.redhat.com/bugzilla/show_bug.cgi?
2) create a file /etc/ppp/options.adsl containing e.g.
active-filter 'outbound and !(udp dst port ntp || udp dst port 3740)'
3) specify usage of this file for additional options in e.g.