Hi, 2005-06-01, sze keltezéssel 15.08-kor Jan Engelhardt ezt írta:
could the tproxy developers provide a patch against 2.6.11 or .12? The 2.6.10/patch_tree/01-nat_reservations.diff does not apply very well on .11 because of changes in the expect* functions, and I got almost no clue how to fix it (_and_ have it work afterwards ;)
01-nat_reservations.diff is a bit problematic, since the expectation and NAT infrastructure in 2.6.11 has been substantially simplified. If you don't want to use NAT reservations (TProxy can work without them in most cases), then I could prepare a 2.6.1{1,2} version really fast. Porting the NAT reservation part of the patchset definitely needs more work...
Well, I did not intend to use reservations at all, but TProxy uses some of it, e.g. __..._new_hash(). Would be great if you could prepare it. 2.6.11 to 2.6.12-rc5 seem to be the same wrt.* netfilter, mostly.
NAT reservations are completely optional for TProxy - although applying the tproxy patch itself probably won't go with the current patch. But since you can safely disable NAT reservation support in your kernel config and still have tproxy enabled, it's certainly possible to create a tproxy patch which does not depend on NAT reservations at all. At the moment I don't have the time necessary to update NAT reservations for 2.6.11 (sorry, not my decision), but as I've already mentioned if you only need tproxy then it could even work without NAT reservation support. -- Regards, Krisztian Kovacs