Nmap Development mailing list archives
Re: Feature request: scanning an AS
From: John Bond <john.r.bond () gmail com>
Date: Sun, 12 Feb 2012 14:47:56 +0100
On 6 February 2012 09:21, David Fifield <david () bamsoftware com> wrote:
John, I've just committed this script. There are some funny whitespace issues (blank lines) in the output sometimes. Can you check it out?
It looks like there is occasionally an extra byte (0x0A (\n)) at the end of each prefix. in the output. the attached patch should resolve this. On 7 February 2012 23:17, Fyodor <fyodor () insecure org> wrote:
Thanks! Now that David has checked it into trunk, I tried it out a bit. I'm not sure why, but sometimes I get this error: $ ./nmap --script=asn-to-prefix --script-args asn-to-prefix.asn=32 Starting Nmap 5.61TEST4 ( http://nmap.org ) at 2012-02-07 14:14 PST Pre-scan script results: | asn-to-prefix: | 32 |_ Name or service not known
I have not been able to reproduce this. I dont think this error is coming from asn.shadowserver.org, or at least i have not managed to illicit one with nc. the only place i can see a reference to this error is in stdnse.connect(). in my script, if socket:send receives an error then its returned to the user. i would say this was just network errors regards john
Attachment:
asn-to-prefix.nse.patch
Description:
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Re: Feature request: scanning an AS David Fifield (Feb 06)
- Re: Feature request: scanning an AS John Bond (Feb 12)
- <Possible follow-ups>
- Re: Feature request: scanning an AS Fyodor (Feb 07)
- Re: Feature request: scanning an AS John Bond (Feb 08)
- Re: Feature request: scanning an AS Fyodor (Feb 08)
- Re: Feature request: scanning an AS John Bond (Feb 08)