[Privoxy-users] How to Block raw IP address, not domain name
Lee
ler762 at gmail.com
Tue Jul 5 01:19:48 UTC 2016
On 6/30/16, User <testuser01 at riseup.net> wrote:
> Actions file
>
> {{settings}}
> {+block{raw IP access}}
> [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+
>
> I want to privoxy to block "IP address" access, such as
> http://111.222.111.222/.
> Tried above doesn't solve this issue. How can I do this with privoxy?
> 1.1.1.1 ~ 255.255.255.255
> (and, if possible, filter IPv6 address too)
You can try building Privoxy with FEATURE_EXTENDED_HOST_PATTERNS
enabled. I suspect it'll break the standard action files but it
should give you the ability to do your
{+block{raw IP access}}
[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+
or go with the standard build & this might be good enuf:
{ +block{raw IP address} }
[0-9]*.[0-9]*.[0-9]*.[0-9]*
Regards,
Lee
More information about the Privoxy-users
mailing list