<![CDATA[Messages posted by "trjeunguyen"]]> /hvaonline/posts/listByUser/274847.html JForum - http://www.jforum.net Cài webserver trên centos 5 bị lỗi

kakarottbatdong wrote:

trjeunguyen wrote:
Anh ơi cho em hỏi thêm là nếu em không tắt cái iptables đó thì có cách nào em dùng máy khác truy cập vào máy chủ web được không anh. 
Không phải là tắt, nếu không rành thì Del hết rule trên đó, cho CHAIN INPUT và OUTPUT ==> ACCEPT Nếu iptables DROP port 80 thì truy cập máy chủ web port 80 bằng niềm tin à. 
Cám ơn anh, mai em báo cáo rồi mà bây giờ không viết được cái rule, chắc die quá]]>
/hvaonline/posts/preList/45588/280449.html#280449 /hvaonline/posts/preList/45588/280449.html#280449 GMT
Viết rule modsecurity Code:
SecAction initcol:ip=%{REMOTE_ADDR},nolog
SecRule REQUEST_LINE "^GET (?:/|.+\.html|.+\.php|.+\.cgi|.+\.pl) HTTP" \"nolog,setvar:ip.ddos=+1,deprecatevar:ip.ddos=100/10"
SecRule IP:DDOS "@gt 50" "log,exec:/var/www/modsec2ipt.pl"
SecRule IP:DDOS "@gt 25" "nolog,drop"
Lỗi không hiểu hành động nolog: SecRule REQUEST_LINE "^GET (?:/|.+\.html|.+\.php|.+\.cgi|.+\.pl) HTTP" \"nolog,setvar:ip.ddos=+1,deprecatevar:ip.ddos=100/10" Nhờ mấy anh xem giúp em với do em sắp phải báo cáo rồi, cám ơn nhiều ạ !]]>
/hvaonline/posts/preList/45592/280423.html#280423 /hvaonline/posts/preList/45592/280423.html#280423 GMT
Viết rule modsecurity /hvaonline/posts/preList/45592/280418.html#280418 /hvaonline/posts/preList/45592/280418.html#280418 GMT Cài webserver trên centos 5 bị lỗi /hvaonline/posts/preList/45588/280416.html#280416 /hvaonline/posts/preList/45588/280416.html#280416 GMT Cài webserver trên centos 5 bị lỗi

whisky9x wrote:
Bạn đã thử tắt iptables trên webserver đi chưa? 
Em làm được rồi, cám ơn anh nhiều, hi !]]>
/hvaonline/posts/preList/45588/280382.html#280382 /hvaonline/posts/preList/45588/280382.html#280382 GMT
Cài webserver trên centos 5 bị lỗi /hvaonline/posts/preList/45588/280380.html#280380 /hvaonline/posts/preList/45588/280380.html#280380 GMT Cài webserver trên centos 5 bị lỗi /hvaonline/posts/preList/45588/280379.html#280379 /hvaonline/posts/preList/45588/280379.html#280379 GMT Cài webserver trên centos 5 bị lỗi /hvaonline/posts/preList/45588/280378.html#280378 /hvaonline/posts/preList/45588/280378.html#280378 GMT Cài webserver trên centos 5 bị lỗi /hvaonline/posts/preList/45588/280376.html#280376 /hvaonline/posts/preList/45588/280376.html#280376 GMT Giám sát an ninh mạng - Bàn về giải pháp chống DDoS /hvaonline/posts/preList/32553/275116.html#275116 /hvaonline/posts/preList/32553/275116.html#275116 GMT