¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 160°Ç
   
ARP ÆÐŶ ÇÊÅ͸µ
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2010-06-01 (È­) 17:48 Á¶È¸ : 7102
±ÛÁÖ¼Ò :
                          

½Ã½ºÅÛ»ó¿¡¼­ ARP ÆÐŶ¿¡ ´ëÇÑ ÇÊÅ͸µ ¼³Á¤ÀÔ´Ï´Ù.
MAC Ư¼º»ó µ¿ÀÏ ½ºÀ§Ä¡¿¡¼­¸¸ ¹ß»ýµÇ´Â ÁÖ¼Ò¸¸ Â÷´ÜµË´Ï´Ù.

arptables v0.0.8

Usage: arptables -[AD] chain rule-specification [options]
       arptables -[RI] chain rulenum rule-specification [options]
       arptables -D chain rulenum [options]
       arptables -[LFZ] [chain] [options]
       arptables -[NX] chain
       arptables -E old-chain-name new-chain-name
       arptables -P chain target [options]
       arptables -h (print this help information)

Commands:
Either long or short options are allowed.
  --append  -A chain            Append to chain
  --delete  -D chain            Delete matching rule from chain
  --delete  -D chain rulenum
                                Delete rule rulenum (1 = first) from chain
  --insert  -I chain [rulenum]
                                Insert in chain as rulenum (default 1=first)
  --replace -R chain rulenum
                                Replace rule rulenum (1 = first) in chain
  --list    -L [chain]          List the rules in a chain or all chains
  --flush   -F [chain]          Delete all rules in  chain or all chains
  --zero    -Z [chain]          Zero counters in chain or all chains
  --new     -N chain            Create a new user-defined chain
  --delete-chain
            -X [chain]          Delete a user-defined chain
  --policy  -P chain target
                                Change policy on chain to target
  --rename-chain
            -E old-chain new-chain
                                Change chain name, (moving any references)
Options:
  --source      -s [!] address[/mask]
                                source specification
  --target     -d [!] address[/mask]
                                destination specification
  --arhln      -a [!] length[/mask]
                               hardware address length
  --source-hw  -z [!] address[/mask]
                               source hardware address
  --target-hw  -y [!] address[/mask]
                               target hardware address
  --arhln      -a [!] length[/mask]
                               Hardware address length
  --arpop      -p [!] operation[/mask]
                               ARP operation
  --arhrd      -h [!] hrd[/mask]
                               ARP hardware address
  --arpro      -w [!] plen[/mask]
                               ARP protocol address format
  --in-interface -i [!] input name[+]
                                network interface name ([+] for wildcard)
  --jump        -j target
                                target for rule (may load target extension)
  --numeric     -n              numeric output of addresses and ports
  --out-interface -o [!] output name[+]
                                network interface name ([+] for wildcard)
  --table       -t table        table to manipulate (default: `filter')
  --verbose     -v              verbose mode
  --line-numbers                print line numbers when listing
  --exact       -x              expand numbers (display exact values)
  --modprobe=<command>          try to insert modules using this command
  --set-counters PKTS BYTES     set the counter during insert/append
[!] --version   -V              print package version.

Standard v0.0.8 options:
(If target is DROP, ACCEPT, RETURN or nothing)

mangle target v0.0.8 options:
--mangle-ip-s IP address
--mangle-ip-d IP address
--mangle-hw-s hardware (MAC) address
--mangle-hw-d hardware (MAC) address
--mangle-target target (DROP, CONTINUE or ACCEPT -- default is ACCEPT)


EX) 

[root@mojily ~]# arptables -A IN -i eth1

[root@mojily ~]#  arptables -nL
Chain IN (policy ACCEPT)
target     source-ip            destination-ip       source-hw          destination-hw     hlen   op         hrd        pro
           0.0.0.0/0            0.0.0.0/0            00/00              00/00              any    0000/0000  0000/0000  0000/0000

Chain OUT (policy ACCEPT)
target     source-ip            destination-ip       source-hw          destination-hw     hlen   op         hrd        pro

Chain FORWARD (policy ACCEPT)
target     source-ip            destination-ip       source-hw          destination-hw     hlen   op         hrd        pro



 



 


À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.