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
Received on Sat Jul 12 2014 - 11:52:48 MDT
This archive was generated by hypermail 2.2.0 : Sat Jul 12 2014 - 12:00:05 MDT