http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1833
Summary: Dissector for srvloc protocol (SLP) does not display
attribute-list correctly
Product: Wireshark
Version: 0.99.6
Platform: All
OS/Version: Windows XP
Status: NEW
Severity: Minor
Priority: Low
Component: Wireshark
AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
ReportedBy: bill.florac@xxxxxxxxxxxxxx
Build Information:
Version 0.99.6a
Copyright 1998-2007 Gerald Combs <gerald@xxxxxxxxxxxxx> 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 with GTK+ 2.10.12, with GLib 2.12.12, with WinPcap (version unknown),
with libz 1.2.3, with libpcre 6.4, with Net-SNMP 5.4, with ADNS, with Lua 5.1,
with GnuTLS 1.6.1, with Gcrypt 1.2.3, with MIT Kerberos, with PortAudio
PortAudio V19-devel, with AirPcap.
Running on Windows XP Service Pack 2, build 2600, with WinPcap version 3.1
(packet.dll version 3, 1, 0, 27), based on libpcap version 0.9[.x], without
AirPcap.
Built using Microsoft Visual C++ 6.0
Wireshark is Open Source Software released under the GNU General Public
License.
Check the man page and http://www.wireshark.org for more information.
--
The displaying of attribute-lists in an "Attribute Reply" (ATTRRPLY) seems to
be written to display some special non-conforming attributes. Conforming
attributes are either displayed wrong or not displayed at all.
When displaying an attributes-list in a "Service Registration" (SRVREG), the
attribute list is only displayed as a single string (and usually truncated).
While this is not wrong, it should be broken up into the comma separated
attributes as "Attribute Requests" tries to do.
Example: (of wrong display)
Service Location Protocol
Version: 2
Function: Attribute Reply (7)
Packet Length: 265
Flags: 0x0000
0... .... .... .... = Overflow: Message will fit in a datagram
.0.. .... .... .... = Fresh Registration: Not a new Service
Registration
..0. .... .... .... = Multicast requested: Not multicast or broadcast
Next Extension Offset: 0
XID: 7
Lang Tag Len: 2
Lang Tag: en
Error Code: No Error (0)
Attribute List Length: 244
Attribute List: cid
Item 1
Service Type: IPX
Communication Type: Unknown
Protocol: Unknown
Network: C044-440
Node: 6-8386-4FF43
Socket: 2902
Item 2...
Example of what display should (might) look like:
Service Location Protocol
Version: 2
Function: Attribute Reply (7)
Packet Length: 265
Flags: 0x0000
0... .... .... .... = Overflow: Message will fit in a datagram
.0.. .... .... .... = Fresh Registration: Not a new Service
Registration
..0. .... .... .... = Multicast requested: Not multicast or broadcast
Next Extension Offset: 0
XID: 7
Lang Tag Len: 2
Lang Tag: en
Error Code: No Error (0)
Attribute List Length: 244
Attribute List [truncated]:
(cid=687742F1-C044-4406-8386-4FF432902FF6),(acn-fctn=ETC AED),(acn-uacn=Unit
X),(acn-services=esta.dmp),(csl-esta.dmp=esta.sdt/192.168.1.103:5568;esta.dmp/c:ED3FB528-5D29-4C82-A371-D2561043BF17),(device-descript
Item 1: (cid=687742F1-C044-4406-8386-4FF432902FF6)
Item 2: (acn-fctn=ETC AED)
Item 3: (acn-uacn=Unit X)
Item 4: (acn-services=esta.dmp)
Item 5:
(csl-esta.dmp=esta.sdt/192.168.1.103:5568;esta.dmp/c:ED3FB528-5D29-4C82-A371-D2561043BF17)
Item 6: (device-description=$:tftp://192.168.1.103/$.ddl)
Attr Auths: 0
--
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.