Menu

#270 User configs by host(IP) and/or client(browser)

closed-accepted
5
2007-04-30
2004-02-07
No

One of our Debian users requested the following feature; see http://bugs.debian.org/231164:

From: "Mike Mestnik\) \(The Archmage Forever" <cheako@train.is-a-geek.org>
Subject: privoxy: User configs by host(IP) and/or client(browser).

I find alot of ppl on the web have varying fealings about lets say pop-ups. ppl who use mozilla or fierbird generaly wan't popups. while the default for other browsers should be to block. Also some users who use mozilla may just as well have privoxy do the blocking.

This creates the need for more configurable rules. I think it will work if [ and ] are used to establish what the following Actions are for. I.E.

[ client=Mozilla.*Debian ]
{ -popups )
/

[ host=joe ]
{ +popups )
/

[ client=Mozilla ]
{ +popups )
/

[ ]
{ -popups -ads )
/

Discussion

  • Fabian Keil

    Fabian Keil - 2007-04-30

    Logged In: YES
    user_id=875547
    Originator: NO

    Possible with tags now.

    To change the actions based on the client's
    IP address you'll need a tag with a dynamic
    pcrs job (option 'D') that contains the $origin
    variable.

     
  • Fabian Keil

    Fabian Keil - 2007-04-30
    • labels: --> Configuration
    • assigned_to: nobody --> fabiankeil
    • status: open --> closed-accepted
     

Log in to post a comment.