Re: [squid-users] udp_incoming_address and udp_outgoing_address

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Mon, 30 Jun 2008 22:55:39 +0200

On mån, 2008-06-30 at 08:25 -0700, John Doe wrote:

> >From the doc:
> # If udp_outgoing_address is set to 255.255.255.255 (the default)
> # it will use the same socket as udp_incoming_address.

Yes.. which is another way of saying that in most situations where you
need Squid to use specific addresses you should only set the incoming..

> Outgoing using the same socket as incoming is fine with me, so I tried:
> udp_incoming_address 192.168.17.11
> udp_outgoing_address 255.255.255.255
> But my siblings won't talk.

And they are trying to contact on this address, and allowed by
icp_access & http_access?

> So I created eth aliases just for udp_outgoing_address, which works but is a bit overkill...
> By curiosity, I tried to put the same IP for incoming and outgoing and it seems to work fine...

Odd.. Which Squid version? Squid should not even start with ICP enabled
and incoming & outgoing set to the same address...

> I understand incoming has to listen on a specific port but why would outgoing use this and only this same specific port...?
> What am I getting wrong?

You are correct that outgoing ICP could in theory use a random port, but
most people like to see it using a fixed port for firewalling reasons so
Squid uses the same port number for both.

Regards
Henrik

Received on Mon Jun 30 2008 - 20:55:44 MDT

This archive was generated by hypermail 2.2.0 : Tue Jul 01 2008 - 12:00:05 MDT