Results 1 to 3 of 3

Thread: Squid!

  1. #1
    Join Date
    Oct 2008
    Beans
    115

    Squid!

    Hi, I am very new to squid.

    I am trying to setup a content rewirte with squid proxy.

    For example, if a web page contained the phrase "Hello world" I would like squid to change it to "Threat detected".

    Is this possible?

    This is for a Uni project.

    Thanks Dan

  2. #2
    Join Date
    Nov 2006
    Location
    Belgium
    Beans
    3,023
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Squid!

    It's possible -
    I've tried it with apache as a proxy rather than squid when I was debugging a reverse proxy for some misbehaved web applications (and added to my list of interesting techniques for April Fool Projects)

    It involves configuring apache as a reverse proxy, and adding an external filter to the configuration to find and replace phrases/patters in the content that is delivered to the browsers. Apache has built-in support for that in at least two ways : with a built-in 'sed''module, and a filter filter module that can use any external command, eg sed)

    If you"re dead set on using squid, I guess it might have similar features, but I wouldn't know what or how.

  3. #3
    Join Date
    Oct 2008
    Beans
    115

    Re: Squid!

    I have got it all working now, In the end I ended up using DansGaurdian and Squid.

    Thanks for the info though

    Dan

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •