Skip to contentSkip to conversation

tproxy in pom format

DISCUSSION Balazs Scheidler 1 participant 1 message May 26, 2003 netfilter

lore
Share & tools
lore
#0 lore raw

hi,

I've released our current version of the transparent proxy patches in patch-o-matic format. The patch generally works well, the previous version (#13) has been used in production for months, the latest version (#14) fixes some conntrack collision problems and has been working for somewhat more than a day.

Please include it in patch-o-matic/extra.

Parts of the patch are general changes useful for things other than tproxy. Shall I submit those individually?

These other changes are:

netfilter specific:
-------------------
* an ICMP translation problem fix (already applied)
* nf_sock_release call, which makes it possible to do netfilter specific processing when a socket is closed (e.g. remove state associated to sockets)
* publish the functions manip_pkt (renamed to ip_nat_manip_pkt) and ip_nat_update_hashes (new function which updates the NAT hashes)
* new argument to ip_nat_setup_info() named flags, which makes it possible to bypass NAT helpers completely
* new field in ip_conntrack (placed in a way that struct ip_conntrack does not grow) named 'flags', which is currently used to "mark" connections as one initiated by a transparent proxy (IP_CTF_TPROXY)

core networking stuff:
----------------------
* IP_RECVORIGADDRS socket option, which patches the core network stack to support atomic destination address retrieval for UDP packets (IP_ORIGADDRS auxilary message)

Signature · 2 lines
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1