Nmap Development mailing list archives
Re: Zenmap IP (host) sort not octet aware
From: David Fifield <david () bamsoftware com>
Date: Sun, 4 Apr 2010 08:07:32 -0600
On Fri, Apr 02, 2010 at 12:07:05PM -0500, Norris Carden wrote:
In Zenmap, when sorting the list of ports/hosts by the Host column, the sort of IPs without host names is not octet-aware... meaning it sorts like Excel, not like an IP address aware software. This is how it sorts: 10.1.1.1 10.1.1.10 10.1.1.2 10.1.1.20 10.1.1.3 10.1.1.30 It would be very helpful if this sort was made to be aware that it was sorting IP addresses in order to present in this fashion: 10.1.1.1 10.1.1.2 10.1.1.3 10.1.1.10 10.1.1.20 10.1.1.30
That's a good point. I can't even get it to sort as in the first example. (It's sorting by default these three addresses like this: 192.168.0.21 192.168.0.1 192.168.0.190 It looks to me like clicking on the Host column to sort is only sorting by operating system icon. (See how a little arrow appears in both column headers.) Sorting by address independently would be more useful. However there is a also the question of how to treat hostnames. We could have separate hostname and IP address columns, but that's going to look gappy in some cases and make an already cramped display even wider. What would be great would be to combine hostname and IP address in one column as is done now, and let different sort modes happen when clicking on the colun header. One click: sort by address; two clicks: sort by hostname; ideally with a textual indication of which is in effect in the header. I'm not sure that is easy or possible in GTK+; I'll have to check. Sorting hostnames should work starting from the last domain component, so you get bar.com firewall.bar.com www.bar.com foo.com aaa.foo.com sub.bar.org David Fifield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Zenmap IP (host) sort not octet aware Norris Carden (Apr 02)
- Re: Zenmap IP (host) sort not octet aware David Fifield (Apr 04)
- Re: Zenmap IP (host) sort not octet aware jah (Apr 04)
- RE: Zenmap IP (host) sort not octet aware Norris Carden (Apr 05)
- Re: Zenmap IP (host) sort not octet aware David Fifield (Apr 12)
- Re: Zenmap IP (host) sort not octet aware David Fifield (Apr 04)