Wireshark-bugs: [Wireshark-bugs] [Bug 7339] Add network name lookup capability
Date: Thu, 7 Jun 2012 07:25:36 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7339

--- Comment #2 from Chris Maynard <christopher.maynard@xxxxxxxxx> 2012-06-07 07:25:36 PDT ---
(In reply to comment #1)
> You mean something like networks[1]
> 
>   [1] http://www.kernel.org/doc/man-pages/online/pages/man5/networks.5.html

Yes, something like that, except the problem is that:
<quote>
       This file is read by the route(8) and netstat(8) utilities.  Only Class
A, B
       or C networks are supported, partitioned networks (i.e., network/26 or
       network/28) are not supported by this facility.
</quote>

... so I'm not sure if the networks file could be used since a netmask would be
required. 

In my 1st example, I used a /24 mask, but I'd also like any partitioned network
to work as well, e.g.:

10.1.1.0/25           Customer1
10.1.1.128/25         Customer2

... and the example of 10.1.1.142 below would then be displayed as follows:

10.1.1.142 (Customer2.14)

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.