Re: [squid-users] squid opening strange port

From: Miguel Filho <miguel@dont-contact.us>
Date: Wed, 26 May 2004 10:00:40 -0300

Thanks for the help, but while I was searching around for this, I saw
some cache.log from
other people and squid was not acting like mine.

Like this:

Dec 11 09:48:20 *ns **squid*[23987]: Starting *Squid* Cache version
2.3.STABLE4 for i686-pc-linux-gnu...
Dec 11 09:48:20 *ns **squid*[23987]: Process ID 23987 Dec 11 09:48:20
*ns **squid*[23987]: With 1024 file descriptors available
Dec 11 09:48:20 *ns **squid*[23987]: DNS *Socket **created* on *FD* 5
Dec 11 09:48:20 *ns **squid*[23987]: Adding nameserver 194.102.146.253
from /etc/resolv.conf
Dec 11 09:48:20 *ns **squid*[23987]: Adding nameserver 193.226.99.17
from /etc/resolv.conf
Dec 11 09:48:20 *ns **squid*[23987]: Adding nameserver 193.226.99.18
from /etc/resolv.conf
Dec 11 09:48:22 *ns **squid*[23987]: Unlinkd pipe opened on *FD* 10

Miguel

Muthukumar wrote:

>>root@cdv02:/usr/src/squid-2.5.STABLE5# netstat -ap
>>
>>
>
>
>
>>tcp 0 0 192.168.0.1:3128 *:*
>>LISTEN 14966/(squid)
>>
>>
>
>
>
>>------> udp 0 0 *:4372
>>*:* 14966/(squid) <---------
>>
>>What the hell this port is open?
>>
>>
>
>When ever a Squid is started,it will create a process which listens on http_port to serve the http requests.It is as
>192.168.0.1:3128 in your setting.
>Squid will fork another process to resolve IP Address from domain names. You can identify that the process is started on 4372 port
>from the cache.log entries.
>
>
>
>
>>2004/05/25 17:31:09| DNS Socket created at 0.0.0.0, port 4372, FD 4
>>Why squid is binding this port? my squid.conf is 99% default, only changed:
>>
>>
>
>Domain names resolving process is created on 4372 port by the Squid process.
>Ref:// http://www.squid-cache.org/Doc/FAQ/FAQ-12.html#ss12.3
>
>Regards,
>Muthukumar.
>
>
>
>
>
>
>---
>=============== It is a "Virus Free Mail" ===============
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.690 / Virus Database: 451 - Release Date: 5/22/2004
>
>
>
>
>
Received on Wed May 26 2004 - 07:11:20 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Jun 01 2004 - 12:00:02 MDT