B / Y / U / S
HOME À¥ È£½ºÆà µµ¸ÞÀÎ ¸Å´º¾ó °í°´Áö¿ø ¼³Á¤Á¤º¸ °èÁ¤½Åû 2024-12-28 Saturday 
À¥ È£½ºÆÃ
# °øÁö »çÇ×
# ÀÚÁÖ ¹¯´Â Áú¹®
# Áú¹®°ú ´äº¯
# °¡ÀÔ ¹®ÀÇ
Ä¿¹Â´ÏƼ
# ÀÚÀ¯°Ô½ÃÆÇ
# ¸®´ª½ºÆÁ
# ¾ÆÀÌÅ¥ Å×½ºÆ®
# ³»È¨ ¼Ò°³
# °Ö·¯¸®
# ÀÚ·á½Ç

  ¸®´ª½ºÆÁ  Go Unix Power Tools Online Book Go Bash Guide
Read No. 171 article 2002-10-11 22:39:17
NickName   Ç®ºñ´©
Subject   DDOS °ø°Ý IP Â÷´Ü ·ê
°ø°ÝÁö IP ÀÎ 211.40.4.6 À¸·ÎºÎÅÍÀÇ ¶ó¿ìÆÃÀ» Â÷´ÜÇÏ´Â ¼³Á¤  

# route add –host 211.40.4.6 reject 
# iptables –A INPUT –s 211.40.4.6 –j DROP 
½ÇÁ¦ Àû¿ëµÇ¾ú´ÂÁö È®ÀÎÇÏ´Â ¹æ¹ýÀº °¢°¢ route –n °ú iptables –L –n ÀÌ´Ù.


ƯÁ¤ Æ÷Æ®¸¸ Á¦¾î½Ã..(80¹ø Æ÷Æ® ºÀ¼â)

# iptables -A INPUT -p tcp --dport 80 -s 211.40.4.6 -j DROP

°£´ÜÇÑ ½ºÅ©¸³Æ® ^^;
-----------------------------------------------

#!/bin/bash
if [ $2 ]; then
        iptables -A INPUT tcp --dport $2 -s $1 -j DROP
elif [ $1 ]; then
        iptables -A INPUT -s $1 -j DROP
else
        echo "ipban [IP_ADD] [Port]"
fi
echo
iptables -L -n
----------------------------------------------------------------
Regist Addr [ 211.244.185.172 ] ¸ñ·Ïº¸±â À­±Û ¾Æ·§±Û
Á¤±ÔÇ¥Çö½Ä [ »ó¼¼ °Ë»ö ]
Page Loading [ 0.02 Sec ] SQL Time [ 0 Sec ]

Copyleft 1999-2024 by JSBoard Open Project
Theme Designed by IDOO And follow GPL2

°³ÀÎÁ¤º¸ Ãë±Þ¹æħ ÀÌ¿ë ¾à°ü »çÀÌÆ® ¸Ê ¾îµå¹Î °ü¸®