³×Æ®¿öÅ© Æ®·¡ÇÈ »ç¿ë·® ¼³Á¤À» ÄÁÆ®·Ñ ÇÒ¼ö ÀÖ´Â netfilter ¿É¼Ç
Ä¿³ÎÆ÷ÇÔ»çÇ×...CONFIG_NETFILTER_XT_MATCH_QUOTA: 'quota' match support
The configuration item CONFIG_NETFILTER_XT_MATCH_QUOTA:
- prompt: 'quota' match support
- type: tristate
- depends on:
CONFIG_NETFILTER_ADVANCED
- defined in net/netfilter/Kconfig
- found in Linux Kernels: from 2.6.18 release still available on 2.6.32 release
- module created:
xt_quota
, xt_quota
, xt_quota
iptables ¿É¼Ç
quota
Implements network quotas by decrementing a byte counter with each packet.
--quota bytes
The quota in bytes.
¸ðµâÈ®ÀÎ
modeprobe ipt_quota
¼³Á¤
³ª´Â ¹æȺ®´Ü¿¡ Àû¿ëÇϱâ À§ÇØ FORWARD üÀÎÀ¸·Î Àû¿ëÇÏ¿´´Ù...
# TCP DST 80¹øÆ÷Æ®·Î ÇâÇÏ´Â Æ®·¡ÇÈÀÌ 100¹ÙÀÌÆ®¸¦ ÃÊ°úÇÏ´Â ºÎºÐ¿¡ ´ëÇؼ Â÷´Ü
iptables -A FORWARD -p tcp --dport 80 -m quota --quota 1024 -j ACCEPT
iptables -A FORWARD -p tcp --dport 80 -j DROP
quota ÃÖ´ë ¼³Á¤°ªÀº.....Á¤È®È÷´Â ¸ð¸£°Ù°í..È®ÀÎÇغ»¹Ù...
³Ê¹« ³ôÀº°ªÀ» ¼³Á¤ÇÒ°æ¿ì ¾Æ·¡¿Í°°Àº ¿¡·¯¸Þ¼¼Áö...
[root@mojily~]# iptables-restore < ipt
iptables-restore v1.4.2: quota invalid: '19260000000000000000'
Error occurred at line: 6
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
Å×½ºÆ®Çغ»¹Ù... ¾Æ·¡Á¤µµ¼±¿¡¼ °É¸®´Âµí º¸¿©Áø´Ù..
18400 000 000 000 000 000 ~ 18450 000 000 000 000 000
18patabit ³»¿Ü...
[ÀÌ °Ô½Ã¹°Àº ÃÖ°í°ü¸®ÀÚ´Ô¿¡ ÀÇÇØ 2009-12-14 20:59:39 ¸®´ª½º¿¡¼ À̵¿ µÊ]