Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Nmap Development: [PATCH] --packet-trace direction setting

[PATCH] --packet-trace direction setting

From: Kris Katterjohn <katterjohn_at_gmail.com>
Date: Sat, 10 Nov 2007 22:49:46 -0600

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!

Thanks,
Kris Katterjohn

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

Received on Nov 10 2007
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos