++++++++++++++++++++++++++++++++++ | NPING COMMAND LINE INTERFACE | ++++++++++++++++++++++++++++++++++ This document presents Nping's command line interface. All option flags are now definitive. Howerever, comments and suggestions are still welcome. Nping 0.01a ( http://nmap.org/nping ) Usage: nping [Probe mode] [Options] {target specification} TARGET SPECIFICATION: Targets may be specified as hostnames, IP addresses, networks, etc. Ex: scanme.nmap.org, microsoft.com/24, 192.168.0.1; 10.0.0-255.1-254 -iL : Read targets from list of hosts or networks PROBE MODES: --tcp-connect : Unprivileged TCP connect probe mode. --tcp : TCP probe mode. --upd : UPD probe mode. --icmp : ICMP probe mode. --arp : ARP Request probe mode. --rarp : RARP Request probe mode. --arp-response : ARP Response probe mode. --rarp-response : RARP Response probe mode. -tr, --traceroute : Traceroute mode (can be used together with TCP/UDP/ICMP pings, but not with ARP ping) TCP PROBE MODE: -g, --source-port : Set source port. -p, --dest-port : Set destination port. --seq : Set sequence number. --flags : Set TCP flags. --ack : Set ACK number. --win : Set window size. --badsum : Use a random invalid checksum. --mss : Set maximum segment size. --ws : Set window scale. --ts : Set timestamp (echo and reply fields). UDP PROBE MODE: -g, --source-port : Set source port. -p, --dest-port : Set destination port. --badsum : Use a random invalid checksum. ICMP PROBE MODE: -I3, --dest-unr : Send "destination unreacheable" messages. -I8, --echo-req : Send "echo request" messages. -I13, --ts-req : Send "timestamp request" messages. -I15, --info-req : Send "Information request" messages. -I17, --netmask-req : Send "Netmask request" messages. --icmp-code : ICMP code. --icmp-id : Sets field "Identifier" in echo messages (16bits). --icmp-seq : Sets field "Sequence number" in echo messages (16 bits). ARP/RARP PROBE MODE: --arp-sender-mac : Set sender MAC address. --arp-sender-ip : Set sender IP address. --arp-target-mac : Set target MAC address. --arp-target-ip : Set target IP address. ETHERNET OPTIONS: --dest-mac : Set destination mac address. This disables ARP resolution. --source-mac : Set source MAC address. IP OPTIONS: -S, --source-ip : Set source IP address. --dest-ip : Set destination IP address (used as an alternative to {target specification} ). --tos : Set type of service field (8bits). --id : Set identification field (16 bits). --df : Set Don't Fragment flag. --mf : Set More Fragments flag. --ttl : Set time to live [0-256]. --badsum-ip : Use a random invalid checksum. --ip-options S|R [route]|L [route]|T|U ... : Set IP options --ip-options hex string : Set IP options --mtu : Set MTU. Packets get fragmented if MTU is small enough. -f : Fragment packets. PAYLOAD OPTIONS: --data : Include TCP/UPD/ICMP payload (if it makes sense). --data-file : Get payload from specified file. --data-length : Include len random bytes as payload. ECHO CLIENT/SERVER: -K, --ekey : Key to be used for encryption/decryption. -P, --passphrase : Passphrase to derive an encryption key from. CLIENT-ONLY OPTIONS: --client : Run Nping in client mode. --interpret : Interpret received echoes. SERVER-ONLY OPTIONS: --server : Run Nping in server mode. --echo-link : Return back: link+net+transport+payload --echo-net : Return back: net+transport+payload --echo-trans : Return back: transport+payload --echo-data : Just return payload. TIMING AND PERFORMANCE: Options which take