Nmap Development mailing list archives

nping --tcp sends syn no matter what --flags option i set.


From: "Young, David" <dayoung () akamai com>
Date: Thu, 30 May 2013 13:58:49 -0400

Greetings,

I've started using nping today and I've run into a problem with the flags option in tcp mode.  It appears that no 
matter what set of flags I define, a syn flag is always set.  Can you  tell me if I'm making a simple mistake in usage?
Have a look:

root~# nping --tcp -c 1 --flags NONE -p 10000 127.0.0.1

Starting Nping 0.6.25 ( http://nmap.org/nping ) at 2013-05-30 17:48 UTC
SENT (0.0087s) TCP 127.0.0.1:53316 > 127.0.0.1:10000 S ttl=64 id=16944 iplen=40  seq=218557095 win=1480
RCVD (0.0088s) TCP 127.0.0.1:10000 > 127.0.0.1:53316 RA ttl=64 id=0 iplen=40  seq=0 win=0
nping_event_handler(): READ-PCAP killed: Resource temporarily unavailable
Max rtt: 0.042ms | Min rtt: 0.042ms | Avg rtt: 0.042ms
Raw packets sent: 1 (40B) | Rcvd: 1 (40B) | Lost: 0 (0.00%)
Tx time: 0.00117s | Tx bytes/s: 34129.69 | Tx pkts/s: 853.24
Rx time: 1.00083s | Rx bytes/s: 39.97 | Rx pkts/s: 1.00
Nping done: 1 IP address pinged in 1.01 seconds


root:~# nping --tcp -c 1 --flags ACK -p 10000 127.0.0.1

Starting Nping 0.6.25 ( http://nmap.org/nping ) at 2013-05-30 17:48 UTC
SENT (0.0146s) TCP 127.0.0.1:57674 > 127.0.0.1:10000 SA ttl=64 id=42404 iplen=40  seq=1880534688 win=1480
RCVD (0.0147s) TCP 127.0.0.1:10000 > 127.0.0.1:57674 R ttl=64 id=0 iplen=40  seq=3614482165 win=0
nping_event_handler(): READ-PCAP killed: Resource temporarily unavailable
Max rtt: 0.038ms | Min rtt: 0.038ms | Avg rtt: 0.038ms
Raw packets sent: 1 (40B) | Rcvd: 1 (40B) | Lost: 0 (0.00%)
Tx time: 0.00117s | Tx bytes/s: 34129.69 | Tx pkts/s: 853.24
Rx time: 1.00084s | Rx bytes/s: 39.97 | Rx pkts/s: 1.00
Nping done: 1 IP address pinged in 1.02 seconds
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: