PDA

View Full Version : [ubuntu] squid strange client connection


tr3s
July 1st, 2009, 04:13 AM
hi!

i'm running squid and implemented delay pools properly to 192.168.0.0 192.168.1.0 and 192.168.2.0 networks. i use sqstat to monitor live squid connections. all of the client connections are following the delay pool's bandwidth limit except for one connection which is registered as 127.0.0.1 and is not governed by delay pools because it's eating up all the bandwidth. i'm sure it is someone on the network and it is not the squid server downloading.

what could be happening? how can i inspect and fix this?

thanks much

tr3s
July 1st, 2009, 09:27 PM
i found out from the squid logs that the connection is an application/octet-stream type, probably something not really directly using squid.

the workaround i made is trap the ports 1024-65535 (well, these ports are the safest based on my research) and redirected to squid's port 3128. now the actual ip address of where the connection is coming from is now registering in sqstat (http://samm.kiev.ua/sqstat/).