Commit graph

1243 commits

Author SHA1 Message Date
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
Olivier Biot
461fd185f0 Get rid of epan/config.h.win32.
svn path=/trunk/; revision=10808
2004-05-06 20:50:39 +00:00
Olivier Biot
388aaadcb7 Get rid of epan/config.h.win32.
Fix a missing ZLIB_CFLAGS in epan/Makefile.nmake.

svn path=/trunk/; revision=10807
2004-05-06 20:48:36 +00:00
Olivier Biot
77449b1085 From Kendy Kutzner: a char should be compared with '\0', not NULL.
svn path=/trunk/; revision=10806
2004-05-06 17:40:52 +00:00
Olivier Biot
659ac78357 From Jerry Talkington:
- Helper functions for uncompressing compressed tvbuffers.

	- Compressed content coding dissection in HTTP.

svn path=/trunk/; revision=10799
2004-05-05 06:55:09 +00:00
Guy Harris
fa0624b1be Make sure the character values we pass to "isprint()" aren't
sign-extended.

svn path=/trunk/; revision=10767
2004-05-02 07:31:59 +00:00
Guy Harris
67371b5306 GLib 1.2[.x]'s "g_string_free()" doesn't return a value.
svn path=/trunk/; revision=10765
2004-05-01 23:56:03 +00:00
Guy Harris
8e9d0bd9b6 From metatech:
for the MQ dissector:
	- PDU desegmentation;
	- XA messages;
	- Netbios, SPX, HTTP support;
	- Subdissector table;

    dissector for the MQ Programmable Command Formats protocol.

svn path=/trunk/; revision=10761
2004-05-01 21:18:10 +00:00
Olivier Biot
2650b49679 Add an XML escaping routine: xml_escape()
svn path=/trunk/; revision=10759
2004-05-01 20:46:24 +00:00
Olivier Biot
8d29376f42 Squelch a compiler warning (extraneous extern on struct).
Fix the PROTO_ITEM_IS_XXX and PROTO_ITEM_SET_XXX macros by replacing
the if(x) with trigraphs so the macros can still be used in subsequent
conditional tests.

svn path=/trunk/; revision=10758
2004-05-01 20:15:56 +00:00
Ulf Lamping
6faeb75881 prevent null pointer exception
svn path=/trunk/; revision=10755
2004-05-01 18:39:07 +00:00
Ulf Lamping
d9118dc089 add PROTO_ITEM_SET_HIDDEN() and PROTO_ITEM_SET_GENERATED(),
this sets flags for later rendering of the field data

svn path=/trunk/; revision=10752
2004-05-01 15:15:08 +00:00
Olivier Biot
c4480c0c11 Add a generic media dissector. The dissectors trying to find a suitable
media dissector for a given media type (value of a Content-Type header)
must provide the logic to fall-back to this media dissector upon no match.

Note that you must set the pinfo->match_string to the media type name,
and if the media type is specified with parameters, then those parameters
can be added to pinfo->private_data. If there are no parameters, or the
parameter decoding is not implemented, you must set pinfo->private_data
to NULL.

Known TODOs:

 - Fix the WSP parameter handling so it accompanies any media dissector.
   Simplest approach is to retrieve the header field label from the WSP
   Content-Type field and to search for a semicolon in it (or by using
   the string length of the content type string representation).

 - Verify that that subdissection always works in the WSP dissector,
   even when the protocol tree is not being built.

 - Implement the media dissector in the remaining dissectors that use the
   media type string table.

svn path=/trunk/; revision=10743
2004-04-30 17:07:21 +00:00
Ulf Lamping
37fc156dc6 removed unused things
svn path=/trunk/; revision=10740
2004-04-30 06:56:15 +00:00
Ronnie Sahlberg
4452f3064e From JBM
Dissection of the EncryptedFileSystem dce/rpc interface.

This dissector also contains a complete and fully tested IDL definition for
the entire interface.

svn path=/trunk/; revision=10734
2004-04-29 22:40:21 +00:00
Gilbert Ramirez
fb571671d2 When producing a display-filter representation of an FT_STRING*, represent
any non-printable character in hex, as "\xNN". We rely on isprint(), which
may not be the best solution because it is locale-specific.

svn path=/trunk/; revision=10707
2004-04-26 02:09:37 +00:00
Gilbert Ramirez
f31ddecf91 Add support for flex 2.5.31.
svn path=/trunk/; revision=10684
2004-04-25 04:53:42 +00:00
Ulf Lamping
049b0f9cf3 added a byte count output to the packet details notebook tabs
(only visible if desegmenting activated)

svn path=/trunk/; revision=10675
2004-04-23 19:47:11 +00:00
Guy Harris
c6aeb05249 From Michael Lum:
ANSI and GSM MAP stats enhancements and cleanups;

	enhanced parameter dissection related to SS for GSM A-interface
	and MAP;

	minor GSM SMS fix;

	GSM SS enhancements for parameter dissection;

	MTP3 statistics tap.

svn path=/trunk/; revision=10655
2004-04-21 05:53:59 +00:00
Guy Harris
aa11a2d8ea From metatech: basic BEA Tuxedo protocol support.
svn path=/trunk/; revision=10647
2004-04-20 05:07:23 +00:00
Guy Harris
ad8564846e From Lukas Pokorny: RTPS (Real-Time Publish-Subscribe) support.
svn path=/trunk/; revision=10630
2004-04-17 21:43:32 +00:00
Guy Harris
d209115ba3 Add a "report_failure()" routine to allow dissectors to report arbitrary
errors to the user.  Use that, rather than "g_warning()", in the
Diameter dissector to report errors reading the dictionary.

Make the format argument to "simple_dialog()" a "const" pointer.

Fix up the read-error message in Tethereal to end with a newline.

If a simple dialog is requested before the main window or the
capture-control window is popped up, queue it up and pop the queued
messages up once the main or capture-control window is displayed.

svn path=/trunk/; revision=10616
2004-04-16 23:17:13 +00:00
Olivier Biot
af4a73a523 At last compiling on CygWin works again! Added the missing PCRE and GLIB
libraries to libftypes.

Provide caching of computed configure tests.

svn path=/trunk/; revision=10600
2004-04-14 18:42:19 +00:00
Guy Harris
7cf08c6404 From Christian Falckenberg: GPRS SNDCP support.
svn path=/trunk/; revision=10591
2004-04-13 04:36:20 +00:00
Guy Harris
805b648172 From Josef Korelus: GPRS LLC support.
svn path=/trunk/; revision=10590
2004-04-13 04:21:30 +00:00
Guy Harris
a1d95cbec1 From Olivier Biot: support AT_STRINGZ columns.
svn path=/trunk/; revision=10544
2004-04-02 09:04:12 +00:00
Jörg Mayer
05956eb71c No longer needed after merging epan/configure.in into configure.in
svn path=/trunk/; revision=10530
2004-03-31 01:25:59 +00:00
Guy Harris
b8b4a6e3a8 From Michael Lum:
ANSI IS-801 support;

	dissect more GSM supplementary services messages and fields.

svn path=/trunk/; revision=10503
2004-03-27 11:32:30 +00:00
Guy Harris
044f075c66 From Tomas Kukosa: add APIs to get the parent of a protocol tree item
and the item N levels up from a protocol tree item.

svn path=/trunk/; revision=10486
2004-03-25 23:55:21 +00:00
Guy Harris
a6ed2d499a From Tomas Kukosa: BER dissector enhancements and proto.c updates to
support them.

From Ronnie Sahlberg: Kerberos updates with new constants from the
current draft, decryption and dissection of Kerberos blobs, and changes
to work with the changed BER dissector.

svn path=/trunk/; revision=10479
2004-03-25 09:18:03 +00:00
Olivier Biot
eee9dc26ac Fix the CLEANFILES target so both static and shared libraries are cleaned.
svn path=/trunk/; revision=10475
2004-03-24 21:27:44 +00:00
Guy Harris
121f06fab7 Make "epan_init()" take, as additional arguments, pointers to routines
that dissectors should call to report file open and read errors, and
have "report_open_failure()" and "report_read_failure()" call through
those pointers, rather than being defined and exported by the
application using libethereal - instead, the application would define
those functions and pass pointers to them to 'epan_init()".

Move "report_err.h" to the epan directory, as the functions it declares
are now part of the libethereal API.

svn path=/trunk/; revision=10470
2004-03-23 21:19:58 +00:00
Guy Harris
bf1315c256 From Yuri Sidelnikov: FTAM support.
svn path=/trunk/; revision=10469
2004-03-23 19:51:06 +00:00
Guy Harris
834543d7c7 Use "tvb_format_text()" to display strings, so we handle non-printable
characters.

Some strings appear to be null-padded; add a "tvb_format_stringzpad()"
routine to handle them, so that we don't show the padding characters as
"\000".

svn path=/trunk/; revision=10461
2004-03-23 18:06:29 +00:00
Guy Harris
13bb836ab9 From Jelmer Vernooij: split the AIM dissector into multiple files, and
add a few more SNACs.

svn path=/trunk/; revision=10450
2004-03-23 06:21:18 +00:00
Guy Harris
30b2831847 Add support for DLT_APPLE_IP_OVER_IEEE_1394.
svn path=/trunk/; revision=10446
2004-03-23 01:02:41 +00:00
Gerald Combs
8e5a56a881 Add Makefile.common to the distribution.
svn path=/trunk/; revision=10440
2004-03-22 21:29:52 +00:00
Gerald Combs
233dadebd3 From Lars Roland: Fix a couple of MSVC build problems.
svn path=/trunk/; revision=10439
2004-03-22 20:35:07 +00:00
Gerald Combs
4c0ecdcd9b Bump the version up to 0.10.3.
svn path=/trunk/; revision=10436
2004-03-22 17:03:30 +00:00
Nathan Neulinger
51c2041aa1 add support for dissecting multicast sync packets for Linux IPVS
svn path=/trunk/; revision=10425
2004-03-21 17:13:01 +00:00
Jörg Mayer
1e1de04ffc Workaround for (at least) some RedHat platforms:
Add -lresolv in case it's missing but required by the heimdal libs.

svn path=/trunk/; revision=10420
2004-03-20 10:32:02 +00:00
Guy Harris
b88934db25 Make "timestamp_type" static, as all access to it should be through the
routines in this file.

svn path=/trunk/; revision=10419
2004-03-20 08:32:03 +00:00
Guy Harris
11340a8122 From Michael Lum:
GSM A facility element decoding;

	make TCAP dissector export routines for use by various GSM
	dissectors;

	make GSM MAP dissector use exported TCAP routines/defines;

	GSM Supplementary Services support.

svn path=/trunk/; revision=10409
2004-03-19 07:54:58 +00:00
Olivier Biot
7b9f101a4a From Lars Roland: Move timestamp_type into libethereal and provide accessor
methods for getting and setting the timestamp type.

This is a move towards a real libethereal shared library.

svn path=/trunk/; revision=10403
2004-03-18 21:14:37 +00:00
Olivier Biot
11f9232336 From Lars Roland: Move timestamp_type into libethereal and provide accessor
methods for getting and setting the timestamp type.

This is a move towards a real libethereal shared library.

svn path=/trunk/; revision=10402
2004-03-18 19:04:33 +00:00
Guy Harris
4072ec7585 From Josh Bailey: IPDC support.
svn path=/trunk/; revision=10399
2004-03-18 08:25:09 +00:00
Jörg Mayer
9920ca9112 Experimental Heimdal Kerberos detection.
As this is experimental and does not yet work reliably this feature is
off by default. Enable it by using --with-krb5 during configure.
Please do not yet make use of this feature (i.e. please do not *use* the
defines provided by this option), until it has received further testing
and fixing.
Please run and check what the configure says.

svn path=/trunk/; revision=10395
2004-03-17 18:20:58 +00:00
Jörg Mayer
769d9df855 Add new docsis files for static build. This is currently necessary and
needs to be fixed.

svn path=/trunk/; revision=10393
2004-03-17 17:46:40 +00:00
Guy Harris
3c0839b99b From metatech: IBM WebSphere MQ protocol support.
svn path=/trunk/; revision=10386
2004-03-16 19:23:25 +00:00
Jörg Mayer
b7803c8fc6 Make libethereal and libwiretap shared libs.
svn path=/trunk/; revision=10368
2004-03-13 10:15:36 +00:00
Gerald Combs
3fe295ffd9 Add cvsversion.h, x11-declarations.h, and x11-register-info.h to
CLEANFILES so that "make distcheck" will work.

svn path=/trunk/; revision=10364
2004-03-12 16:31:35 +00:00
Guy Harris
48cd9f9358 Add support for DLT_ value 99, as used by the Axent Raptor
firewall/Symantec Enterprise Firewall.  Thanks, Axent/Symantec, for not
asking us for a DLT_ value and not telling us about the link-layer type.

svn path=/trunk/; revision=10361
2004-03-11 09:18:33 +00:00
Guy Harris
27656155b7 Add routines to process IPv{4,6}-address-and-prefix-length pairs,
masking out the appropriate bits in the address.

Use them in the BGP and EIGRP dissectors.

svn path=/trunk/; revision=10327
2004-03-06 03:25:10 +00:00
Guy Harris
2ac0597a25 From Ryuji Somegawa: CDMA2000 A11 support.
svn path=/trunk/; revision=10317
2004-03-05 10:56:16 +00:00
Guy Harris
3a993fca6c From Anders Broman: add a dissector for E.164 numbers, and use it in the
ISUP dissector, to allow filtering on E.164 numbers.

svn path=/trunk/; revision=10314
2004-03-05 10:29:36 +00:00
Jörg Mayer
b26eb741d3 Update x11 includes
svn path=/trunk/; revision=10305
2004-03-04 21:36:08 +00:00
Jörg Mayer
9ff6f3d593 Check for PERL in epan/configure.in
Fix generation of x11 includes.

svn path=/trunk/; revision=10301
2004-03-04 08:53:02 +00:00
Jörg Mayer
0974869dea Move the x11 generation into epan.
aclocal-missing isn't needed any more.

svn path=/trunk/; revision=10299
2004-03-04 08:26:20 +00:00
Guy Harris
36a9a266f4 From Tomas Kukosa: add packet-ber.c routines to the plugin API.
svn path=/trunk/; revision=10295
2004-03-04 07:07:57 +00:00
Guy Harris
03d1c9e781 Get rid of an out-of-date comment.
We only appear to need autoconf 2.52, not 2.53.

svn path=/trunk/; revision=10293
2004-03-04 06:30:14 +00:00
Jörg Mayer
84b5bd1e1d Jeff Morriss: Remove packet-ncp2222.c during maintainer-clean
svn path=/trunk/; revision=10288
2004-03-03 21:55:59 +00:00
Jörg Mayer
c4884cab89 Require autoconf 2.53 and automake 1.6
svn path=/trunk/; revision=10287
2004-03-03 21:35:57 +00:00
Jörg Mayer
2e0e2b30ab Jeff Morriss: Move generation of packet-ncp2222.c to epan to make things work again
svn path=/trunk/; revision=10283
2004-03-03 00:07:01 +00:00
Jörg Mayer
c90c1c6502 Jeff Morriss: Add PYTHON to epans configure
svn path=/trunk/; revision=10282
2004-03-02 23:53:10 +00:00
Ulf Lamping
f1df01f866 from Lars Roland: fix Makefiles.nmake after changes from Joerg
svn path=/trunk/; revision=10277
2004-03-02 18:55:30 +00:00
Jörg Mayer
4dfe6dd749 The sources of the plugin are now in ../oldpath/file.c
svn path=/trunk/; revision=10276
2004-03-02 03:46:02 +00:00
Jörg Mayer
3d772ae427 Move register.c from from DISSECTOR_SRC to DISSECTOR_SUPPORT_SRC to avoid a circular dependency
svn path=/trunk/; revision=10275
2004-03-02 01:48:31 +00:00
Jörg Mayer
4a6e73c84a Move the dissectors into libethereal (no static/shared lib changes):
- Create epan/Makefile.common
- Move dissector_src and helper files from Makefile.common to
  epan/Makefile.common
- Create register.c in epan/
- link all the files into libethereal
- put plugin_src into epan/Makefile.am

Try to make rpms build with rpm v4 again (sorry, I've forgotten who to
attribute this to).

svn path=/trunk/; revision=10273
2004-03-02 01:21:56 +00:00
Jörg Mayer
89530865b8 Remove some obsolete _static files
svn path=/trunk/; revision=10271
2004-03-01 22:36:57 +00:00
Guy Harris
d4b00639d6 From Jeff Morriss:
support the ISUP CIC as a circuit ID;

	add a preference option to control whether to put the CIC into
	the Info column or not.

svn path=/trunk/; revision=10265
2004-02-29 08:47:11 +00:00
Guy Harris
7b7c0c2361 Not all dissector handles have protocols associated with them; check for
that before handing a null protocol handle to another routine.

svn path=/trunk/; revision=10258
2004-02-28 20:59:23 +00:00
Olivier Biot
1791f84919 First attempt at "bitwise AND" display filter operator.
Document how a display operator can be added.

svn path=/trunk/; revision=10250
2004-02-27 12:00:32 +00:00
Ronnie Sahlberg
c47f73364b with the cahnges to when to call the heuristic dissector
(and the fact that nbss does not register its conversation)
this caused WANT_PDU_TRACKING to be decremented multiple times between
the dissectors
and thus ethereal could no longer reliably spot SMB PDUs that started in the middle of a tcp segment (unless we do reassembly which we dont do unless we have to since it eats soo many resources)

FIX so that ethereal once again can spot SMB (and other) protocol PDUs that start in the middle of a segment.

svn path=/trunk/; revision=10219
2004-02-24 09:40:38 +00:00
Gerald Combs
d389b5207e Bump the version to 0.10.2
svn path=/trunk/; revision=10205
2004-02-23 21:53:05 +00:00
Guy Harris
5d2df19a7a From Peter J. Creath: add a convenience macro for value_string tables
where the values all have #defines or enum values and the corresponding
strings are just the #define or enum value names.

svn path=/trunk/; revision=10187
2004-02-22 22:45:21 +00:00
Gilbert Ramirez
5cfc41fd88 If the LHS is a STRING or UNPARSED string, and the RHS is a FIELD,
then make sure that the FIELD can participate in the relation that
is expressed in the display filter.

Note that tvbuff's *should* be able to participate in == comparisons, etc.,
but those functions need to be added to ftype-tvbuff.c first.

svn path=/trunk/; revision=10175
2004-02-22 03:04:41 +00:00
Guy Harris
6ab89ff776 Include "report_err.h" to declare "report_open_failure()" and
"report_read_failure()".

svn path=/trunk/; revision=10166
2004-02-21 11:13:54 +00:00
Guy Harris
d09c4c4eab Constify a bunch of stuff.
svn path=/trunk/; revision=10106
2004-02-19 05:19:10 +00:00
Gerald Combs
0fca486734 Bump the version to 0.10.1.
svn path=/trunk/; revision=10100
2004-02-19 00:28:15 +00:00
Guy Harris
75acdcbba0 As noted by Pavel Kankovsky, the "Resolve Name" menu items should be
available if *any* forms of name resolution aren't enabled.  (Well,
actually, it should probably affect only the item the mouse was over
when you selected it, and should be available if name resolution for
that type of name isn't enabled, but....)

svn path=/trunk/; revision=10056
2004-02-13 01:09:52 +00:00
Guy Harris
60096bfad9 Use -1 rather than 0 as the SCAN_FAILED return value from the lexical
analyzer on errors, and check for SCAN_FAILED from the lexical analyzer
and abort the parse if we see it; 0 means "end of input", and we want to
distinguish errors from end-of-input, so that we can report errors as
such.

If we see end-of-input while parsing a double-quoted string, report the
error (missing closing quote).

Fix the URL for the "Start conditions" section of the Flex manual.

svn path=/trunk/; revision=10044
2004-02-11 22:52:54 +00:00
Guy Harris
b9b4a23834 Make an existence test of an arbitrary entity syntactically valid, but
check, in the semantics-checking phase, that we're testing a field, so
that we can give a better message than, for example, "Unexpected end of
filter string." for an existence test with a misspelled field name.

svn path=/trunk/; revision=10043
2004-02-11 21:20:52 +00:00
Jörg Mayer
a02d03c089 Forgot *.la
svn path=/trunk/; revision=10012
2004-02-09 17:23:59 +00:00
Jörg Mayer
96ad35f100 Ignore shared dll stuff
svn path=/trunk/; revision=10011
2004-02-09 16:49:00 +00:00
Jörg Mayer
5804f15164 Move -pedandic & co back into extra-flags (prepare for dissectors moving to epan/)
svn path=/trunk/; revision=10007
2004-02-08 01:15:53 +00:00
Jörg Mayer
16970db9af Don't build as shared *and* static by default
svn path=/trunk/; revision=10004
2004-02-07 05:44:08 +00:00
Jörg Mayer
2a1cb9ce0f Ignore byproducts of shared lib compilation
svn path=/trunk/; revision=10003
2004-02-07 04:35:49 +00:00
Olivier Biot
3f1530d2d6 Add new col_append methods which will prepend the (format) string with the
provided separator (or a default ", ") if the column is not empty.

svn path=/trunk/; revision=9986
2004-02-05 23:57:15 +00:00
Guy Harris
1b36210318 We can't test the GTK+ version in dissectors or libethereal code, as
they don't include any GTK+ headers (and shouldn't do so, as they can't
use GTK+); we use the GLib version as a proxy.

svn path=/trunk/; revision=9982
2004-02-05 09:42:26 +00:00
Guy Harris
75ef17775d Cast the result of "tvb_get_ptr()" to squelch a compiler warning.
svn path=/trunk/; revision=9954
2004-02-01 22:42:24 +00:00
Guy Harris
87b219554e Make "tvb_strneql()" take a "gchar *" rather than a "guint8 *" as the
string argument.

Add some casts to squelch compiler warnings.

svn path=/trunk/; revision=9951
2004-02-01 21:30:17 +00:00
Jörg Mayer
38faa0f27b packet-dcerpc-afs4int.c
svn path=/trunk/; revision=9938
2004-02-01 06:49:25 +00:00
Jörg Mayer
d62f6c67da Add consts to fix 'cast discards qualifiers from pointer target type'
svn path=/trunk/; revision=9937
2004-02-01 04:54:48 +00:00
Jörg Mayer
4023150e25 signed/unsigend warning fixes
svn path=/trunk/; revision=9931
2004-02-01 02:35:30 +00:00
Jörg Mayer
d9b6e98297 Fix some pointer types
svn path=/trunk/; revision=9930
2004-02-01 02:35:06 +00:00
Guy Harris
f914e6e9e7 Fix the spelling of "cumulative" (and variables whose names derive from
that spelling).

svn path=/trunk/; revision=9917
2004-01-31 04:10:05 +00:00
Guy Harris
073a8b42ca Clean up whitespace, and use "%u" to print unsigned quantities.
svn path=/trunk/; revision=9900
2004-01-29 03:37:31 +00:00
Jörg Mayer
4189858920 Fix 'warning: cast discards qualifiers from pointer target type' by removing cast
svn path=/trunk/; revision=9845
2004-01-25 17:33:20 +00:00
Jörg Mayer
111f977cfa Remove the cast again and do the proper fix (add right type to union)
svn path=/trunk/; revision=9844
2004-01-25 17:22:57 +00:00
Jörg Mayer
21c1c34c02 Add a cast to avoid a signedness warning
svn path=/trunk/; revision=9843
2004-01-25 17:07:57 +00:00
Jörg Mayer
c61e9f6ed0 Change the first arg to hex_str_to_bytes from guchar* -> char*
svn path=/trunk/; revision=9842
2004-01-25 16:58:25 +00:00