Use HTTP header X-Forwarded-For as IP for blocking if available (for
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 13 Apr 2006 00:02:23 +0000 (00:02 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 13 Apr 2006 00:02:23 +0000 (00:02 +0000)
commit8acbd42b3c2cc8fec0c3e1da777415cd6ba66820
tree2c0dc5c15a2e892c690d557cba95974a15ca0fbd
parent41e1069c089436d4ccae81dae22b574517add3d4
Use HTTP header X-Forwarded-For as IP for blocking if available (for
the case it's behind a proxy). Failing that use the peer IP given by
TCP/IP.
The operation sequence number is now incremented for each operation
(GET,POST,SEARCH etc). By mistake that was disabled.
Log each HTTP request in a brief format (method followed by path).
include/yazproxy/proxy.h
src/yaz-proxy.cpp