Networking Forums

Networking Forums > Computer Networking > Linux Networking > trasparent proxy.

Reply
Thread Tools Display Modes

trasparent proxy.

 
 
AM
Guest
Posts: n/a

 
      01-10-2007, 10:46 PM
Hi folks,

I'm setting up a proxy and redirecting all the HTTP traffic, but that coming from the proxy, that
enters the LAN interface of my Cisco router to the proxy.
Do I need to put the eth0 of my linux proxy (say 192.168.2.56) in promiscous mode so that it reads
also the packets directed to IP addresses different from 192.168.2.56, i.e. all the Internet addresses?

Is there any other things I need?

Some articles on Internet say that building up a transparent proxy is so easy but I can't have my
linux proxy working properly?

Thanks in advance,

Alex.
 
Reply With Quote
 
 
 
 
Davide Bianchi
Guest
Posts: n/a

 
      01-11-2007, 08:28 AM
On 2007-01-10, AM <(E-Mail Removed)> wrote:
> Do I need to put the eth0 of my linux proxy (say 192.168.2.56) in
> promiscous mode so that it reads


No.

> Is there any other things I need?


It would be nice if you could trim your line length to around 75
characters... it makes the text much more readable.

And yes, add a NAT rule to redirect the connection from your
gateway to the proxy.

Davide

--
Microsoft does have a Y2K problem... it's called Linux!
 
Reply With Quote
 
AM
Guest
Posts: n/a

 
      01-11-2007, 02:01 PM
Davide Bianchi wrote:
> On 2007-01-10, AM <(E-Mail Removed)> wrote:
>
>>Do I need to put the eth0 of my linux proxy (say 192.168.2.56) in
>>promiscous mode so that it reads

>
>
> No.
>
>
>>Is there any other things I need?

>
>
> It would be nice if you could trim your line length to around 75
> characters... it makes the text much more readable.


I'm sorry Davide,
I'll bear in mind next time.

>
> And yes, add a NAT rule to redirect the connection from your
> gateway to the proxy.


That's the problem. The NAT action on a Cisco it's particularly tricky
in such case.
Maybe I can apply the NAT rule on the Linux box.Is it possible. I would
like to know what happen to packets with dest address different from the
IP address of the proxy. Are they processed anyway by the interface and
then discarded by the proxy?

Moreover, where could I find information about the way a client wraps up
the HTTP requests. I realize this not a network topic but if you knew it
I would appreciate it.

AND...If you are Italian, may you tell me where we can speak about the
same topic in Italian? :-)

Alex
 
Reply With Quote
 
Davide Bianchi
Guest
Posts: n/a

 
      01-11-2007, 03:18 PM
On 2007-01-11, AM <(E-Mail Removed)> wrote:
> Maybe I can apply the NAT rule on the Linux box.


You need to apply the rule on the gateway, where the packets have to pass
throught before going to the public internet. If you setup your linux
box as the gateway, then you can intercept the packets in there.

> like to know what happen to packets with dest address different from the
> IP address of the proxy.


They will be sent to the detination machine if there is a route for
that machine in the routing table, otherwise they will be sent to the
gateway.

> Moreover, where could I find information about the way a client wraps up
> the HTTP requests.


In the specification for the HTTP protocol.

> AND...If you are Italian, may you tell me where we can speak about the
> same topic in Italian? :-)


it.comp.os.linux.sys sounds appropriate. Or another it.comp.os.linux
group.

D.

--
Usenet should require licenses; licenses that can be revoked.
-- Abigail on alt.sysadmin.recovery
 
Reply With Quote
 
AM
Guest
Posts: n/a

 
      01-11-2007, 08:27 PM
Davide Bianchi wrote:
>
>
> it.comp.os.linux.sys sounds appropriate.


OK see you there!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
*New Proxy -- QUICK LOADING Proxy* SurfHide.us Wireless Internet 0 09-26-2008 05:50 AM
What evices to use for Trasparent bridging ? cieplik206@gmail.com Wireless Internet 2 03-09-2007 05:54 PM
Using an outside proxy server form behind a proxy server UnaCoder Linux Networking 6 02-22-2006 07:53 PM
Proxy configuration - tool for identifying what proxy is being use =?Utf-8?B?Q2hyaXMgQg==?= Windows Networking 0 03-21-2005 08:31 PM
web proxy Joseph Frazer Windows Networking 0 07-11-2003 10:46 PM



1 2 3 4 5 6 7 8 9 10 11