issues with proxy to same ip address but different port

2005-04-15 Thread Tariq Rashid

is there an issue with freeradius proxying to a home radius server which is
in fact on the same IP address that the proxy is listening on, but on a
different port.

that is the proxy and backend servers are on the same hardware listening on
the same interface.

the proxy (using a realm in proxy.conf, specifying ip and ports) works fine
if the target is elsewhere but no traffic appears when the target is the
same ip as it is listening on.

tcpdump shows no traffic on the interface, nor the loopback lo0.

this is running on freebsd 4.10. perhaps its an OS issue? i say this because
when i use a test client to query the listening target directly, the traffic
actually is sent over lo0, despite being specified as the address of the
interface.

google of archives didn't help.

tariq

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: issues with proxy to same ip address but different port

2005-04-15 Thread Alan DeKok
Tariq Rashid [EMAIL PROTECTED] wrote:
 is there an issue with freeradius proxying to a home radius server which is
 in fact on the same IP address that the proxy is listening on, but on a
 different port.

  I do it all of the time.  It's one of my testing scenarios.

 tcpdump shows no traffic on the interface, nor the loopback lo0.

  That's because the traffic probably doesn't go out the interface.
It's short-circuited inside of the kernel.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html