I put this in my user.action file:
{ +external-filter{/home/justme/privscript.tcl} }
.insite.com.br
Then I visit http://linguistica.insite.com.br and Privoxy crashes.
The full content of privscript.tcl is:
#!/usr/bin/env tclsh
puts "testing"
Either that or I have it read from stdin and replace all letters A with X to confirm that the filter is working. But I never get that chance, because just using the external filter command and loading the page causes Privoxy to crash every time.
The log file just tells me:
Fatal error: Didn't find stuff to execute for external filter: /home/justme/privscript.tcl
.
This is Privoxy 3.0.26-3 on Debian Stretch.
Not running any other proxies, firewall, anti-virus or ad-block.
You're using it incorrectly. The +external-filter{} action
takes the name of an external filter as argument.
The external filter is defined in the filter file.
For details see:
https://www.privoxy.org/user-manual/actions-file.html#EXTERNAL-FILTER
https://www.privoxy.org/user-manual/filter-file.html#EXTERNAL-FILTER-SYNTAX