IP 위조 차단

출처 블로그 > maxoverpro 블로그
원본 http://blog.naver.com/maxoverpro/140008222477

/etc/rc.d/rc3.d/S22nospoof에 위치시키고 방화벽 또는 라우터에 설치

/etc/rc.d/init.d/S22nospoof로 연결

#/bin/sh

#Turn on Source Address Verification on all interface

if [ -e /proc/sys/net/ipv4/conf/all/rp_filter ]; then

   echo -n "Enabling IP spoofing blocking..."

   for f in /proc/sys/net/ipv4/conf/*/rp_filter; do

       echo 1 > $f

   done

   echo "done"

else

   echo "ERROR : CANNOT SET UP IP SPOOF BLOCKING!"

   sleep 30

fi

Posted by 웅쓰

2006/09/08 15:57 2006/09/08 15:57
Response
79 Trackbacks , 11 Comments
RSS :
http://comefeel.com/tt/comefeel/rss/response/131

Trackback URL : http://comefeel.com/tt/comefeel/trackback/131

« Previous : 1 : ... 247 : 248 : 249 : 250 : 251 : 252 : 253 : 254 : 255 : ... 358 : Next »

블로그 이미지

웅자의 상상플러스

- 웅쓰

Archives

Authors

  1. 웅쓰

Recent Trackbacks

Calendar

«   2012/05   »
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Site Stats

Total hits:
317187
Today:
100
Yesterday:
199