X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=package%2Fppp%2Fpatches%2F310-precompile_filter.patch;fp=package%2Fppp%2Fpatches%2F310-precompile_filter.patch;h=87b9687ef702fd4924b8dfc837ebc1e8eb9232bd;hp=5d2c8f1710c765f7a11bb7e6eddf6e86c1dfb287;hb=1f78ff41f100e6dcf44527630d12eedec3c6e590;hpb=a10e3d06196996868df5b869b0800f54377234b1 diff --git a/package/ppp/patches/310-precompile_filter.patch b/package/ppp/patches/310-precompile_filter.patch index 5d2c8f1710..87b9687ef7 100644 --- a/package/ppp/patches/310-precompile_filter.patch +++ b/package/ppp/patches/310-precompile_filter.patch @@ -1,3 +1,16 @@ +pppd: Implement support for precompiled pcap filters + +This patch implements support for precompiled pcap filters which is useful to +support dial-on-demand on memory constrained embedded devices without having +to link the full libpcap into pppd to generate the filters during runtime. + +Two new options are introduced; "precompiled-pass-filter" specifies a pre- +compiled filter file containing rules to match packets which should be passed, +"precompiled-active-filter" specifies a filter file containing rules to match +packets which are treated as active. + +Signed-off-by: Jo-Philipp Wich + --- a/pppd/Makefile.linux +++ b/pppd/Makefile.linux @@ -50,6 +50,9 @@ MPPE=y