]> git.ipfire.org Git - thirdparty/squid.git/commit - src/cf.data.pre
Added clientside_mark ACL for checking CONNMARK (#111)
authorAndrey <rybakovandrey85@gmail.com>
Tue, 16 Jan 2018 23:28:59 +0000 (02:28 +0300)
committerAlex Rousskov <rousskov@measurement-factory.com>
Tue, 16 Jan 2018 23:28:59 +0000 (16:28 -0700)
commit653d992747bfda4f6eb757354c1cc674492a21de
tree08af334aa7f2872da8f4281ee4f230824f15fe99
parent43b6575c9823248357a1eca8a55db76fd6c848ca
Added clientside_mark ACL for checking CONNMARK (#111)

Matches CONNMARK of accepted connections. Takes into account
clientside_mark and qos_flows mark changes (because Squid-set marks are
cached by Squid in conn->nfmark). Ignores 3rd-party marks set after
Squid has accepted the connection from a client (because Squid never
re-queries the connection to update/sync conn->nfmark).

Also added a debugs()-friendly API to print hex values.
src/AclRegs.cc
src/Debug.h
src/FwdState.cc
src/acl/ConnMark.cc [new file with mode: 0644]
src/acl/ConnMark.h [new file with mode: 0644]
src/acl/Makefile.am
src/cf.data.pre
src/comm/TcpAcceptor.cc
src/ip/QosConfig.cc
src/ip/QosConfig.h
src/tools.cc