Search squid archive

Re: how can i get the localport in forward proxy mode?

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

 



On 12/07/2014 10:43 p.m., freefall12 wrote:
> i use iptables to redirect a range of ports to the squid listening port, and
> i want to get the port in the TCP packet in access log instead of the
> listing port. Sadly, The localport seems only available when using intercept
> or transparent mode, otherwise it's the same as the listening port. Thank
> you!
> 

What are your iptables rules?

If you alter the packets in any way with iptables before they reach
Squid that is "interception" the the altered details immediately become
unreliable.

Also note,
* Squid is perfectly capable of listening on up to 63 different ports
without trouble. With patching that can be increased.

* Mapping many ports down to one or few ports reduces the TCP connection
receiving capacity of all the ports down to the capacity of the one (or
few) actual listening ports.

Amos





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux