Commit Graph

1243 Commits

Author SHA1 Message Date
Ronnie Sahlberg f4f2b80b21 change result code names to be the same as in the LDAP standard
so it is easier to grep between them


svn path=/trunk/; revision=11880
2004-09-02 08:12:41 +00:00
Guy Harris 0d5f2faf2c Use the value for the UNIX epoch from RFC 868 for the difference between
the Time Protocol epoch and the UNIX epoch; that wasn't the value we
were using.

svn path=/trunk/; revision=11876
2004-09-01 18:48:31 +00:00
Guy Harris 365a145c34 Get rid of some unused variables.
Put into the protocol tree for APP1 and APP2 segments not otherwise
handled an item for the remaining segment data.

svn path=/trunk/; revision=11870
2004-09-01 08:12:20 +00:00
Guy Harris d15724fc9e Make a bunch of source files non-executable.
svn path=/trunk/; revision=11869
2004-09-01 07:07:23 +00:00
Ronnie Sahlberg 477ab2a7cc break out the nt decryption and password handling into a separate function
so we can call it from elsewhere


svn path=/trunk/; revision=11857
2004-08-31 08:30:58 +00:00
Guy Harris 344dddb124 Pass an "address *" to "rtp_add_address()" and "rtcp_add_address()", so
so that they could handle IPv6 addresses.

Clean up white space.

svn path=/trunk/; revision=11854
2004-08-30 10:03:54 +00:00
Ronnie Sahlberg e74f18ee9b Add a key origin string for kerberos keys
so that IF kerberos succeeds in decrypting a blob it can print a nice
"[Decrypted using: keytab principal foo/bar@REALM]"
or
"[Decrypted using: key learnt from frame xx]"

This makes it much easier to keep track of what keys decrypt what blob
and is very useful for illustrating the sequence of keys that are exchanged and used in kerberos during the AS/TGS/AP exchanges.




svn path=/trunk/; revision=11853
2004-08-30 09:49:08 +00:00
Ronnie Sahlberg ddf0bdb696 For protocols running atop TCP and PDUs spanning multiple segments
ethereal used to (bug) print in the summary line
"[Continuation to #%d]" where %d was the current frame number.

Fix this bug and let %d print the frame number of the first frame for this multiframe PDU.


(Strange that no one has complained about this one)


svn path=/trunk/; revision=11852
2004-08-30 08:40:08 +00:00
Ronnie Sahlberg 6de3544a52 Reintroduce the three previously removed iscsi header digest preference options as obsolete preferences so that users upgrading to later versions of ethereal will not get the warning output for unknown preferences printed to stdout.
svn path=/trunk/; revision=11851
2004-08-30 08:31:21 +00:00
Ronnie Sahlberg ccf7ed00b6 remove two preference options related to iscsi header digest
make ethereal attempt to automatically detect wether header digest is used or not for iscsi sessions.

This makes ethereal decode the packets properly EVEN for perfectly normal sessions where
the discovery session is performed with no digest but the normal login session negotiates digest.


the detected headerdigest setting is tcp session wide and thus it
it does not work for such initiators (if such exist) that resuse the same socketpair between the discovery and normal login sessions.



svn path=/trunk/; revision=11850
2004-08-29 04:12:35 +00:00
Ronnie Sahlberg d15ea23bd3 finalize refactoring of conversation handling.
what remains now is attaching autodetection of header digest to 
the session state structure.


svn path=/trunk/; revision=11849
2004-08-29 02:55:02 +00:00
Ronnie Sahlberg 9812797721 move the conversation find and create into dissect_iscsi() from dissect_iscsi_pdu() so it will be easier to add a session wide state structure to iscsi.
later this soon to be implemented structure (and not the conversation) will 
hold the information we need to track  wether
digests etc are in use or not.

this also allows some minor indentation cleanups as well.



svn path=/trunk/; revision=11848
2004-08-29 01:15:32 +00:00
Ronnie Sahlberg 6ab442bacf indentation change to make dissect_iscsi() easier to read
svn path=/trunk/; revision=11847
2004-08-28 23:54:16 +00:00
Ronnie Sahlberg b5daad6252 ISCSI Login Request and Login Response never contain any HeaderDigests
svn path=/trunk/; revision=11846
2004-08-28 23:12:16 +00:00
Ronnie Sahlberg ba7901db6c fix the bug introduced in the window scaling update, dont
try to access the conversation structures unless the
proper preferences are enabled (so that the structs exists iun the first place)



svn path=/trunk/; revision=11845
2004-08-28 21:46:54 +00:00
Guy Harris 463ea07dde Clean up white space.
"dissect_sip()" returns a "gint", so it has to be registered with
"new_register_dissector()".

svn path=/trunk/; revision=11839
2004-08-26 22:03:47 +00:00
Guy Harris f51d98f87b Update the I-D name.
svn path=/trunk/; revision=11838
2004-08-26 18:34:16 +00:00
Ronnie Sahlberg 58b6e2f49f fix to that long outstanding bug with windowscaling
If window scaling is NOT offered in the SYN+ACK  then window scaling will
not be used at all, so clear it if we saw it offered previously in the SYN packet.

If the window is scaled in a packet,  make ethereal display that by appendign the 
string "  (scaled)" to the end of the tcp.window line in the
decode pane.



svn path=/trunk/; revision=11837
2004-08-26 10:03:40 +00:00
Guy Harris 5d1de30923 From Greg Morris:
1. Fix Fax Number NDS attribute.  This was causing malformed
	   packet message due to improper decoding. 

	2. Do not try to decode packet beyond connection status when
	   return value is non-zero (error condition).

svn path=/trunk/; revision=11836
2004-08-26 07:46:29 +00:00
Ronnie Sahlberg 379ca865e4 Add the optional 13th tag to the KRB_ERR structure.
This tag was part of an early kerberos draft but had dissapeared
when 1510 was published.
this early draft exist in implementations in the wild.

add 4 extra checksum types as well from that draft.



svn path=/trunk/; revision=11834
2004-08-25 11:35:04 +00:00
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
Guy Harris 750812d739 guint64 & guint64 is another guint64, but a gboolean is just 32 bits on
most if not all platforms; the "bitwise and" operator in display filters
is Boolean and evaluates to "true" if the result is non-zero and "false"
otherwise, so explicitly do the comparison with 0 to make sure we don't
just throw away the upper 32 bits.

Do the same for the 32-bit bitwise AND as well, although it's not
strictly necessary.

svn path=/trunk/; revision=11828
2004-08-25 03:44:04 +00:00
Guy Harris 3481780eea From Lars Roland: add "tvb_get_ntoh64()" to the list of routines
callable from plugins and the list of routines exported from
libethereal.dll.

Do the same for "tvb_get_letoh64()".

svn path=/trunk/; revision=11825
2004-08-25 03:29:54 +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 cc5f5d5d5d When deciding whether to add a separator or not, look at the buffer to
which we're going to append the data.

svn path=/trunk/; revision=11820
2004-08-24 08:20:20 +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
Guy Harris e95e6cbfbc In "col_append_sep_fstr()" and "col_append_sep_str()", check "col_data"
rather than "col_buf", so that we correctly handle a column set with
"col_set_str()" (where we set "col_data" to point to the string, and
leave "col_buf" alone).

svn path=/trunk/; revision=11818
2004-08-24 07:38:29 +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 39313e5553 GLib 1.2[.x] doesn't define G_MAXUINT64, just as it doesn't define
G_MAXUINT32, so we have to define it if it's not defined.

svn path=/trunk/; revision=11797
2004-08-22 01:40:21 +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
Gerald Combs 2875ddd269 Move convert_string_to_hex() and convert_string_case() from gtk/find_dlg.c
to epan/strutil.c

svn path=/trunk/; revision=11733
2004-08-13 02:39:49 +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 c3f8410630 From Neil Piercy: put in some missing "put in the terminating NUL"s
after "vsnprintf()" calls.

svn path=/trunk/; revision=11648
2004-08-10 21:29:57 +00:00
Guy Harris a6c45e1f0b Add support for FT_FLOAT and FT_DOUBLE in "proto_tree_add_item()"
(untested).

svn path=/trunk/; revision=11646
2004-08-10 21:23:34 +00:00
Gerald Combs 81be1fbe77 From Graham Bloice: Allow libethereal.dll to be built after recent changes.
svn path=/trunk/; revision=11644
2004-08-10 15:10:45 +00:00
Guy Harris 93b96d760f Fix a typo.
svn path=/trunk/; revision=11642
2004-08-10 08:00:55 +00:00
Guy Harris 9d81b834d7 Add LIBETHEREAL_SRC and LIBETHEREAL_INCLUDES to epan/Makefile.common,
and have epan/Makefile.am and epan/Makefile.nmake use them.

svn path=/trunk/; revision=11641
2004-08-10 07:52:11 +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
Gerald Combs ed2befc8b7 Merge the "resolv" rename changes with the trunk.
svn path=/trunk/; revision=11638
2004-08-09 22:31: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
Guy Harris dbe1fe229e From Jeff Connelly: MANOLITO support.
svn path=/trunk/; revision=11614
2004-08-06 19:35:51 +00:00
Guy Harris 5ff0b36bff Set the "svn:keywords" and "svn:eol-style" properties to their standard
values.

svn path=/trunk/; revision=11609
2004-08-06 05:34:41 +00:00
Guy Harris 9d40235482 Put "Spirent" into the initial comment so people are more likely to be
able to figure out what an AX/4000 is.

svn path=/trunk/; revision=11608
2004-08-06 05:32:59 +00:00
Jörg Mayer ee031459e3 SEKINE Hideki: Routines for AX/4000 Test Block dissection
Added HFILL macros to avoid warnings.


svn path=/trunk/; revision=11604
2004-08-05 07:20:00 +00:00
Guy Harris 50203cb822 Fix a URL.
svn path=/trunk/; revision=11600
2004-08-04 03:13:41 +00:00
Guy Harris 13bb12c4f1 Move a bunch of stuff that's more Windows-related than SMB-related to
"packet-windows-common.[ch]".

svn path=/trunk/; revision=11592
2004-08-03 02:28:49 +00:00
Guy Harris 6e683f0098 Every file that includes "packet-smb-common.h" either includes "smb.h"
or doesn't need anything defined by "smb.h", so don't include it in
"packet-smb-common.h".

svn path=/trunk/; revision=11591
2004-08-02 23:57:36 +00:00
Guy Harris 759d6516ad Nothing, other than the include of "smb.h", in "packet-smb-common.h" is
used here; don't include it, just include "smb.h".

svn path=/trunk/; revision=11590
2004-08-02 23:53:23 +00:00
Guy Harris 8b73c79056 "dissect_smb_unknown()" isn't some generic routine, it's used only to
dissect unknown netlogon commands; move it to "packet-smb-logon.c".

svn path=/trunk/; revision=11589
2004-08-02 23:46:14 +00:00
Guy Harris 135dd00b14 Don't drag in a huge pile of headers in "packet-smb-common.h"; rely on
the files including it to include what they need.

svn path=/trunk/; revision=11588
2004-08-02 23:40:09 +00:00
Guy Harris 38275196eb The TDS dissector uses nothing from "packet-smb-common.h", so don't
include it.

svn path=/trunk/; revision=11587
2004-08-02 23:26:12 +00:00
Guy Harris 4d54e1f392 The SSH dissector uses nothing from "packet-smb-common.h", so don't
include it.

svn path=/trunk/; revision=11586
2004-08-02 23:21:45 +00:00
Guy Harris 1ef3caa637 Move the NTLMv2 blob stuff back into packet-ntlmssp.c - it's more
NTLMSSP-related than SMB-related, and documents about NTLMSSP talk about
it, so it's a little more convenient to keep all that stuff together -
and export it through a packet-ntlmssp.h header.

svn path=/trunk/; revision=11585
2004-08-02 23:14:32 +00:00
Guy Harris b37500aadc Put in some comments based on information in the
http://davenport.sourceforge.net/ntlm.html document.

svn path=/trunk/; revision=11583
2004-08-02 20:26:16 +00:00
Guy Harris 5944485ccc http://davenport.sourceforge.net/ntlm.html says that the 0x80000000 is
"Negotiate 56", meaning that 56-bit encryption is supported - and that
"Negotiate 128" means that 128-bit encryption is supported, so note that
in the blurb for that flag.

It also says that the values for "Request Init Response", "Request Accept
Response", and 'Request Non-NT Session Key" are a factor of 16 away from
what our #defines say they are, and that 0x000[124]0000 are "Target Type
{Domain,Server,Share}".  Note that in a comment.

svn path=/trunk/; revision=11582
2004-08-02 19:33:49 +00:00
Guy Harris cb0506f41b Most developers have only 10 fingers, not 16. :-)
svn path=/trunk/; revision=11581
2004-08-02 18:58:19 +00:00
Michael Tüxen 9b923ecac7 Fixed the handling of PKTDRPREP when there is no included packet.
svn path=/trunk/; revision=11580
2004-08-02 17:36:34 +00:00
Olivier Biot c3ccccf2b6 From Kelly Byrd: fix tvb_uncompress() for GZIP encoded content.
svn path=/trunk/; revision=11579
2004-08-02 09:15:58 +00:00
Ronnie Sahlberg 41c1f32cb4 From Yaniv Kaul:
Call the x509 certificate dissector from SSL so that x509 certificates
in SSL are dissected


svn path=/trunk/; revision=11578
2004-08-02 08:57:40 +00:00
Guy Harris c08032765d From Jelmer Vernooij: add support for some more TLVs and another SNAC.
svn path=/trunk/; revision=11577
2004-08-01 22:55:53 +00:00
Ronnie Sahlberg cf1e60bbc7 New protocol: PKCS#1 (rfc2313 pplus some extra oid's)
svn path=/trunk/; revision=11566
2004-07-29 12:10:44 +00:00
Ronnie Sahlberg ce6804616e add some algorithm oid's to x509af(for the time being)
(only those that take no parameters for the time being)

create a dummy ber oid callback for callbacks that are NULL


svn path=/trunk/; revision=11565
2004-07-29 09:52:14 +00:00
Ronnie Sahlberg 70d7bbebd0 prettify the oid printing of ber oid's
svn path=/trunk/; revision=11564
2004-07-29 09:32:13 +00:00
Ronnie Sahlberg 34b6e90f3e for very large integers, print them in hex thats better than nothing
but we can not filter on them anymore


svn path=/trunk/; revision=11563
2004-07-29 08:41:51 +00:00
Olivier Biot 26691ff1be From Lars Roland: MSVC make fixes.
Many people have recently reported many problems with the nmake build 
process. It seems that these problems come from using 
epan/makefile.nmake to compile the DISSECTOR_SUPPORT_SOURCES which are 
located in /trunk.

Nmake from MSVC6 puts the object code of the DISSECTOR_SUPPORT_SOURCES 
in /epan although Nmake expects the object code in /trunk when it 
checkes dependencies. Thus DISSECTOR_SUPPORT_OBJECTS are built every 
time even when they are already there.

Nmake Version 1.5 (MSVC 2003 Toolkit) puts the object code of the 
DISSECTOR_SUPPORT_SOURCES in /trunk instead.
This makes it impossible to use epan/makefile.nmake for compiling the 
DISSECTOR_SUPPORT_SOURCES and to make it work for both versions of nmake.

We have to use /trunk/makefile.nmake for compiling the 
DISSECTOR_SUPPORT_SOURCES to solve these issues.

It should also be possible to build ethereal without libethereal.dll again.

Once we have moved all DISSECTOR_SUPPORT_SOURCES into a subdirectory of 
epan we can get rid of this patchwork in the nmake makefiles.


svn path=/trunk/; revision=11562
2004-07-29 07:25:11 +00:00
Gerald Combs e1ede171f9 Fix a null pointer dereference.
svn path=/trunk/; revision=11561
2004-07-29 02:25:54 +00:00
Olivier Biot a11651260b From Lars Roland: With this patch print.(c/h) and ps.(c/h) don't belong to
the DISSECTOR_SUPPORT_xy files any longer and as a consequence they 
won't be linked into libethereal.

svn path=/trunk/; revision=11559
2004-07-29 00:11:14 +00:00
Olivier Biot 21cb72b093 Partial fix after some files being moved between directories.
There is still a problem with MSVC builds as 3 objects get built twice (once
at the top level, and once in epan: xmlstub.obj, print.obj and ps.obj).

This fix allows to compile again with MSVC if debug symbols are NOT enabled
while building Ethereal.  Do this by editing config.nmake and replacing
"LOCAL_LDFLAGS=/DEBUG" with "LOCAL_LDFLAGS=". In other words: Ethereal CANNOT
be built right now with debug symbols in the object code, for MSVC builds.

svn path=/trunk/; revision=11557
2004-07-28 22:41:19 +00:00
Ulf Lamping c54fcb2c02 removed print_packet_header, as it seems to be no longer used/available and will result in a link error
svn path=/trunk/; revision=11552
2004-07-28 16:48:58 +00:00
Guy Harris 70cca9cb10 From Greg Morris:
check whether "match_strval()" returned a null pointer before
	using its return value;

	mark the end-of-burst packet.

Clean up white space.

svn path=/trunk/; revision=11551
2004-07-28 08:23:52 +00:00
Ronnie Sahlberg 0fd5931b07 x509ce use implicit tags.
the compiler does not yet support this.
change the definition file to make the implicit keyword explicit


svn path=/trunk/; revision=11550
2004-07-28 07:55:57 +00:00
Guy Harris ec33d95bc8 From Ming Zhang: update to the latest draft.
svn path=/trunk/; revision=11549
2004-07-28 07:46:54 +00:00
Guy Harris 3f6dcb9426 From Lars Roland: don't delete the generated header files with "make
distclean", as those are part of the distribution.

svn path=/trunk/; revision=11541
2004-07-27 18:57:52 +00:00
Guy Harris 74fda1d8ab From Lars Roland:
clean up the message printed when building libethereal.dll;

	have "make distclean" clean out the "dissectors" subdirectory.

Clean up indentation.

svn path=/trunk/; revision=11540
2004-07-27 18:56:50 +00:00
Michael Tüxen ea917cc882 Change the display of identifiers from DEC to HEX.
svn path=/trunk/; revision=11538
2004-07-27 09:22:35 +00:00
Guy Harris de555a5b7c Add the Ethertype for MAC Control frames, as per Clause 31 and Annexes
31A and 31B in the 2000 and later 802.3 specs.  (Dissecting them is left
as an exercise for the student.)

Clean up whitespace a bit.

svn path=/trunk/; revision=11536
2004-07-27 06:05:20 +00:00
Guy Harris 1dff8e81b2 Arrange that "x11-declarations.h" and "x11-register-info.h" be part of
the distribution, as was the case in the past.

Arrange that RCS IDs be expanded, and that the EOL style be native, for
epan/dissectors/Makefile.{am,common,nmake}.

svn path=/trunk/; revision=11532
2004-07-27 02:52:49 +00:00
Gerald Combs 59be185931 From Anders Broman: Update libethereal.def to match recent changes in print.c.
svn path=/trunk/; revision=11525
2004-07-26 14:11:28 +00:00
Ronnie Sahlberg 135f0cdfa3 update tox509ce virtually all of x509ce now implemented (but there are still bugs)
svn path=/trunk/; revision=11524
2004-07-26 09:21:36 +00:00
Michael Tüxen 509c431146 Added support for registered UDP port.
svn path=/trunk/; revision=11522
2004-07-25 17:53:02 +00:00
Ronnie Sahlberg ceedde9c07 some more extensions and their dissectors defined.
svn path=/trunk/; revision=11520
2004-07-25 12:54:33 +00:00
Ronnie Sahlberg 13451f85d3 cms update forgot that Name had been commented out in one of the structure.
svn path=/trunk/; revision=11519
2004-07-25 10:41:39 +00:00
Ronnie Sahlberg 2d069de8b4 large CMS update.
most of cms is now implemented


svn path=/trunk/; revision=11518
2004-07-25 10:34:07 +00:00
Guy Harris a4ab30088a From Lars Roland: don't print the "echo Linking dissectors.lib" command
before running it (printing echo commands puts extra gunk into the
output), and remove some additional generated files when doing "make
distclean".

svn path=/trunk/; revision=11517
2004-07-25 09:58:08 +00:00
Ronnie Sahlberg 88d357fe04 get rid of the remaining compiler warnings.
x509af is now virtually complete (the attribute userPassword still needs 
an attribute dissector but after that, x509af is complete)



svn path=/trunk/; revision=11510
2004-07-24 22:59:02 +00:00
Ronnie Sahlberg 4d09fc5e43 Add a lot of missing attribute dissectors
svn path=/trunk/; revision=11509
2004-07-24 22:53:27 +00:00
Ronnie Sahlberg 9d69ba5911 added the userCertificate and cAcertificate attributes
svn path=/trunk/; revision=11508
2004-07-24 22:30:49 +00:00
Ronnie Sahlberg 829a19a29b add dissection of the structure : Extension
svn path=/trunk/; revision=11507
2004-07-24 22:16:41 +00:00
Guy Harris d890f4934e In "dissect_smb_server_type_flags()":
explicitly pass NULL as the tree argument to
	"dissect_ndr_uint32()" - "tree", which was passed before, was
	definitely null at that point, and the intent is that it not put
	anything into the protocol tree;

	use the correct offset when putting items into the protocol tree
	(the offset has been advanced just past the end of the field at
	the time the items are being put into the protocol tree).

svn path=/trunk/; revision=11506
2004-07-24 09:59:00 +00:00
Jörg Mayer e869dbb17d Trivial warning fixes:
- comma at end of enum
- function declarations with empty args instead of void
- c++ style comments

svn path=/trunk/; revision=11492
2004-07-23 23:28:08 +00:00
Ronnie Sahlberg e7172b423b add nice text item for the case when we could not find the dissector for a specific OID/attribute to make it easier to see where we have missed implementing something.
svn path=/trunk/; revision=11491
2004-07-23 23:12:31 +00:00
Ronnie Sahlberg 52d5646696 inside dissect_ber_sequence() we know the expected length of the field that follows.
use this and create a new tvbsubset so that
1, reading too much data is flagged as MALFORMED PACKET indicating a bug in the dissector (or a packet that IS malformed)
2, this also implicitely passes the length of the data through the ber.oid dissector handle in case we want to pick it up later.



svn path=/trunk/; revision=11490
2004-07-23 23:06:38 +00:00
Guy Harris bbbe995ddb Use "format_text()" on strings to be put into the Info column and the
display representation of items in the protocol tree, so we don't get
hosed by non-printable characters.

svn path=/trunk/; revision=11489
2004-07-23 22:39:08 +00:00
Gerald Combs c6c01ab4b1 Have distclean remove built sources.
svn path=/trunk/; revision=11488
2004-07-23 21:24:25 +00:00
Ronnie Sahlberg 19f12428b6 remove some more compiler warnings
svn path=/trunk/; revision=11486
2004-07-23 14:00:34 +00:00
Ronnie Sahlberg 0d59053844 make the implicit_tag parameter _U_ to get rid of some compiler warnings in those cases it is not used.
svn path=/trunk/; revision=11485
2004-07-23 13:21:48 +00:00
Ronnie Sahlberg 543c91b203 telex and telephone number attributes
svn path=/trunk/; revision=11484
2004-07-23 13:11:29 +00:00
Ronnie Sahlberg e4fdba9e02 Remove a compiler warning for a parameter that is not used
in the DirectoryString dissector


svn path=/trunk/; revision=11483
2004-07-23 12:22:13 +00:00
Guy Harris 46e1e52757 If there's no data in the authentication option, don't unescape and
tvbuffify it.

svn path=/trunk/; revision=11482
2004-07-23 08:36:07 +00:00
Ronnie Sahlberg b662cf7641 add all the other (quite a lot of them) attributes that were of the type DirectoryString
(see how good it is to put markers for emacs macros in the files, it was pretty quick, wasnt it? i even tested the resulting code.)


svn path=/trunk/; revision=11481
2004-07-23 08:21:51 +00:00
Guy Harris 89f9e1ee88 Use "col_append_str()" and "col_append_fstr()" to build the Info column,
rather than building a string, and use "tvb_format_text()" on the data,
so that non-printable characters are escaped.

svn path=/trunk/; revision=11480
2004-07-23 07:59:15 +00:00
Ronnie Sahlberg 1b0f6edbd9 add dissection of DirectoryString, this unfortunately had to be done manually inside the template.
Also implement the attribute  organizationName which is of this type.

(Add magic comments so emacs-macros will be happy.)


svn path=/trunk/; revision=11479
2004-07-23 07:46:12 +00:00
Ronnie Sahlberg 73f560c866 register ber oid functions through a special function in packet-ber.c which also takes (still unused) the name of the oid
so that sometime later it will be easy to add code to add the name of the oid to the dissection.



svn path=/trunk/; revision=11478
2004-07-23 07:08:14 +00:00
Guy Harris 267b501cae "iax_lookup_circuit_details()" can return null; check whether it's null
before using it.

svn path=/trunk/; revision=11477
2004-07-23 06:37:58 +00:00
Guy Harris 90bbb2c32c We are not guaranteed that "fchdr.r_ctl & 0x0F" is a valid frame type,
so don't use "match_strval()", use "val_to_str()".

svn path=/trunk/; revision=11474
2004-07-23 01:32:42 +00:00
Ronnie Sahlberg 744387f3ca add the countryname attribute
svn path=/trunk/; revision=11470
2004-07-22 13:11:13 +00:00
Ronnie Sahlberg f42a958398 start dissecting AttributeTypeAnddistinguishedValue
(which must be implemented by hand inside themplate)


svn path=/trunk/; revision=11469
2004-07-22 10:29:17 +00:00
Ronnie Sahlberg 283807bf4b dissect the x509if/Name all the way down to the AttributeTypeAndDistinguishedValue structure but not the structure itself.
we are getting there, slow but steady


svn path=/trunk/; revision=11468
2004-07-22 10:05:59 +00:00
Ronnie Sahlberg ea5916772e minor update
UniqueIdentifier is imported from x509sat and not x509if


svn path=/trunk/; revision=11466
2004-07-22 07:51:47 +00:00
Ronnie Sahlberg dcea6b49c6 get rid of the nasty ber specific oid->callback table and reimplement the functionality using a dissector table instead i.e. the proper way.
svn path=/trunk/; revision=11457
2004-07-21 11:13:03 +00:00
Guy Harris 9500f764ce From Tomas Kukosa: add support for RFC 3253 HTTP methods.
svn path=/trunk/; revision=11453
2004-07-21 06:05:24 +00:00
Guy Harris 0a4380f19e From Roberto Morro: support for GMPLS UNI and E-NNI objects/TLVs.
svn path=/trunk/; revision=11452
2004-07-21 05:57:30 +00:00
Guy Harris c1b410806e From metatech: at least on Windows XP, if a Centrino 802.11 interface is
in promiscuous mode, packets captured promiscuously show up as 802.11
packets encapsulated in Ethernet, with an Ethernet type of 0x2452.

svn path=/trunk/; revision=11451
2004-07-21 05:44:03 +00:00
Guy Harris 9127c0350c Include "packet-x509sat.h" to declare a function we use.
svn path=/trunk/; revision=11447
2004-07-20 20:19:46 +00:00
Anders Broman bb7d931303 Fix decoding of messafe type 1, if T-bit = Zero
svn path=/trunk/; revision=11445
2004-07-20 19:04:48 +00:00
Jörg Mayer 66e1c280a3 make "make dist" work again. Well, almost: currently you
need to run
STCHECK_CONFIGURE_FLAGS=--with-ssl=/usr make distcheck
at least on my system.

svn path=/trunk/; revision=11442
2004-07-20 16:58:11 +00:00
Ronnie Sahlberg a9c3e27415 Small update to AlgorithmIdentifier.
Allow the TYPE field to match ANY type of BER construct.


svn path=/trunk/; revision=11441
2004-07-20 10:45:11 +00:00
Ronnie Sahlberg 723d3dbe44 Add the new protocols CMS, X509AF, X509IF, X509CE and X509SAT
to the ethereal build.

The dissections are semi-useful  but incomplete.
The big problem still remaining is the x509if  Name object not being 
dissected properly   thus causing the dissection to get out of sync/fail
halfway through the certificate structure.


work in progress but already semi-useful.


svn path=/trunk/; revision=11440
2004-07-20 09:11:40 +00:00
Gerald Combs e20430f876 Fixes (and ugly hacks) for Windows compilation.
svn path=/trunk/; revision=11435
2004-07-19 21:18:40 +00:00
Guy Harris 2ad97737fe Pull the address (and port and circuit type) stuff out of
"epan/packet_info.h" and put it in "epan/address.h".

Use the AT_ values from "epan/address.h" for address types in the
interface lists rather than having our own FAM_ enums.

svn path=/trunk/; revision=11427
2004-07-19 02:27:17 +00:00
Ulf Lamping 5c008e38ba Fix the win32 nmake generation for now (it will compile/link/run again). This will need more cleanup if the movements of the dissector sources are finished. Hopefully this doesn't broke the unix build.
svn path=/trunk/; revision=11423
2004-07-18 23:46:07 +00:00
Jörg Mayer fd24ad7d92 .cvsignore is dead
it has been replaced by
svn proplist -v <dir/file>
and
svn propedit <dir/file>

svn path=/trunk/; revision=11422
2004-07-18 23:44:34 +00:00
Jörg Mayer 56c759212f Add epan/dissectors/.cvsignore
Add tags and TAGS to all .cvsignore files

svn path=/trunk/; revision=11419
2004-07-18 22:51:50 +00:00
Ulf Lamping 66e486054a some more changes for the win32 nmake process
svn path=/trunk/; revision=11417
2004-07-18 21:02:19 +00:00
Ulf Lamping 4fdb830569 first attempt to make Win32 generation (nmake) ready for the dissector movings (but still incomplete)
svn path=/trunk/; revision=11415
2004-07-18 20:21:20 +00:00
Guy Harris 892091fe95 Define CLEANFILES only once.
svn path=/trunk/; revision=11412
2004-07-18 18:59:09 +00:00
Gilbert Ramirez 669db206cb Move dissectors to epan/dissectors directory.
Also move ncp222.py, x11-fields, process-x11-fields.pl,
make-reg-dotc, and make-reg-dotc.py.

Adjust #include lines in files that include packet-*.h
files.

svn path=/trunk/; revision=11410
2004-07-18 18:06:47 +00:00
Guy Harris 8a8b883450 Set the svn:eol-style property on all text files to "native", so that
they have LF at the end of the line on UN*X and CR/LF on Windows;
hopefully this means that if a CR/LF version is checked in on Windows,
the CRs will be stripped so that they show up only when checked out on
Windows, not on UN*X.

svn path=/trunk/; revision=11400
2004-07-18 00:24:25 +00:00
Guy Harris 506605d771 From Graham Bloice: add resource information to libethereal.dll.
svn path=/trunk/; revision=11388
2004-07-17 09:49:32 +00:00
Guy Harris 12fddb1280 G_MAXINT32, G_MININT32, and G_MAXUINT32 aren't defined by GLib 1.2[.x],
so we have to define them ourselves if they're not defined.

svn path=/trunk/; revision=11384
2004-07-17 08:45:10 +00:00
Guy Harris c27d80c9ad I'm not sure "strtol()" and "strtoul()" are guaranteed to clear "errno"
on success, so we clear it before calling them.

Assign the value of "strtol()" to a "long" and assign the value of
"strtoul()" to an "unsigned long", as those are the return types for
those functions - "gint32" and "guint32" might not be large enough for
the return value on an LP64 platform.

Check for errno being EINVAL, as that can happen if the number isn't
valid.

Before assigning the value returned by "strtol()" or "strtoul()" to the
final destination, check whether it's in the right range for that
destination.

svn path=/trunk/; revision=11382
2004-07-16 23:35:46 +00:00
Guy Harris 730b524545 From Jean-Baptiste Marchand: MS Eventlog support.
svn path=/trunk/; revision=11369
2004-07-13 05:29:23 +00:00
Guy Harris 7fb47f314f From Jean-Baptiste Marchand: frsrpc and frsapi support.
svn path=/trunk/; revision=11360
2004-07-10 07:16:55 +00:00
Guy Harris 50ac581613 "length" is relative to the start of the field, so don't subtract the
start of the field from it.

svn path=/trunk/; revision=11354
2004-07-09 21:52:03 +00:00
Gerald Combs e7eaa72a89 Add more entries.
svn path=/trunk/; revision=11350
2004-07-09 18:42:35 +00:00
Ulf Lamping 7c73a1552b remove doxygen output dir "html" on make clean
svn path=/trunk/; revision=11332
2004-07-07 16:23:13 +00:00
Gerald Combs 2b53a88bf8 From Dinesh Dutt:
- conversation.[ch] - To support not setting port2 on matching a
      conversation. This is used by protocols such as iSNS in which the client
      registers a TCP/UDP port with the server for notifications and the server
      sends notifications to this port from different source ports.
    - packet-isns.c - Added support for handling zero-length TLVs and ESI & SCN
      frames (when registering an SCN/ESI port, a conversation dissector is
      setup).

svn path=/trunk/; revision=11320
2004-07-06 19:01:32 +00:00
Ulf Lamping 97c4ef6cfb bugfix: don't try to print data, if tvb is too short
svn path=/trunk/; revision=11318
2004-07-05 16:42:19 +00:00
Guy Harris b373ded136 From Jouni Malinen: add columns for the 802.11 data rate and signal
strength for AVS headers.

Also add them for the Prism and Radiotap headers, and for the
pseudo-header from non-native captures.

svn path=/trunk/; revision=11316
2004-07-05 09:29:06 +00:00
Michael Tüxen fb34bc1386 Add support for ENRP according to
draft-ietf-rserpool-common-param-06.txt
  draft-ietf-rserpool-enrp-08.txt

svn path=/trunk/; revision=11312
2004-07-04 20:46:05 +00:00
Guy Harris 003ecf68bb Instead of using pointer casts in the slab allocator stuff, add a
"SLAB_ITEM_TYPE_DEFINE()" macro to define a union of the type of object
for the slab and a pointer to an object of that union type, and use that
type for items on the slab allocator free lists; that *should* avoid
having the compiler think two pointers to an item being added to or
removed from the free list don't point to the same object just because
they have different types.

svn path=/trunk/; revision=11306
2004-07-04 02:29:43 +00:00
Guy Harris 456c6cab66 Make the "SLAB_ALLOC()" and "SLAB_FREE()" macros take the type of the
object being allocated, rather than the name of the free list, as an
argument (with the name of the free list constructed from the name of
the type), and add macros to define and declare the free list, also
taking the type of the object being allocated.

svn path=/trunk/; revision=11305
2004-07-04 00:28:11 +00:00
Jörg Mayer 65598a0e7f Doxygen filenames changed
svn path=/trunk/; revision=11293
2004-07-01 08:04:47 +00:00
Guy Harris 504354fd2d From Jon Oberheide: giFT support.
svn path=/trunk/; revision=11290
2004-07-01 06:28:27 +00:00
Guy Harris 6feb4e2751 Add "crc16_ccitt_tvb()" to the plugin API and the list of functions
exported from libethereal.dll.

svn path=/trunk/; revision=11280
2004-06-30 08:22:56 +00:00
Anders Broman 5b0f3ea328 Add dissector for Signaling Compression (SigComp) dissection, RFC3320.
It does not decompress the compressed message it only displays the
uploaded bytecode for the UDVM ( Universal Decompressor Virtual Machine )

svn path=/trunk/; revision=11261
2004-06-28 22:41:10 +00:00
Guy Harris 7c097187c9 From Graeme Hewson: prevent an assertion failure if a display filter
specifies [i:] and i is >= the length of the frame.

svn path=/trunk/; revision=11258
2004-06-28 06:01:33 +00:00
Guy Harris 7737b1382d From Laurent Rabret: replace "lib" with "link /lib"; "lib" is just a
wrapper around "link /lib", and not all Microsoft C compiler
distributions provide "lib".

svn path=/trunk/; revision=11242
2004-06-26 02:16:16 +00:00
Ronnie Sahlberg 05539c4c90 Update to the makefiles to pull in the crc16 helper for use by SIR and later others
svn path=/trunk/; revision=11239
2004-06-25 07:19:47 +00:00
Jörg Mayer 392a0d43c0 doxygen changes:
- moved doxygen.cfg to doxygen.cfg.in and let configure to the substitution
  on unix. Adapted the namke files accordingly.
- Don't add doxygen as a dependency for libethereal and libui: As doxygen is
  an unconditional target, this would cause the applications to be rebuild
  every time make was called, even when nothing changed in the meantime.
  This means that by now we need to do "make doxygen" manually in case we
  want updated documentation.

svn path=/trunk/; revision=11238
2004-06-25 07:10:55 +00:00
Jörg Mayer 021f72021e Fix automagically generated filters in case of remote login via IPv6.
This fix was picked from the source rpm of Suse 9.1.

svn path=/trunk/; revision=11234
2004-06-25 07:00:54 +00:00
Ronnie Sahlberg e790073f3a Updates from Richard v d Hoff
IAX2 updates and a CRC16 routine

svn path=/trunk/; revision=11233
2004-06-25 06:31:47 +00:00
Ronnie Sahlberg 9c880121eb from tomas k
updates to the asn2eth compiler and a new regenerated h235 dissector

svn path=/trunk/; revision=11231
2004-06-24 21:50:05 +00:00
Guy Harris b93965db56 From Dennis Lim: add routines used by dissectors for ONC RPC protocols
to the plugin API.

Add them to the list of routines exported from the libethereal DLL on
Windows as well.

svn path=/trunk/; revision=11186
2004-06-19 10:13:52 +00:00
Guy Harris 7002776572 Pick up the stuff I did for tcpdump to figure out the right strings to
use to format 64-bit integers.

Fix the RSVP dissector to use that rather than hardcoding "%ll" in.

Remove the "only if G_HAVE_GINT64 is defined" bit from the discussion of
64-bit integers - we're too dependent on having them to support
compilers that don't have a 64-bit integral data type.  Do, however,
note that neither "long" nor "long long" are acceptable, and also note
that you shouldn't assume "%ll" does the trick for printing them.

svn path=/trunk/; revision=11182
2004-06-19 00:07:23 +00:00
Jörg Mayer 7abd8a323d Link the Kerberos into the main app, not libethereal
svn path=/trunk/; revision=11164
2004-06-17 08:53:42 +00:00
Guy Harris e656facb26 As long as any text has been put into a time interval string, the next
clause we add will have to have ", " separating it from the text before
it.

svn path=/trunk/; revision=11160
2004-06-16 23:09:43 +00:00
Guy Harris 7e128ddeb3 Note that the reason why there's parser state that stays around after
the parse finishes (forcing us to feed the parser an end-of-input even
after an error) is that we don't create a new parser object when we
start a new parse and don't destroy it when the parse finishes.

svn path=/trunk/; revision=11156
2004-06-16 07:33:46 +00:00
Guy Harris 95391789a3 From Graeme Hewson:
Add a #define to enable parser tracing.

	Clean up parser state when finished parsing, even if we stopped
	parsing due to a syntax error, so that there's nothing left
	around to screw up the next parse.

svn path=/trunk/; revision=11152
2004-06-15 10:38:14 +00:00
Guy Harris 6ce3f952e0 From Graeme Hewson: fix a debug message.
svn path=/trunk/; revision=11151
2004-06-15 10:16:10 +00:00
Jörg Mayer 7aac8b9e7d Hack to remove epan/config.h
svn path=/trunk/; revision=11138
2004-06-11 15:23:42 +00:00
Gerald Combs 733b1556ce Remove config.nmake dependencies from epan/Makefile.am and gtk/Makefile.am.
svn path=/trunk/; revision=11130
2004-06-09 19:20:46 +00:00
Gerald Combs 058b3c5582 Add Automake/Autoconf Doxygen targets.
svn path=/trunk/; revision=11128
2004-06-09 03:08:13 +00:00
Ulf Lamping 6aba0658ee add details for doxygen
svn path=/trunk/; revision=11127
2004-06-08 05:42:57 +00:00
Gerald Combs 4a0a8b7e72 Add a "force_separators" parameter to hex_str_to_bytes so that it's
possible to paste in WEP keys without any separators.

Add doxygen comments to strutil.h.

svn path=/trunk/; revision=11123
2004-06-06 14:29:07 +00:00
Ronnie Sahlberg 4e56f1b418 New protocol : DNP
From Graham Bloice

svn path=/trunk/; revision=11099
2004-06-04 00:12:12 +00:00
Gerald Combs e458d288cf From Lars Roland: Add have_tap_listeners() and rtp_payload_type_vals
to libethereal.def.

svn path=/trunk/; revision=11092
2004-06-03 16:29:39 +00:00
Guy Harris e1e690ff3a From Graeme Hewson:
Use gint32 instead of guint32 for node data.

Fix up some other signed-vs-unsigned issues in the display filter
parser and lexical analyzer.

svn path=/trunk/; revision=11085
2004-06-03 07:36:25 +00:00
Guy Harris e6e3ff60f5 From Graeme Hewson:
Fix assertion failure when absolute value of negative slice
     offset > field length.

     Remove code for handling negative slice lengths.

svn path=/trunk/; revision=11084
2004-06-03 07:34:49 +00:00
Guy Harris 53cb6eeb54 From Graeme Hewson:
Check slice lengths as well as offsets.  Disallow negative/zero
     lengths.

     Range on RHS of display filter expression wasn't being checked in
     every case.

svn path=/trunk/; revision=11083
2004-06-03 07:33:46 +00:00
Guy Harris c02072be2c From Graeme Hewson:
Use gint32 instead of guint32 and strtol() instead of strtoul()
     for signed integers.

     Pathological slice specifications could cause Flex default rule
     to be invoked, echoing characters to stdout.
     Example: frame[0foo]==1

svn path=/trunk/; revision=11082
2004-06-03 07:17:24 +00:00
Ulf Lamping c5196c4a76 split doxygen.cfg into common Ethereal things and module specifics
svn path=/trunk/; revision=11044
2004-05-31 13:42:17 +00:00
Ronnie Sahlberg 98e3ae148c H.235 dissector from Tomas compiler script.
This should make H.235 semicomplete and make a lot more H.225 packets dissect properly.

Please test.

svn path=/trunk/; revision=10993
2004-05-25 10:09:04 +00:00
Guy Harris f265eea4b7 From Lars Roland: add some more .cvsignore items.
svn path=/trunk/; revision=10975
2004-05-23 22:06:33 +00:00
Guy Harris d346faf38a From Gisle Vanem: export more functions from libethereal, as they're
needed by Ethereal itself.

svn path=/trunk/; revision=10956
2004-05-22 08:12:33 +00:00
Guy Harris 8f4a65ae86 Get rid of a no-longer-used variable.
svn path=/trunk/; revision=10938
2004-05-21 00:39:33 +00:00
Guy Harris 9f05c2598f "datafile_dir" in "init_plugins()" is used regardless of whether we're
on Windows or UN*X - don't #ifdef it.

Clean up the #ifdefs in "get_plugins_global_dir()".

Clean up white space.

svn path=/trunk/; revision=10931
2004-05-20 22:37:45 +00:00
Ulf Lamping 957ebcf71d separate dir functions from the plugin init,
put this and some other dirs in the about dialog

svn path=/trunk/; revision=10928
2004-05-20 13:48:25 +00:00
Ulf Lamping 2db4111d3d code cleanup
svn path=/trunk/; revision=10927
2004-05-20 13:43:14 +00:00
Ronnie Sahlberg 62f9ddcbc2 New protocol : PacketCable : PKTC
The AP-REQ and AP_REP packets are partially dissected up to and including the kerberos blob.

work in progress

svn path=/trunk/; revision=10916
2004-05-18 08:22:27 +00:00
Guy Harris f3a8b09eac From Gisle Vanem: export dfilter_dump from libethereal for the benefit
of dftest.

svn path=/trunk/; revision=10908
2004-05-15 21:57:52 +00:00
Ulf Lamping 8da8e54fa6 remove FI_LINK again,
as this info can be derived from the presence of the FT_FRAMENUM field

svn path=/trunk/; revision=10901
2004-05-15 00:52:02 +00:00
Ulf Lamping 1314808bd5 add support to link from specially marked fields to related packets,
a doubleclick will follow the link

svn path=/trunk/; revision=10892
2004-05-14 15:55:37 +00:00
Gerald Combs 939512198d From Carlos Pignataro: Add MPLS Echo support.
svn path=/trunk/; revision=10876
2004-05-13 20:20:34 +00:00
Ulf Lamping b0dd8e1e49 use sed to create a temporary doxygen config file,
to get the version number from ..\config.nmake

svn path=/trunk/; revision=10865
2004-05-13 10:10:28 +00:00
Gerald Combs fa3bc245fd Bump the version up to 0.10.4. Preliminary updates to the NEWS file. Updates
welcome.

svn path=/trunk/; revision=10863
2004-05-13 03:34:14 +00:00
Gerald Combs b17c24f450 From Dominic B�chaz: IEEE 1588 (Precision Time Protocol) support.
svn path=/trunk/; revision=10857
2004-05-12 03:37:28 +00:00
Guy Harris 1b6c7006d7 From Lars Roland: add the libethereal .def file to the list of files
included in the distribution.

svn path=/trunk/; revision=10852
2004-05-11 11:19:26 +00:00
Guy Harris 38a66b2157 From Lars Roland: ignore the libethereal DLL and export file in CVS.
svn path=/trunk/; revision=10851
2004-05-11 11:04:39 +00:00
Ulf Lamping e045c4a596 add the new doxygen.cfg file to the EXTRA_DIST files
svn path=/trunk/; revision=10844
2004-05-11 01:00:51 +00:00
Ulf Lamping 5ee3261e79 experimental doxygen support
svn path=/trunk/; revision=10843
2004-05-11 00:56:52 +00:00
Ulf Lamping 576c374213 adding a doxygen target
svn path=/trunk/; revision=10842
2004-05-11 00:53:12 +00:00
Ulf Lamping 8228cd1b79 prepared for generate documentation using doxygen,
added lot's of new (hopefully correct) comments

svn path=/trunk/; revision=10841
2004-05-10 23:13:55 +00:00
Olivier Biot 687f3af0f2 From Jerry Talkington: speed up tvb_uncompress() by increasing the minimal
and default uncompression buffer.

svn path=/trunk/; revision=10839
2004-05-10 22:14:07 +00:00
Ulf Lamping b3dc21eb5f use GNUC_FORMAT_CHECK in every appropriate function
svn path=/trunk/; revision=10838
2004-05-10 14:02:17 +00:00
Ulf Lamping 685195c073 first try to get rid of annoying double definition of the proto_tree_add_xy_fromat functions,
because of GNUC printf format checks

svn path=/trunk/; revision=10837
2004-05-10 08:29:18 +00:00
Guy Harris cb6f40213b From Lars Roland: fix some MSVC build problems.
svn path=/trunk/; revision=10835
2004-05-09 18:54:00 +00:00
Guy Harris 15af0f656f From Lars Roland: add support for building a libethereal.dll with MSVC:
add a config.nmake option to control whether to build
	libethereal.dll or not;

	remove "./wiretap" from PATH to prevent problems due to
	wrongly-loaded files;

	build dissector.lib with MSVC;

	move "print.c" and "ps.c" to the dissector helpers, as "print.c"
	imports variables from packet-frame.c and packet-data.c, which
	are in libethereal;

	move "g711.c" out of the dissector helpers, as they're used only
	by Ethereal in a tap, not in Tethereal or in any dissector;

	add a .def file for libethereal;

	arrange to declare global variables exported from libethereal
	with "__declspec(dllimport)" when building programs that import
	those variables;

	update the NSIS installer.

Make the "configure" script define ETH_VAR_IMPORT as "extern".

svn path=/trunk/; revision=10834
2004-05-09 10:03:41 +00:00
Ulf Lamping b964421aec added changed some comments to better reflect current "behaviour"
svn path=/trunk/; revision=10833
2004-05-09 09:26:31 +00:00
Guy Harris 62f5077dc3 From Graeme Hewson:
Fix off-by-one errors in slice_func

svn path=/trunk/; revision=10831
2004-05-09 08:29:48 +00:00
Guy Harris 35cf424c08 From Graeme Hewson:
"aim.fnac.ssi.buddyname==ab" caused segmentation fault.  Fix
     handling of unparsed value as byte string.

svn path=/trunk/; revision=10830
2004-05-09 08:25:52 +00:00
Guy Harris af3885bcf1 From Graeme Hewson:
Error if protocol specified on RHS of display filter comparison.
     If user specified "fc", they probably intended a byte value rather than
     the fibre channel protocol; fix makes mistake clear.

     Fix assertion failure with range on LHS of display filter comparison
     and field on RHS.

svn path=/trunk/; revision=10829
2004-05-09 08:17:32 +00:00
Guy Harris 4befb390d1 From Graeme Hewson: get rid of unnecessary check (it's necessary for
octal, as the maximum of 3 octal digits can be more than 0377, but not
necessary for hex, as the maximum of 2 hex digits can't be more than
0xff).

svn path=/trunk/; revision=10827
2004-05-08 22:03:43 +00:00
Gerald Combs ca78495f89 Don't try to include epan/config.h.win32 in the distribution.
svn path=/trunk/; revision=10826
2004-05-08 21:43:38 +00:00
Olivier Biot 9ee716dfb5 Add the valuable input from Gilbert Ramirez in reply to questions I had when
thinking at implemeting an "in" display filter operation.

svn path=/trunk/; revision=10820
2004-05-08 11:40:29 +00:00
Guy Harris 8968956aa1 From Rich Coe: DICOM support.
svn path=/trunk/; revision=10818
2004-05-08 08:49:02 +00:00
Olivier Biot 463597f54a Memory management of tvb_uncompress() needs tvb_set_free_cb().
svn path=/trunk/; revision=10817
2004-05-07 18:15:24 +00:00
Ulf Lamping b0fdecd698 did some code cleanup, added some comments from value_string.c
svn path=/trunk/; revision=10813
2004-05-07 11:34:10 +00:00