Commit Graph

129 Commits

Author SHA1 Message Date
Ronnie Sahlberg 29a31444b6 Prettify the principal name expansion to make it look more like normal kerberos notation for principals
i.e. display it as "foo/bar"  instead of as "foo bar"




svn path=/trunk/; revision=11833
2004-08-25 10:48:37 +00:00
Guy Harris 46edf2a910 Newer version of Luis Ontanon's patch.
svn path=/trunk/; revision=11832
2004-08-25 05:51:14 +00:00
Anders Broman ed93214bc5 From Luis Ontanon:
add some fields for filtering on radius attributes. 

svn path=/trunk/; revision=11830
2004-08-25 05:14:17 +00:00
Ronnie Sahlberg 4d1dd8df41 Fix the InfoQueryEASize infolevel for SetPathInfo and QueryPathInfo SMB's
svn path=/trunk/; revision=11821
2004-08-24 09:07:04 +00:00
Guy Harris 9ab4f055db From Remi Denis-Courmon: fix some problems with the decoding of Teredo
authentication headers and decode them more verbosely, and make some
other cleanups.

svn path=/trunk/; revision=11819
2004-08-24 07:48:14 +00:00
Anders Broman 6a1ee3eec0 Register SIP as a dissector to be able to do:
sip_handle = find_dissector("sip");
Which will be used by SigComp.

svn path=/trunk/; revision=11815
2004-08-23 19:23:31 +00:00
Guy Harris c8834f9a7c Set the parameter item for called party number, calling party number,
and redirecting number to include the number.

Clean up white space.

svn path=/trunk/; revision=11813
2004-08-23 02:00:58 +00:00
Guy Harris 8bf8cd97ce Don't save the decrypted data on the first pass and use it on subsequent
references to a packet - just re-"decrypt" it (not a lot of work, given
the sophisticated encryption MAPI uses).  We don't save decrypted data
for non-trivial encryptions, so there's not much of a reason to save it
here - and the code to save it was at least sometimes not finding it
again, causing crashes.

Set the length and reported length of the decrypted data tvbuff
appropriately.

svn path=/trunk/; revision=11812
2004-08-23 01:04:46 +00:00
Anders Broman 10411e9790 Add the changes promised in the earlier checkin:
From Luis Ontanon:  add some fields for filtering r packet-isup which adds A,B and C numbers to the 
 fields (that is called,calling and redirecting number). Changed the patch to not use hidden fields and some code clean up

svn path=/trunk/; revision=11811
2004-08-22 20:32:20 +00:00
Jörg Mayer 2d3ad182c9 Propset eol-style and keywords
svn path=/trunk/; revision=11805
2004-08-22 09:07:19 +00:00
Guy Harris 2b64897a27 We don't need a variable to hold the sequence number any more - just
directly pass the result of "tvb_get_ntoh64()" to "proto_tree_add_text()".

svn path=/trunk/; revision=11803
2004-08-22 03:16:05 +00:00
Guy Harris 5294957f26 Use "tvb_get_ntoh64()", now that we have it.
svn path=/trunk/; revision=11802
2004-08-22 03:11:43 +00:00
Guy Harris 89de832c93 From Kelly Byrd: DAAP support.
svn path=/trunk/; revision=11801
2004-08-22 03:04:54 +00:00
Guy Harris c68f62210f Add "tvb_get_ntoh64()" and "tvb_get_letoh64()" routines to fetch 64-bit
integers.

Make FT_INT64 and FT_UINT64 add numerical values, rather than byte-array
values, to the protocol tree, and add routines to add specified 64-bit
integer values to the protocol tree.

Use those routines in the RSVP dissector.

svn path=/trunk/; revision=11796
2004-08-22 00:31:58 +00:00
Jörg Mayer 96d7433ba7 Missed the second case in last change
svn path=/trunk/; revision=11790
2004-08-21 19:47:50 +00:00
Jörg Mayer 7310caf569 The chaddr element is always 16 bytes in size, although only hlen bytes are used
svn path=/trunk/; revision=11789
2004-08-21 19:41:24 +00:00
Ulf Lamping ddd321c4d4 Replaced the column string [Reassembled TCP] by [TCP segment of a reassembled PDU], to be better understandable. But I'm still not satisfied with this...
svn path=/trunk/; revision=11785
2004-08-21 11:11:13 +00:00
Ulf Lamping d530bd4e14 Prevent the word "desegmentation" at the GUI, but use reassembling at that places, as we also use "defragmentation" and "reassembling". Use reassembling as the general term for such actions.
I (hopefully) didn't changed any protocol fields or preference file names, but only the GUI labels appearing in the protocol display and the protocol preferences.

Also added a note to the protocol preferences (where appropriate), that you have to enable "Allow subdissectors to reassemble TCP streams" at the corresponding protocol settings for TCP reassembling to take effect.

If you encounter any mistakes I've made here, please let me know...

svn path=/trunk/; revision=11784
2004-08-21 09:02:52 +00:00
Guy Harris 47244f597f From Matthew Bradley: add filterable fields for the COTP TPDU numbers
and for the last-packet/earlier-fragment flag.

svn path=/trunk/; revision=11781
2004-08-20 08:15:11 +00:00
Anders Broman 0b4d5e5f87 From Luis Ontanon: add some fields for filtering r packet-isup which adds A,B and C numbers to the
fields (that is called,calling and redirecting number). Changed the patch to not use hidden fields and some code clean up.

svn path=/trunk/; revision=11780
2004-08-19 20:28:34 +00:00
Guy Harris 329415a52a MSVC++ doesn't understand that "64_bit_integer % 10000000" fits in an
"int", so we throw in a cast to squelch a warning.

svn path=/trunk/; revision=11774
2004-08-19 09:00:20 +00:00
Guy Harris 5fa4e1f01f Use "G_GINT64_CONSTANT()" for 64-bit integral constants, rather than
hardwiring "LL" as the suffix - it's not "LL" in MSVC++.

svn path=/trunk/; revision=11773
2004-08-19 07:55:30 +00:00
Guy Harris 643495f263 Don't assume that if we find a conversation that we've set a dissector
for it, or that we've given it a conversation data item - the
conversation might exist for other reasons. 

svn path=/trunk/; revision=11767
2004-08-18 07:34:15 +00:00
Guy Harris 09f2fe9191 Samba's smbclient doesn't put the extra stuff after the list of names in
the NTLMv2 blob, so don't bother dissecting it for now - perhaps we
should see how much of the NTLMv2 response remains, and, if there is
any, put it into the tree as extra data.

svn path=/trunk/; revision=11765
2004-08-18 06:56:36 +00:00
Guy Harris 9e2658ed78 Don't give up on the entire DHCPv6 packet if we find an error in
encapsulated options, just give up on the option in which they're
encapsulated.

Note that for the Relay Message option, we should perhaps dissect the
option data as a DHCP message, not just a sequence of options.

svn path=/trunk/; revision=11756
2004-08-17 00:21:13 +00:00
Guy Harris bd2930f29e Don't do the FILETIME->nstime_t conversion in floating point, as it
produces some floating-point noise in the nanoseconds field; we've
required 64-bit integer support for a while, so use that.

svn path=/trunk/; revision=11754
2004-08-16 22:30:04 +00:00
Ulf Lamping cf22aa8bbc cast define of TIME_T_MIN and TIME_T_MAX to (time_t), as MSVC seems to have problems with this definition and throws a warning "convert negative constant to unsigned integer"
svn path=/trunk/; revision=11753
2004-08-16 17:18:04 +00:00
Guy Harris 7af1c37cae From Ronnie Sahlberg: update the fs attributes to be more complete and
correctly dissected.

svn path=/trunk/; revision=11752
2004-08-16 07:59:18 +00:00
Guy Harris f574301a2d From Ronnie Sahlberg: add dissection of the Teletext string type to the
DirectoryString choice in SelectedAttributeTypes.

svn path=/trunk/; revision=11751
2004-08-16 07:53:07 +00:00
Guy Harris 8bf903b464 Whenever we call "dhcpv6_option()", check to make sure it didn't set
"at_end" - if it does, the option is sufficiently bad that we can't
continue dissecting the packet, so we give up.

svn path=/trunk/; revision=11750
2004-08-16 07:52:07 +00:00
Guy Harris 97e73c43e9 From Martin Mathieson:
- test for NULL conversation data to avoid a potential crash when
	  looking up stream setup info (as RTP dissector does);

	- adds a heuristic function (like RTP, this is a preference
	  initially set to off).

svn path=/trunk/; revision=11748
2004-08-16 05:54:01 +00:00
Guy Harris 90d05b46d1 According to draft-ietf-dhc-failover-10, the message digest type is 1
byte - and a length of 1 is used to put the message digest into the
protocol tree, which agrees with that.  Therefore, "tvb_get_guint8()"
should be used to fetch it.

svn path=/trunk/; revision=11746
2004-08-16 01:13:11 +00:00
Gerald Combs 85f3fff1ef From Ronnie Sahlberg: Netscape certificate extensions.
svn path=/trunk/; revision=11743
2004-08-15 18:32:24 +00:00
Jörg Mayer 4bd2d5b0be Make message_digest_type a guint16. Removed cast.
Spotted by Ulf Lamping.

svn path=/trunk/; revision=11742
2004-08-15 11:39:13 +00:00
Ulf Lamping 60eb7df5b5 remove MSVC compiler warning (required a type cast)
svn path=/trunk/; revision=11741
2004-08-15 11:25:35 +00:00
Guy Harris a626d0c168 Dissect the last unknown item at the end of the NTLMv2 blob.
svn path=/trunk/; revision=11740
2004-08-15 03:24:47 +00:00
Guy Harris 984c106564 From Jelmer Vernooij:
OSCAR-ICQ updates;
	DCOM IRemUnknown and IRemUnknown2 support.

svn path=/trunk/; revision=11736
2004-08-13 09:47:23 +00:00
Guy Harris a2bcd399c8 From Giles Scott: Ethernet MAC Control Frame support.
svn path=/trunk/; revision=11735
2004-08-13 09:35:25 +00:00
Guy Harris 16b5c67a2b Note that the CIFS spec claims that the service name string in Tree
Connect AndX is always ASCII; we don't assume it is - the spec may very
well be wrong.

svn path=/trunk/; revision=11726
2004-08-12 21:32:20 +00:00
Guy Harris f4c650946b From Tomas Kukosa: add a dissector table for OIDs in variable bindings,
so the variable value can be dissected by a subdissector.

svn path=/trunk/; revision=11717
2004-08-11 19:11:16 +00:00
Guy Harris 5db0829d14 The FreeTDS documentation on TDS claims that the field after the locale
(or, as that documentation calls it, the language name) is the database
name; mark it as such.

It also says there's some other stuff, such as a client MAC address,
after the database offset/length (and that the NTLMSSP message doesn't
come right after the database offset/length, there's an offset/length
for the NTLMSSP message).  Put in a comment about that.

svn path=/trunk/; revision=11713
2004-08-10 22:45:47 +00:00
Guy Harris e7fbdca940 Use the protocol short name as the Protocol column value, as is done in
other dissectors.

svn path=/trunk/; revision=11640
2004-08-10 07:03:21 +00:00
Jörg Mayer 4e9e5a4a08 - Small cosmetic fix to DHCP failover prefs
- free -> g_free (we are using g_malloc)
- remove debug prinf

svn path=/trunk/; revision=11632
2004-08-09 03:07:50 +00:00
Guy Harris 7950acd597 Enable the configurable port number - and make the filter name for the
protocol "dhcpfo", to match the filter names of its fields; that - or
changing the long name or abbreviation of the protocol - fixes the core
dump (which was in a check for a name being legal).

svn path=/trunk/; revision=11631
2004-08-09 02:41:41 +00:00
Jörg Mayer c015a1e1f1 M. Ortega y Strupp <moys@loplof.de>
ISC DHCP Server 3.0 failover protocol dissection

Note: I tried to make the port configurable via prefs
but failed to do so: It always cashed on startup so it
is commented out for now.


svn path=/trunk/; revision=11630
2004-08-09 01:53:26 +00:00
Guy Harris ce9da96fe5 While we're add it, support the multicast protocol type values for PPP
and GRE.

Put in the RFC number.

svn path=/trunk/; revision=11622
2004-08-07 03:36:20 +00:00
Jörg Mayer 231fb62758 Add protocol 0xad as AX/4000 Testframe.
Make packet-ax4000.c use the value from ipproto.h


svn path=/trunk/; revision=11621
2004-08-07 00:11:16 +00:00
Jörg Mayer ee110d2a9b Hanlde 8848 on Ethernet the same as 8847. Not sure that this
is really correct, but the payload seems to be decoded correctly.


svn path=/trunk/; revision=11620
2004-08-07 00:07:53 +00:00
Guy Harris f1cfc2a9e3 From Yaniv Kaul:
1. define new TDS packet type (17) - NTLM authentication packet. Call
the ntlmssp dissector to dissect it when needed.
2. define new TDS packet type (18) - donno what it is exactly, but it's
there. Will dissect it someday.
3. heuristic in netlib_check_login_pkt should also check port 2433.
4. unify the dissection of msg and err token. They have the same
structure.
5. improve the dissection of the above mentioned token.

svn path=/trunk/; revision=11616
2004-08-06 20:12:20 +00:00
Guy Harris 3a583aeb59 From Albert Chin: rename resolv.{ch} to addr_resolv.{ch}, so that an
include of <resolv.h> in any system header file gets the system
<resolv.h> (needed for builds on Tru64 with GTK+ 1.2[.x]).

svn path=/trunk/; revision=11615
2004-08-06 19:57:49 +00:00