Welcome! Log In Create A New Profile

Advanced

Re: proxy_bind

July 02, 2010 06:07PM
да поднят, я уже решил проблему. Она заключалась в моих iptables rules.
Но желаемой цели я не достиг, мне нужно для определенных сессий определять определенный ip, насколько я понял этим занимается модуль realip, я попробовал его на трассировке я вижу что мой ip из x-forwarded-for принимается, но на tcpdump нет никаких изменений.
но tcpdump все равно показывает src ip x.x.x.21
если я неправильно понял смысл это дириктивы то пожалуйста поправьте меня
Вот кусок конфига:
set_real_ip_from 0.0.0.0/0;
real_ip_header X-Forwarded-For;
ниже - лог:
2010/07/02 14:47:58 [debug] 15618#0: *44 realip: "x.x.x.24"
2010/07/02 14:47:58 [debug] 15618#0: *44 realip: 0208DE0A 00000000 00000000
2010/07/02 14:47:58 [debug] 15618#0: *44 add cleanup: 000000001E1DDF30
2010/07/02 14:47:58 [debug] 15618#0: *44 generic phase: 6
2010/07/02 14:47:58 [debug] 15618#0: *44 generic phase: 7
2010/07/02 14:47:58 [debug] 15618#0: *44 access phase: 8
2010/07/02 14:47:58 [debug] 15618#0: *44 access phase: 9
2010/07/02 14:47:58 [debug] 15618#0: *44 post access phase: 10
2010/07/02 14:47:58 [debug] 15618#0: *44 http script copy: "http://"
2010/07/02 14:47:58 [debug] 15618#0: *44 http script var: "multitran.ru"
2010/07/02 14:47:58 [debug] 15618#0: *44 http script var: "/c/m.exe?l1=1&l2=2&s=flaw"
2010/07/02 14:47:58 [debug] 15618#0: *44 posix_memalign: 000000001E1517A0:4096 @16
2010/07/02 14:47:58 [debug] 15618#0: *44 http init upstream, client timer: 0
2010/07/02 14:47:58 [debug] 15618#0: *44 epoll add event: fd:41 op:3 ev:80000005
2010/07/02 14:47:58 [debug] 15618#0: *44 http script copy: "Host: "
2010/07/02 14:47:58 [debug] 15618#0: *44 http script var: "multitran.ru"
2010/07/02 14:47:58 [debug] 15618#0: *44 http script copy: "
"
2010/07/02 14:47:58 [debug] 15618#0: *44 http script copy: "Connection: close
"
2010/07/02 14:47:58 [debug] 15618#0: *44 http proxy header: "User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US;
2010/07/02 14:47:58 [debug] 15618#0: *44 http proxy header: "Accept: text/html,application/xhtml+xml,application/x
2010/07/02 14:47:58 [debug] 15618#0: *44 http proxy header: "Accept-Language: en-us,en;q=0.5"
2010/07/02 14:47:58 [debug] 15618#0: *44 http proxy header: "Accept-Encoding: gzip,deflate"
2010/07/02 14:47:58 [debug] 15618#0: *44 http proxy header: "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7"
2010/07/02 14:47:58 [debug] 15618#0: *44 http proxy header: "Referer: http://multitran.ru/c/m.exe?CL=1&l1=1&s=stun
2010/07/02 14:47:58 [debug] 15618#0: *44 http proxy header: "Cookie: langs=1 2; __utma=104397980.972621978.1277922
2010/07/02 14:47:58 [debug] 15618#0: *44 http proxy header: "X-Forwarded-For: x.x.x.24"
2010/07/02 14:47:58 [debug] 15618#0: *44 http proxy header: "Cache-Control: max-age=0"
Subject Author Posted

proxy_bind

theromis1 July 01, 2010 03:53PM

Re: proxy_bind

Alex Vorona July 02, 2010 02:14AM

Re: proxy_bind

theromis1 July 02, 2010 06:07PM

Re: proxy_bind

Daniel Podolsky July 04, 2010 07:36PM

Re: proxy_bind

theromis1 July 06, 2010 06:17PM

Re: proxy_bind

Daniel Podolsky July 07, 2010 01:56AM

Re: proxy_bind

theromis1 July 07, 2010 01:46PM

Re: proxy_bind

theromis1 July 07, 2010 02:21PM

Re: proxy_bind

Daniel Podolsky July 07, 2010 01:54PM

Re: proxy_bind

Daniel Podolsky July 07, 2010 02:38PM

Re: proxy_bind

Sergey Shepelev July 07, 2010 02:48PM

Re: proxy_bind

theromis1 July 07, 2010 02:57PM

Re: proxy_bind

Igor Sysoev July 07, 2010 03:44PM

Re: proxy_bind

theromis1 July 07, 2010 05:24PM

Re: proxy_bind

Boris Dolgov July 07, 2010 05:28PM

Re: proxy_bind

SaveFrom.net July 07, 2010 06:04PM

Re: proxy_bind

theromis1 July 07, 2010 06:18PM

Re: proxy_bind

theromis1 July 07, 2010 08:41PM

Re: proxy_bind

Boris Dolgov July 07, 2010 06:22PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 102
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready