You are not logged in.

#1 2015-01-25 10:02:37

enihcam
Member
From: Internet
Registered: 2009-12-20
Posts: 220

In Iptables, how to identify the traffic from squid?

In Iptables, how to identify the data to ppp0 are from a specific app (eg. squid) which is also installed on the same machine?

Offline

#2 2015-01-25 11:11:24

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: In Iptables, how to identify the traffic from squid?

An easy way is to have iptables match on gid.

Otherwise, check out connmark.

Offline

#3 2015-01-27 05:41:11

enihcam
Member
From: Internet
Registered: 2009-12-20
Posts: 220

Re: In Iptables, how to identify the traffic from squid?

brebs wrote:

An easy way is to have iptables match on gid.

Otherwise, check out connmark.

Thanks.

Offline

Board footer

Powered by FluxBB