Commit Graph

68 Commits

Author SHA1 Message Date
Jörg Mayer 444fd68eb8 Forgot to remove gdebug.h from Makefile.common too
svn path=/trunk/; revision=15212
2005-08-04 21:54:00 +00:00
Anders Broman 32f826a7ce From Richard van der Hoff:
Among the improvements are:
- fixes to call-tracking (it's now less likely to confuse two separate 
calls, for instance)
- improvements to Information Element dissection (clearer dissection, 
dissects more IE types, easier to extend)
- you can now filter on the content of DTMF packets
- Analysis of timestamps (calculation of absolute timestamp, and packet 
lateness).
- fixed a couple of assertion failures in subtle corner-cases.

negative relative times:
   - get_timedelta()
   - addtime()
   - ftype-time.c:relative_val_from_unparsed()

I've also moved get_timedelta() and addtime() out of calldata.c into a 
new file, epan/nstime.c, as I needed to use them in a dissector I'm 
working on (and they therefore needed to go into libethereal).

svn path=/trunk/; revision=15201
2005-08-03 20:37:28 +00:00
Ronnie Sahlberg c841beb71b EMEM : a simple and FAST api to allocate memory that will be automatically freed() when the next packet is dissected.
This offesr memory allocation with a packet  scope making memory leaks less likely and memory management faster.


Add initialization calls for both tethereal and ethereal.

Convert the ip_to_str() function to use this and avoid doing the silly rotating buffers thing it previously did.


We also need an equivalent set of functions for allocation with capture file scope (free when next capture is loaded) but i dont know where to put the free_all call.



svn path=/trunk/; revision=14984
2005-07-22 07:46:58 +00:00
Luis Ontanon 853501a452 Radius Dictionary Support
Part 3: the makefiles


svn path=/trunk/; revision=14926
2005-07-15 21:18:32 +00:00
Luis Ontanon 51913513e2 Get stats_tree compiled
svn path=/trunk/; revision=13507
2005-02-25 04:02:00 +00:00
Lars Roland 338bda08bd clean up makefiles.
especially /trunk/Makefile.nmake doesn't have to include
/trunk/epan/Makefile.common anymore.

svn path=/trunk/; revision=13368
2005-02-10 01:26:19 +00:00
Lars Roland ec9ca01616 Move the following files from /trunk to /trunk/epan:
asn1.[ch]
follow.[ch]
ptvcursor.[ch]
reassemble.[ch]
xmlstub.[ch]

fix #include statements accordingly.

svn path=/trunk/; revision=13366
2005-02-09 23:38:00 +00:00
Lars Roland fe83d6527b Move h225-persistentdata.[ch] to epan,
as its code is linked into libethereal.dll.

svn path=/trunk/; revision=13354
2005-02-08 19:36:20 +00:00
Guy Harris 1220516388 From Yaniv Kaul: add Ethernet address-to-name (or, at least, address-to-
vendor-name-and-next-three-bytes-in-hex) resolution for Ethernet/802.x
hardware addresses.

Move the ARP hardware types into a header file, for use by dissectors
other than the ARP dissector.

svn path=/trunk/; revision=12839
2004-12-26 22:26:02 +00:00
Anders Broman 136da6ad35 Add sigcomp Universal Decompressor Virtual Machine (UDVM) and state handler, for decompression of
sigcomp messages. Currently states are or not saved so only messages with bytecode can be decompressed.

svn path=/trunk/; revision=12236
2004-10-08 15:54:06 +00:00
Guy Harris 92ee993e82 "prefs-int.h" belongs in epan, too.
svn path=/trunk/; revision=12168
2004-10-01 08:33:53 +00:00
Guy Harris 915ebf2ca3 Move the #defines for SMI Network Management Private Enterprise Codes
for organizations to an <epan/sminmpec.h> header, and add in the ones
that were used (without #defines) in the Diameter dissector.

Merge the value_string tables for them from the Diameter and Radius
dissectors into epan/sminmpec.c and merge them.

Use that value_string table in the Diameter and Radius dissectors.

Constify some stuff in the Diameter dissector.

svn path=/trunk/; revision=12159
2004-09-30 20:27:47 +00:00
Guy Harris 7f5b234c5c Move the column preferences stuff to epan (the rest of the preferences
stuff is already there).

Update Gerald's e-mail address in column.h.

svn path=/trunk/; revision=12131
2004-09-29 02:54:22 +00:00
Guy Harris eaadcc4c62 Move various tables into the epan directory.
svn path=/trunk/; revision=12130
2004-09-29 00:52:45 +00:00
Guy Harris 31158d0d0e Move the request/response header helper routines to the epan directory.
svn path=/trunk/; revision=12129
2004-09-29 00:25:05 +00:00
Guy Harris 6472876ab3 Move the tap infrastructure to the epan directory.
svn path=/trunk/; revision=12128
2004-09-29 00:06:36 +00:00
Guy Harris 53ab91826b Move the xDLC helper routines into epan.
svn path=/trunk/; revision=12127
2004-09-28 23:48:02 +00:00
Guy Harris 3ae3e70070 Move the SHA-1 code and header into epan, and give them RCS IDs.
svn path=/trunk/; revision=12125
2004-09-28 23:20:14 +00:00
Guy Harris ac98f225a8 Move various checksum routines and headers to epan.
svn path=/trunk/; revision=12117
2004-09-28 00:06:32 +00:00
Guy Harris d3f5261971 Move the DES, MD4, MD5, and RC4 source files and headers into epan, and
make the source files all include the corresponding header files (so
that the declarations in the headers have to match the definitions in
the source files in order for compilation to succeed).

svn path=/trunk/; revision=12116
2004-09-27 23:29:22 +00:00
Guy Harris bbe7f89742 Move prefs.c and prefs.h into the epan subdirectory.
svn path=/trunk/; revision=12115
2004-09-27 22:55:15 +00:00
Guy Harris f8b5b6a389 Nothing in "util.h" is needed by anything in libethereal, so don't put
it into libethereal - have it as common code linked into Ethereal,
Tethereal, and dftest.

svn path=/trunk/; revision=11961
2004-09-11 00:00:06 +00:00
Guy Harris fe3b7d73ed Move the base-64 routines to "epan/base64.c".
svn path=/trunk/; revision=11960
2004-09-10 23:16:00 +00:00
Guy Harris ac982aa7a5 Move the stuff to handle ASCII <-> EBCDIC conversions to
"epan/charsets.c"; other character set translation code should perhaps
go there as well.

svn path=/trunk/; revision=11958
2004-09-10 22:59:37 +00:00
Anders Broman 91fadca3f1 Add SHA1 routines for future use, at least by SigComp
svn path=/trunk/; revision=11949
2004-09-09 19:19:50 +00:00
Guy Harris f06c1b5fb0 The packet range stuff knows about capture_file structures, so it's
really more of an Ethereal/Tethereal component than a libethereal
component (nothing else in libethereal knows about capture files); move
it back out of libethereal.  (The range stuff doesn't; we leave it in
libethereal.)

svn path=/trunk/; revision=11898
2004-09-04 20:02:11 +00:00
Guy Harris 3c7631aa32 Split the pure range stuff out into separate files, exporting their own
functions.

svn path=/trunk/; revision=11892
2004-09-04 01:32:13 +00:00
Guy Harris 478ba9a691 Rename "range.c" and "range.h" to "packet-range.c" and "packet-range.h";
they should ultimately be split into files with routines that handle
ranges, which are just subsets of [0,2^32), and packet ranges, which are
subsets of the packet list, possibly specified by a range.

Move them into epan, so they can be used by, for example, utilities that
handle ranges, such editcap.

svn path=/trunk/; revision=11890
2004-09-04 00:53:16 +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
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
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
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 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
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 504354fd2d From Jon Oberheide: giFT support.
svn path=/trunk/; revision=11290
2004-07-01 06:28:27 +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
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
Ronnie Sahlberg 4e56f1b418 New protocol : DNP
From Graham Bloice

svn path=/trunk/; revision=11099
2004-06-04 00:12:12 +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
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
Gerald Combs 939512198d From Carlos Pignataro: Add MPLS Echo support.
svn path=/trunk/; revision=10876
2004-05-13 20:20:34 +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 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
Guy Harris 8968956aa1 From Rich Coe: DICOM support.
svn path=/trunk/; revision=10818
2004-05-08 08:49:02 +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 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
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