RE: What can I use to set up a transparent proxy?

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

 



Martijn,

I am mightily encouraged by your response. It sounds like what I want to
do is possible, but I am discouraged by my lack of success in
implementing it. I haven't been able set up proxy arp using the arp
command. Can you or someone else shed some light on what ever error it
is that I am making?

On the proxy arp machine I issue:

    arp -i eth0 -s 10.128.240.1 00:c0:4f:68:ab:e6 pub

and

    arp -i eth0 -Ds 10.128.240.2 eth0 pub

"arp -a" then reports:

    ? (10.128.1.1) at 00:06:53:02:F8:51 [ether] on eth0
    ? (10.128.240.1) at * PERM PUP on eth0
    ? (10.128.240.2) at * PERM PUP on eth0

The "*" instead of eth0's MAC address bothers me, but maybe that is
normal. I don't know.

On a separate machine I then

    ping 10.128.240.1

and

    ping 10.128.240.2

while sniffing the network. In the network trace I see the ARP requests
go out for the two different IP addresses, but not ARP responses come
back. I do not understand why there is no response. Does what I am doing
appear reasonable? Is there some kernel configuration option I must,
well, configure? Is there a /proc setting I need to tweak? What am I
missing?

Thanks,
Aaron Stavens

> -----Original Message-----
> From: Martijn Lievaart [mailto:m@xxxxxxx]
> Sent: Thursday, January 20, 2005 12:31 AM
> To: Aaron Stavens
> Cc: netfilter@xxxxxxxxxxxxxxxxxxx
> Subject: Re: What can I use to set up a transparent proxy?
> 
> Aaron Stavens said:
> > 2. The proxy server must respond to ARP requests for the VA with its
own
> > MAC address.
> 
> Add the arp to the arptable, possibly by adding the ip to the
interface,
> possibly manipulating the arp table directly (using the apr command).
> 




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux