[Privoxy-users] How to Block raw IP address, not domain name
Fabian Keil
fk at fabiankeil.de
Thu Jul 7 14:04:33 UTC 2016
Lee <ler762 at gmail.com> wrote:
> 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]+
tools/url-pattern-translator.pl can be used to convert action
files from traditional to extended host pattern syntax.
Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.privoxy.org/pipermail/privoxy-users/attachments/20160707/0dbba0aa/attachment.bin>
More information about the Privoxy-users
mailing list