ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 9124] New: Switching between profiles fails to use correct

Date: Mon, 09 Sep 2013 18:20:07 +0000
Bug ID 9124
Summary Switching between profiles fails to use correct preferences
Classification Unclassified
Product Wireshark
Version 1.10.0
Hardware x86
OS Windows 7
Status UNCONFIRMED
Severity Minor
Priority Low
Component Wireshark
Assignee [email protected]
Reporter [email protected]

Build Information:
Version 1.10.1 (SVN Rev 50926 from /trunk-1.10)

Copyright 1998-2013 Gerald Combs <[email protected]> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with GTK+ 2.24.14, with Cairo 1.10.2, with Pango 1.30.1, with
GLib 2.34.1, with WinPcap (4_1_3), with libz 1.2.5, without POSIX capabilities,
without libnl, with SMI 0.4.8, with c-ares 1.9.1, with Lua 5.1, without Python,
with GnuTLS 2.12.18, with Gcrypt 1.4.6, without Kerberos, with GeoIP, with
PortAudio V19-devel (built Jul 26 2013), with AirPcap.

Running on 64-bit Windows 7 Service Pack 1, build 7601, with WinPcap version
4.1.3 (packet.dll version 4.1.0.2980), based on libpcap version 1.0 branch
1_0_rel0b (20091008), GnuTLS 2.12.18, Gcrypt 1.4.6, without AirPcap.
       Intel(R) Core(TM) i5-2540M CPU @ 2.60GHz, with 4006MB of physical
memory.


Built using Microsoft Visual C++ 10.0 build 40219
--
Perhaps a bug; perhaps a case of user error.

General issue description:  My goal is to create several L7 profiles with
additional Packet List Columns specific to each protocol.  When I create the
new profile & use "Edit" -> "Edit Preferences" -> "Columns" to create
additional columns for that *specific* profile; I find that he column changes
(i.e. the preferences) are incorrectly loaded by the Default profile.

I think I was able to resolve this issue by removing the refereneces to the
custom columns in the C:\Users\me\AppData\Roaming\Wireshark\recent file.

For example:

I created a HTTP profile with the following additional column titles, by using
the Edit toolbar:  "Edit" -> "Edit Preferences" -> "Columns"

Here is a snippet of the new columns from the local HTTP profile preferences
file...  C:\Users\me\AppData\Roaming\Wireshark\profiles\HTTP\preferences>

# Packet list column format
# Each pair of strings consists of a column title and its format
gui.column.format: 
    "No.", "%m",
    "Time", "%t",
    "Source", "%s",
    "Destination", "%d",
    "Protocol", "%p",
    "http.user_agent", "%Cus:http.user_agent:0:R",
    "http.request.method", "%Cus:http.request.method:0:R",
    "http.host", "%Cus:http.host:0:R",
    "http.response.code", "%Cus:http.response.code:0:R",
    "http.request.uri", "%Cus:http.request.uri:0:R",
    "http.x_forwarded_for", "%Cus:http.x_forwarded_for:0:R",
    "http.referer", "%Cus:http.referer:0:R",
    "http.cache_control", "%Cus:http.cache_control:0:R",
    "Length", "%L",
    "Info", "%i"

All is fine when using the HTTP profile.  

However, if I switch to the Default profile, I would still see those columns in
the Packet List display.  As mentioned, when I remove the references to the new
columns from the "recent" file, all seems well.

Is this a bug or am I doing something wrong?

thanks,
-doug


You are receiving this mail because:
  • You are watching all bug changes.