Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: [PATCH] --packet-trace direction setting
From: Diman Todorov <diman.todorov () univie ac at>
Date: Fri, 23 Nov 2007 16:57:35 +0100

On Nov 11, 2007, at 5:49 AM, Kris Katterjohn wrote:

Hey everyone!

I've attached a patch to set a desired direction for --packet-trace.

Many times I've wanted to do a --packet-trace and then needed to grep
out (-v) "RCVD" or "SENT", which can get annoying :)

--packet-trace=in will only print packets that are received

--packet-trace=out will only print packets that are sent

--packet-trace=both is just to give the default an option

Of course, it won't work for connect() (-sT) scans.

I would've preferred --packet-trace=sent for outbound packets, but
didn't want to use "recv" or "rcvd" for inbound packets as it'd be
confusing and "received" is too long.  But this is similar to
libpcap's pcap_setdirection() which uses PCAP_D_IN and PCAP_D_OUT so I
think it can work :)

Please let me know what you think!

in case there are no objections within a reasonable amount of time (1  
day) I will commit the patch and update the docs.

cheers,
Diman

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault