[zorp-hu] HTTP POST response_stack modositas request_stack analizalas utan, AnyPy proxy-val

Viktor Tuska v.tuska at con.hu
2009. Jún. 25., Cs, 13:39:24 CEST


Udv,

lehetseges valahogyan HTTP POST metodus-nal response_stack AnyPy tipusu 
proxy-nak adatokat atadni a request_stack analizalasa utan?

Mas szoval: a POST-ban erkezo kerestol fuggoen kellene valaszt 
generalnom a kliensnek.
A POST-ban erkezo adat elore nem meghatarozhato, barmi lehet.

A gondom (ha jol latom,) hogy a request_stack altal a self.session-t 
irva, a response_stack mar nem "latja" a self.session-on elvegzett 
modositasokat.

https://lists.balabit.hu/pipermail/zorp/2008-July/000453.html
Itt taltam erre vonatkozo tippet:

"

...
Now as I think of it, there's another possibility, which is somewhat simpler. 
The HTTP proxy is capable of reading the entire POST data before connecting to the 
server at all and storing it in a blob (more about blobs later). In this case the 
entire request together with the POST payload is fetched into memory, and 
after filtering it is sent to the server.

This code path is activated if you set "self.rerequest_attempts" to something greater 
than zero. So if you set rerequest_attempts, your stacked proxy will start earlier 
than the server side connection is established.
...

"

Probalgattam ezt a sefl.rerequest_attempts=1-re allitani, de nem sok 
sikert ertem el vele.
Ilyenkor mar bele sem fut a feldolgozas az altalam beallitott 
response_stack proxy-ba.

Zorp version:
Zorp 3.3.4
Revision: 
ssh+git://sasa@git.balabit//var/scm/git/zorp/zorp-core--mainline--3.3#master#881e162e4536a0ca69645482a9c4176b833238c7
Compile-Date: Jun  4 2009 14:17:43
Config-Date: 2009/06/04
Trace: off
Debug: off
IPOptions: off
IPFilter-Tproxy: off
Netfilter-Tproxy: on
Linux22-Tproxy: off

libzorpll 3.3.0.9
Revision: devel at balabit.hu--zorp-1/zorp-lib--mainline--3.3--patch-70
Compile-Date: May 27 2009 10:43:44
Trace: off
MemTrace: off
Caps: on
Debug: off
StackDump: off

libzmisc 3.3.0.4
Revision: 
ssh+git://sasa@git.balabit//var/scm/git/zorp/libzmisc--mainline--3.3#master#5198413a1eb47ea3a292322c27a63b1a4d6dd3c8
Compile-Date: May 27 2009 10:45:14
Trace: on
Debug: on

Koszontem,
Viktor




További információk a(z) zorp-hu levelezőlistáról