[LARTC] Detecting Request from a proxy server

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 05, 2002 at 11:40:53AM +0530, Deepak Singhal wrote:
> Hi All,
> 
> Can i somehow detect traffic which is coming from a proxy/masquerading
> server in my lan to my linux gateway server.

Up to a point. Proxy servers typically include an 'X-Forwarded-For' header.
With the right iptables tricky (the 'string match') woul would be able to
block such traffic.

Masqueraded traffic can *sometimes* be recognized by the port number, but
not always, and such numbers van be changed.

In my experience it almost never helps to try to enforce your policy
electronically. You may be better of telling people not to use proxy
servers. 

Regards,

bert

-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
http://www.tk                              the dot in .tk
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux