Wireshark-dev: Re: [Wireshark-dev] User defined name resolution

From: "Douglas Pratley" <Douglas.pratley@xxxxxxxxxx>
Date: Tue, 13 Mar 2007 09:28:45 -0000
I worked on something in this area earlier this year (extending current
functionality to allow named subnets / partial matching - the patch has
not yet been committed.

If you turn on asynchronous name resolution (I think the dialogs may
call it concurrent) much of the speed issue with loading goes away.

But it might be useful to extend the current name resolution setting so
that it offers a "use hosts file but not live resolution" option. It
would be better to do that than to add a completely new feature.
Internally that might mean replacing the current boolean value with an
enum and carefully adjusting the code, but it shouldn't be too hard. I'm
not sure what the implications are of changing the type of a preference
value though - it might cause issues with "old" preference files.

Cheers

Doug

-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Lars Ruoff
Sent: 12 March 2007 17:17
To: Wireshark-dev
Subject: [Wireshark-dev] User defined name resolution

Hi list,

i would like to implement something resembling the wishlist item "Name
resolution":
A simple way to associate IP addresses with names, so that the names
show up in the packet list instead of IP addresses.
I know about the workaraound that is described on the Wiki
(http://wiki.wireshark.org/Preferences/NameResolution),
i.e. to use a host file and enable name resolution.
But enabling name resolution is not always feasible, for example when a
big capture file comes from a customer site. Then name resolution slows
down the loading process considerably. And you just don't need it. You
won't be able to resolve the names anyway. All you want is have a
mapping of (sometimes dozens of) IP addresses to more easily memorable
names.
I just want to have a *simple* means of associating a capture file with
a hosts file, loading it dynamically, at runtime.
Is this being worked on by someone already?

And if no, any suggestions on this?
I plan to have a menu item Files/Load Hosts File that would load the
file and dynamically apply the name resolution.
I would call it "User name resolution" or similar and make it
independend of network name resolution (overriding the latter if both
are enabled).
Possibly the last loaded file should be stored and loaded by default at
startup.

any other ideas?

regards,
Lars Ruoff
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-dev



This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy it immediately.
Statements of intent shall only become binding when confirmed in hard copy by an authorised signatory.  The contents of this email may relate to dealings with other companies within the Detica Group plc group of companies.

Detica Limited is registered in England under No: 1337451.

Registered offices: Surrey Research Park, Guildford, Surrey, GU2 7YP, England.