[Privoxy-users] External filters problem on Microsoft Windows.

Lee ler762 at gmail.com
Sun Nov 5 14:52:34 UTC 2017


On 11/2/17, yosef atar <atar.yosef at gmail.com> wrote:
> Hi there,
>
> I'm trying to define an external filter in the "user.filter" file but
> Privoxy ignore it and emit the following message:
>
> Error: Ignoring job EXTERNAL-FILTER: socat-test Test socat with SSL.
> outside filter block in .\user.filter, line 78
>
> My filter is defined as following:
>
> "EXTERNAL-FILTER: socat-test Test socat with SSL.
> calc.exe"
>
> I didn't find in the documentation any reference to "filter blocks".
>
> Any idea?

short version: if you're on windows, external filters aren't implemented yet.

long version:
open  http://config.privoxy.org/show-status
under the 'Conditional #defines:' section
if FEATURE_EXTERNAL_FILTERS is No your version of privoxy doesn't do
external filters

I just tried building privoxy for windows with the external filter
functionality enabled:
./configure --host=i686-w64-mingw32 --enable-mingw32 \
            --enable-static-linking \
            --enable-external-filters \
            --disable-pthread  --disable-dynamic-pcre  --enable-zlib \
            --with-docbook=yes

and it died:
i686-w64-mingw32-gcc -fstack-protector-strong -static  -mwindows -o
privoxy.exe actions.o cgi.o cgiedit.o cgisimple.o deanimate.o encode.o
errlog.o filters.o gateway.o jbsockets.o jcc.o list.o loadcfg.o
loaders.o miscutil.o parsers.o ssplit.o urlmatch.o client-tags.o
w32log.o w32taskbar.o win32.o w32svrapi.o w32.res pcrs.o pcre/get.o
pcre/maketables.o pcre/study.o pcre/pcre.o pcre/pcreposix.o -lws2_32
-lz -lwsock32 -lcomctl32
filters.o:filters.c:(.text+0x2220): undefined reference to `setenv'
collect2: error: ld returned 1 exit status
make: *** [GNUmakefile:754: privoxy.exe] Error 1


https://cygwin.com/acronyms/#PTC

Regards,
Lee


More information about the Privoxy-users mailing list