{"id":131,"date":"2009-06-19T11:17:44","date_gmt":"2009-06-19T04:17:44","guid":{"rendered":"http:\/\/www.icez.net\/blog\/?p=131"},"modified":"2009-06-19T11:17:44","modified_gmt":"2009-06-19T04:17:44","slug":"%e0%b9%81%e0%b8%81%e0%b9%89%e0%b8%9b%e0%b8%b1%e0%b8%8d%e0%b8%ab%e0%b8%b2-ip-%e0%b9%83%e0%b8%99-log-apache-%e0%b9%84%e0%b8%a1%e0%b9%88%e0%b8%95%e0%b8%a3%e0%b8%87","status":"publish","type":"post","link":"https:\/\/www.icez.net\/blog\/131\/%e0%b9%81%e0%b8%81%e0%b9%89%e0%b8%9b%e0%b8%b1%e0%b8%8d%e0%b8%ab%e0%b8%b2-ip-%e0%b9%83%e0%b8%99-log-apache-%e0%b9%84%e0%b8%a1%e0%b9%88%e0%b8%95%e0%b8%a3%e0%b8%87","title":{"rendered":"0064 | \u0e41\u0e01\u0e49\u0e1b\u0e31\u0e0d\u0e2b\u0e32 IP \u0e43\u0e19 log apache \u0e44\u0e21\u0e48\u0e15\u0e23\u0e07"},"content":{"rendered":"<p>\u0e17\u0e35\u0e48\u0e21\u0e32: <a href=\"http:\/\/toey.tc20.net\/2009\/05\/25\/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%95%E0%B8%B4%E0%B8%94%E0%B8%95%E0%B8%B1%E0%B9%89%E0%B8%87-mod_rpaf-reverse-proxy-add-forward\/\" target=\"_blank\">\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 mod_rpaf &#8211; reverse proxy add forward<\/a><\/p>\n<p>\u0e23\u0e32\u0e22\u0e25\u0e30\u0e40\u0e2d\u0e35\u0e22\u0e14\u0e15\u0e32\u0e21\u0e44\u0e1b\u0e14\u0e39\u0e43\u0e19\u0e17\u0e35\u0e48\u0e21\u0e32\u0e25\u0e30\u0e01\u0e31\u0e19\u0e40\u0e19\u0e32\u0e30 \u0e02\u0e35\u0e49\u0e40\u0e01\u0e35\u0e22\u0e08\u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e0b\u0e49\u0e33<br \/>\n\u0e40\u0e2d\u0e32\u0e27\u0e34\u0e18\u0e35\u0e01\u0e4a\u0e2d\u0e1b\u0e27\u0e32\u0e07\u0e1a\u0e49\u0e32\u0e19\u0e46 \u0e02\u0e2d\u0e07\u0e40\u0e23\u0e32\u0e14\u0e35\u0e01\u0e27\u0e48\u0e32<\/p>\n<pre lang=\"bash\">wget http:\/\/stderr.net\/apache\/rpaf\/download\/mod_rpaf-0.6.tar.gz\r\ntar -xvzf mod_rpaf-0.6.tar.gz\r\ncd mod_rpaf-0.6\r\napxs -i -c -n mod_rpaf-2.0.so mod_rpaf-2.0.c<\/pre>\n<p>\u0e40\u0e1b\u0e34\u0e14\u0e44\u0e1f\u0e25\u0e4c config apache (\u0e41\u0e19\u0e30\u0e19\u0e33\u0e43\u0e2b\u0e49\u0e43\u0e2a\u0e48\u0e43\u0e19 \/etc\/httpd\/conf.d\/mod_rpaf.conf)<br \/>\n\u0e41\u0e01\u0e49\u0e15\u0e31\u0e27\u0e41\u0e14\u0e07\u0e46 \u0e43\u0e2b\u0e49\u0e15\u0e23\u0e07\u0e01\u0e31\u0e1a\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e04\u0e38\u0e13\u0e40\u0e2d\u0e07\u0e14\u0e49\u0e27\u0e22\u0e19\u0e30\u0e04\u0e23\u0e31\u0e1a<br \/>\n&#8211; \u0e2d\u0e31\u0e19\u0e1a\u0e19\u0e40\u0e2d\u0e32\u0e1a\u0e23\u0e23\u0e17\u0e31\u0e14\u0e2a\u0e38\u0e14\u0e17\u0e49\u0e32\u0e22\u0e08\u0e32\u0e01\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07 apxs \u0e21\u0e32<br \/>\n&#8211; \u0e2d\u0e31\u0e19\u0e25\u0e48\u0e32\u0e07\u0e40\u0e2d\u0e32\u0e40\u0e1b\u0e47\u0e19 ip \u0e02\u0e2d\u0e07\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07 squid<\/p>\n<div class=\"wp_syntax\">\n<div class=\"code\">\n<pre class=\"bash\" style=\"font-family: monospace;\">LoadModule rpaf_module <span style=\"color: red; font-weight: bold;\">\/usr\/lib64\/httpd\/modules\/mod_rpaf-2.0.so<\/span>\r\nRPAFenable On\r\nRPAFsethostname Off\r\nRPAFproxy_ips <span style=\"color: red; font-weight: bold;\">127.0.0.1<\/span>\r\nRPAFheader X-Forwarded-For<\/pre>\n<\/div>\n<\/div>\n<p>\u0e16\u0e49\u0e32\u0e43\u0e0a\u0e49\u0e15\u0e31\u0e27\u0e19\u0e35\u0e49 \u0e01\u0e47\u0e40\u0e2d\u0e32 ipfix.php \u0e2d\u0e2d\u0e01\u0e44\u0e1b\u0e44\u0e14\u0e49\u0e40\u0e25\u0e22\u0e04\u0e23\u0e31\u0e1a<\/p>\n<p><strong>\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e17\u0e35\u0e48\u0e40\u0e01\u0e35\u0e48\u0e22\u0e27\u0e02\u0e49\u0e2d\u0e07<\/strong><br \/>\n&#8211; <a href=\"http:\/\/www.icez.net\/blog\/59\/squid-26-as-reverse-transparent-proxy\">0052 | squid 2.6 as reverse transparent proxy<\/a><br \/>\n&#8211; <a href=\"http:\/\/www.icez.net\/blog\/60\/%e0%b8%82%e0%b8%ad%e0%b8%87%e0%b9%81%e0%b8%96%e0%b8%a1-reverse-proxy-ipfix-php\">0053 | \u0e02\u0e2d\u0e07\u0e41\u0e16\u0e21 reverse proxy ipfix.php<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0e17\u0e35\u0e48\u0e21\u0e32: \u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 mod_rpaf &#8211; reverse proxy add forward \u0e23\u0e32\u0e22\u0e25\u0e30\u0e40\u0e2d\u0e35\u0e22\u0e14\u0e15\u0e32\u0e21\u0e44\u0e1b\u0e14\u0e39\u0e43\u0e19\u0e17\u0e35\u0e48\u0e21\u0e32\u0e25\u0e30\u0e01\u0e31\u0e19\u0e40\u0e19\u0e32\u0e30 \u0e02\u0e35\u0e49\u0e40\u0e01\u0e35\u0e22\u0e08\u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e0b\u0e49\u0e33 \u0e40\u0e2d\u0e32\u0e27\u0e34\u0e18\u0e35\u0e01\u0e4a\u0e2d\u0e1b\u0e27\u0e32\u0e07\u0e1a\u0e49\u0e32\u0e19\u0e46 \u0e02\u0e2d\u0e07\u0e40\u0e23\u0e32\u0e14\u0e35\u0e01\u0e27\u0e48\u0e32 wget http:\/\/stderr.net\/apache\/rpaf\/download\/mod_rpaf-0.6.tar.gz tar -xvzf mod_rpaf-0.6.tar.gz cd mod_rpaf-0.6 apxs -i -c -n mod_rpaf-2.0.so mod_rpaf-2.0.c \u0e40\u0e1b\u0e34\u0e14\u0e44\u0e1f\u0e25\u0e4c config apache (\u0e41\u0e19\u0e30\u0e19\u0e33\u0e43\u0e2b\u0e49\u0e43\u0e2a\u0e48\u0e43\u0e19 \/etc\/httpd\/conf.d\/mod_rpaf.conf) \u0e41\u0e01\u0e49\u0e15\u0e31\u0e27\u0e41\u0e14\u0e07\u0e46 \u0e43\u0e2b\u0e49\u0e15\u0e23\u0e07\u0e01\u0e31\u0e1a\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e04\u0e38\u0e13\u0e40\u0e2d\u0e07\u0e14\u0e49\u0e27\u0e22\u0e19\u0e30\u0e04\u0e23\u0e31\u0e1a &#8211; \u0e2d\u0e31\u0e19\u0e1a\u0e19\u0e40\u0e2d\u0e32\u0e1a\u0e23\u0e23\u0e17\u0e31\u0e14\u0e2a\u0e38\u0e14\u0e17\u0e49\u0e32\u0e22\u0e08\u0e32\u0e01\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07 apxs \u0e21\u0e32 &#8211; \u0e2d\u0e31\u0e19\u0e25\u0e48\u0e32\u0e07\u0e40\u0e2d\u0e32\u0e40\u0e1b\u0e47\u0e19 ip \u0e02\u0e2d\u0e07\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07 squid LoadModule rpaf_module \/usr\/lib64\/httpd\/modules\/mod_rpaf-2.0.so RPAFenable On RPAFsethostname Off RPAFproxy_ips 127.0.0.1 RPAFheader X-Forwarded-For \u0e16\u0e49\u0e32\u0e43\u0e0a\u0e49\u0e15\u0e31\u0e27\u0e19\u0e35\u0e49 \u0e01\u0e47\u0e40\u0e2d\u0e32 ipfix.php [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[50,3],"tags":[88,5909,89],"class_list":["post-131","post","type-post","status-publish","format-standard","hentry","category-linux","category-webserver","tag-apache","tag-ip","tag-squid"],"_links":{"self":[{"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/posts\/131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/comments?post=131"}],"version-history":[{"count":0,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/posts\/131\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/media?parent=131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/categories?post=131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/tags?post=131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}