Commit Graph

11919 Commits

Author SHA1 Message Date
Anders Broman 3dc86aaf55 From Miha Jemec: I implemented a H323 call decoder. Using the TAP system, it keeps track of each call, number of packets, setting filter and a more detailed analysis of each call.
svn path=/trunk/; revision=12141
2004-09-29 22:20:46 +00:00
Guy Harris 99392257b7 In "plugins/plugin_api.h", don't include stuff required for the plugin
address table if we don't need the plugin address table, so as to catch
plugin dissectors that don't directly include stuff they need -
eventually, the plugin address table stuff should completely go away, so
we don't want dissectors depending on it.

Fix those dissectors caught by this.

Don't include "simple_dialog.h" in the ASN.1 dissector - it doesn't use
it.

svn path=/trunk/; revision=12140
2004-09-29 22:20:21 +00:00
Guy Harris 444119dbcb From Lars Roland: add an option to link plugins with libethereal rather
than using the plugin address table.

svn path=/trunk/; revision=12139
2004-09-29 19:30:10 +00:00
Michael Tüxen 28a6169ff7 - Added support for version 08 of the ID (expired).
- Updated support for latest version to RFC 3868.

svn path=/trunk/; revision=12138
2004-09-29 18:08:18 +00:00
Guy Harris 54e48e1dbf Use the right name in the Checking... messages.
svn path=/trunk/; revision=12137
2004-09-29 17:45:48 +00:00
Guy Harris 46ba180b03 Put back the $KRB4_CONFIG call to set KRB5_LIBS.
svn path=/trunk/; revision=12136
2004-09-29 17:38:53 +00:00
Guy Harris 7bc922cf39 If we don't have more than 5 bytes in the message, don't put an entry in
the tree for an optional parameter pointer, as there isn't one.

svn path=/trunk/; revision=12135
2004-09-29 10:09:04 +00:00
Guy Harris 649ecd7e8c When testing whether the Heimdal library has krb5_kt_resolve (and
whether it requires -lresolv), restore LIBS after we're done regardless
of whether we found it or not - we use KRB5_LIBS in the Makefiles,
rather than adding the Kerberos libraries to LIBS directly.

svn path=/trunk/; revision=12134
2004-09-29 09:58:22 +00:00
Jörg Mayer adb216f19b Update manuf and FAQ
svn path=/trunk/; revision=12133
2004-09-29 07:11:16 +00:00
Anders Broman 1c79a15e3b Handle ANM message without optional parameter.
svn path=/trunk/; revision=12132
2004-09-29 06:42:28 +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 89dfea27d2 Normalize line endings and set svn:eol-style to native.
Set svn:keywords to Id to expand RCS IDs.

Include <string.h> to declare "strcmp()" and "strlen()".

svn path=/trunk/; revision=12126
2004-09-28 23:25:48 +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
Ulf Lamping 425462d5f6 add a warning, that patch and sources files must have the same line endings (CR/NL)
svn path=/trunk/; revision=12124
2004-09-28 18:34:00 +00:00
Ulf Lamping 28c4511d07 from Thomas Palmer: add a combobox for the recently used capture filter strings
svn path=/trunk/; revision=12123
2004-09-28 18:04:15 +00:00
Guy Harris 3ae1457881 From Carlos Pignataro:
o Add link type string for MPLS Link Type in MPLS Link sub-TLV
	o Decode MPLS Link Color/Resource sub-TLV
	o Add bps for bandwidths in Max BW and Max Reservable BW sub-TLVs
	o Display Type, Length Value for Unknown Link sub-TLV
	o Allow display filter on Link Type and Link Color

svn path=/trunk/; revision=12122
2004-09-28 17:57:56 +00:00
Guy Harris 7c7c04cc84 From Olivier Jacques:
- Add a configuration option for Diameter version. Currently,
	  the choice is between everything before draft-v16 and RFC3588.
	- Fix diameter-ip-address parsing depending on the Diameter
	  version (and showing decoding errors accordingly).
	- Change registration of Diameter from TCP and SCTP port 1812 to
	  TCP and SCTP port 3868 (this is according to RFC3588, section
	  11.5).

svn path=/trunk/; revision=12121
2004-09-28 17:52:36 +00:00
Guy Harris 0591bac4d2 From David Fort: ipseckey DNS RR support.
svn path=/trunk/; revision=12120
2004-09-28 10:28:01 +00:00
Guy Harris 9d71c8da5b If, when checking whether the Kerberos library is Heimdal or not, we
find it's not, always report "no", even if we're going to give up
because the user specified --with-krb5, so the "sorry, you don't have
Heimdal" message shows up on a line of its own.

svn path=/trunk/; revision=12119
2004-09-28 04:47:10 +00:00
Guy Harris 242499c091 If the user specified --with-krb5 but we don't have a usable Kerberos
library, don't disable dissection and drive on, report an error and
stop; --with-krb5 means "build this with Kerberos", not "build this with
Kerberos if you can" (no -krb5 option at all means "build this with
Kerberos if you can").

If they *didn't* specify --with-krb5 and we don't have a usable Kerberos
library, set want_krb5 to "no", so that at the end of the configure
script we don't say we're building with the Kerberos library (otherwise,
want_krb5 is "ifpresent", but the stuff to print the configuration
options treats anything other than "no" as meaning "yes").

svn path=/trunk/; revision=12118
2004-09-28 04:41:57 +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 0e3e50e1f7 "ethereal_stock_icons()" isn't used outside "gtk/toolbar.c" (and should
presumably only be called once in any case), so make it static.

svn path=/trunk/; revision=12114
2004-09-27 22:32:09 +00:00
Guy Harris 975e6f2bd1 At least in the screenshot at
http://ftp.gnome.org/pub/GNOME/teams/marketing/en/2004/two-eight-screenshots/html/g27-openwithhal.png

a "browse" button in GNOME has a label "Browse", and I think that's the
case in at least some Windows applications as well, so give browse
buttons "Browse" as a text label.

svn path=/trunk/; revision=12113
2004-09-27 22:21:31 +00:00
Ulf Lamping 0ea2f8e258 As the GTK Wimp default theme (since 0.6.1) won't display any icons in buttons any longer (which is typical for win applications), the browse button won't display anything for GTK2 now. Add some ... into it, which is also looking ok together with the stock icon on other platforms.
svn path=/trunk/; revision=12112
2004-09-27 19:44:24 +00:00
Ulf Lamping 365119bdd0 removed well_known.txt
svn path=/trunk/; revision=12111
2004-09-27 17:27:27 +00:00
Guy Harris fdfdd39080 Routines called by "g_node_traverse()" return a Boolean - FALSE to
continue traversing, TRUE to stop traversing - so make
"free_node_data()" return FALSE.

svn path=/trunk/; revision=12110
2004-09-27 08:30:25 +00:00
Guy Harris 1d400fd77f If "HAVE_PCAP_DATALINK_NAME_TO_VAL" is defined - i.e., if we're built
with a version of WinPcap that has "pcap_datalink_name_to_val()" - then,
if the version of WinPcap we've loaded doesn't have
"pcap_datalink_name_to_val()", supply our own version.  Do the
equivalent for "pcap_datalink_val_to_name()".

We do that so that we can build Ethereal with a recent version of
WinPcap, so that it uses the new APIs in newer versions, and still have
it work with older versions.

svn path=/trunk/; revision=12109
2004-09-27 01:11:23 +00:00
Guy Harris f62467ec34 Explicitly indicate when we're doing tests to see if UCD SNMP contains
sprint_realloc_objid(), and the extra libraries we're using with the
tests, along the lines of what we do with the Kerberos 5 library.

svn path=/trunk/; revision=12108
2004-09-26 22:30:46 +00:00
Guy Harris 5491cfb3df Fix a typo.
svn path=/trunk/; revision=12107
2004-09-26 22:28:23 +00:00
Guy Harris f3381337cc In the SNMP tests, we're using AC_TRY_LINK to avoid caching the results
of the test for sprint_realloc_objid() (so that a failure to find it
when we're not linking with extra libraries doesn't cause us to assume
we won't find it if we *do* link with extra libraries), so
"ac_cv_lib_snmp_sprint_realloc_objid" doesn't get set - set our own
variable for that.

Use AC_TRY_LINK rather than AC_CHECK_LIB in the Kerberos tests when
checking for krb_k5_resolve(), to avoid caching the results.

Improve the messages printed in the Kerberos tests to give more detail.

svn path=/trunk/; revision=12106
2004-09-26 20:30:44 +00:00
Guy Harris aa580a0cca Clean up a bunch of cruft in --with-ssl; make it more resemble other
--with flags.

Report, in the messages at the end of the configure script, whether
we're building with the SSL library.

If we fail to find "sprint_realloc_objid()" when linking with a
particular library, and --with-ssl wasn't specified, try linking with
-lcrypto as well and, if that succeeds, fail with an indication that UCD
SNMP requires -lcrypto but --with-ssl wasn't specified.

svn path=/trunk/; revision=12105
2004-09-26 04:00:20 +00:00
Guy Harris 64124c3adb Explicitly test whether we need -lresolv in order to link with -lkrb5.
Include -lresolv if we do, and don't include it if we don't.

Clean up some other things in the -lkrb5 macro.

svn path=/trunk/; revision=12104
2004-09-26 00:26:06 +00:00
Guy Harris b1bde8fe6a For annoying licensing reasons, we don't want to use -lcrypto unless the
user explicitly says to do so by using --with-ssl.  However, we *still*
don't want to just blithely replace -lcrypto with SSL_LIBS, so, if
KRB5_LIBS contains "-lcrypto" but SSL_LIBS isn't set to a non-empty
string, we report an error (the user can than either configure without
Kerberos or with -lcrypto).

svn path=/trunk/; revision=12103
2004-09-25 23:58:42 +00:00
Guy Harris 3bee1b0611 When applying preferences, we have to apply the protocol preferences
before applying any other preferences, as, before we've applied them,
the internal state of the preferences in some dissectors might be
inconsistent (for example, the 802.11 dissector might've had its
number-of-WEP-keys preference increased but might not yet have allocated
a table for the WEP keys), and, as "gui_prefs_apply()" could cause a
redissection when redisplaying, that could cause dissectors to
malfunction (e.g., crash).

svn path=/trunk/; revision=12102
2004-09-25 22:50:58 +00:00
Guy Harris 85d6e3905d Fetch the function from the correct offset.
svn path=/trunk/; revision=12101
2004-09-25 10:36:08 +00:00
Ulf Lamping 2d2b3d4f5a removed "Well Known" help page, as the content (and far more than that) moved to the wiki.
svn path=/trunk/; revision=12100
2004-09-25 10:15:08 +00:00
Guy Harris d0842822ad Don't just add "-lresolv" to KRB5_LIBS if it's missing - on some
platforms, it's missing because it's not needed, which is good because
it's not even *present* on those platforms (the resolver functions are
built into libc).  If there really are platforms where krb5-config is
broken to the extent that it doesn't list -lresolv when it's required,
the way to fix that is to try building a program with Heimdal and just
the krb5-config libraries and, if that fails, try building with those
libraries and -lresolv - if that works, add -lresolv to the list of
libraries.

Don't just replace -lcrypto with SSL_LIBS in KRB5_LIBS, as SSL_LIBS
might not contain any libraries - replace it only if SSL_LIBS is defined
as something.

svn path=/trunk/; revision=12099
2004-09-25 09:33:53 +00:00
Guy Harris 477eef9312 What part of "least significant octet first" do you not understand? :-)
(The part I didn't bother to notice.... :-))

svn path=/trunk/; revision=12098
2004-09-25 09:17:12 +00:00
Ulf Lamping db97602184 renamed dirs dg-src and ug-src to match output dirnames
svn path=/trunk/; revision=12097
2004-09-25 08:36:07 +00:00
Guy Harris ffb879cb16 From packet steve: label the GRE key as "GRE Key", so that
post-processing scripts can more easily distinguish it from other keys.

svn path=/trunk/; revision=12096
2004-09-25 08:03:23 +00:00
Guy Harris 2b823afb00 Fetch the handle for the data dissector, as we use it....
svn path=/trunk/; revision=12095
2004-09-25 08:01:00 +00:00
Guy Harris bd2d4088e2 From Tomas Kukosa: export ether_to_str() from libethereal.dll.
svn path=/trunk/; revision=12094
2004-09-25 07:43:12 +00:00
Guy Harris b39caf4b49 From Tomas Kukosa:
- pass only value (not tag and length) to subdissectors from the
	  snmp.variable_oid table
	- register the SNMP dissector

svn path=/trunk/; revision=12093
2004-09-25 07:41:58 +00:00
Ronnie Sahlberg 53912ffc47 fix bug in handling of offset for integers longer than 4 bytes
svn path=/trunk/; revision=12092
2004-09-25 02:44:45 +00:00