Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Grant Taylor <gtaylor@riverviewtech.net>
To: Mail List - Netfilter <netfilter@vger.kernel.org>
Subject: Re: Blocking web-based proxy traffic
Date: Wed, 28 Nov 2007 13:20:41 -0600	[thread overview]
Message-ID: <474DBF89.8000609@riverviewtech.net> (raw)
In-Reply-To: <C372F9CA.21D9%jlay@slave-tothe-box.net>

(Please do not start a new thread by replying to an old one.)

On 11/28/07 11:56, James Lay wrote:
> A curious question I have been asked from a client...any way to block 
> web-based proxies with iptables?  Wondering what it would take.

Well, IPTables can filter packets based on source IP of the proxies if 
they are known.  You could also use some sort of layer 7 match looking 
for some sort of header indicating that a proxy was in use.  However 
this would be very easy to circumvent and very much a catch up game on 
the IP blocking.

If you are really serious about doing this I would suggest that you do 
something that functioned based on the number of connections from a 
given source IP with in a time frame knowing that it is likely that 
proxies will possibly have a higher hit count than single systems. 
However this will also catch NATing gateways for companies.  So you will 
have to deal with white listing too.



Grant. . . .

  reply	other threads:[~2007-11-28 19:20 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-28 16:09 Forwarding traffic from public IP to public IP Jason Hawthorne
2007-11-28 16:38 ` Grant Taylor
2007-11-28 17:45   ` Jason Hawthorne
2007-11-28 17:56     ` Blocking web-based proxy traffic James Lay
2007-11-28 19:20       ` Grant Taylor [this message]
2007-11-28 20:01         ` James Lay
2007-11-28 20:07           ` Grant Taylor
2007-11-28 20:16             ` James Lay
2007-11-28 20:35               ` Grant Taylor
2007-11-29 10:55                 ` Benny Amorsen
2007-11-29 14:24                   ` James Lay
2007-11-29 19:21                   ` Grant Taylor
2007-11-28 21:41           ` Tagg McDonald
2007-11-29  1:53             ` dhottinger
2007-11-28 19:17     ` Forwarding traffic from public IP to public IP Grant Taylor
2007-11-28 20:11       ` Jason Hawthorne
2007-11-28 20:42         ` Grant Taylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=474DBF89.8000609@riverviewtech.net \
    --to=gtaylor@riverviewtech.net \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox