Commit Graph

11907 Commits

Author SHA1 Message Date
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
Ulf Lamping bec5f63f1c as the interface is usually fixed, or it can be selected by the interface drop down list, grab the keyboard focus at the filter string field.
svn path=/trunk/; revision=12091
2004-09-24 21:19:48 +00:00
Ulf Lamping a76b09c630 updated screenshot, as the last one had no icons on buttons
svn path=/trunk/; revision=12089
2004-09-24 20:18:06 +00:00
Ulf Lamping 29ade419f3 add some minor details
svn path=/trunk/; revision=12088
2004-09-24 19:21:18 +00:00
Ulf Lamping c14a35b07a Update help menu screenshot (wiki link) and add some notes about Web browser handling
svn path=/trunk/; revision=12087
2004-09-24 18:18:05 +00:00
Ulf Lamping 65f82a615f Use new win32 libs from anonsvn instead of webpage, including setup target. Use updated GTK 2.4.9 libraries. But still use wget.
svn path=/trunk/; revision=12086
2004-09-24 16:08:44 +00:00
Anders Broman a729d816f2 Fix Some compiler warnings:
packet-etheric.c:99: warning: `message_type_vals' defined but not used
packet-etheric.c:376: warning: 
`isup_calling_party_nature_of_address_ind_value'
defined but not used
packet-etheric.c:892: warning: 
`dissect_etheric_cause_indicators_parameter' defi
ned but not used

svn path=/trunk/; revision=12085
2004-09-24 16:01:09 +00:00
Ulf Lamping 8f921fa5f4 add a link to the Ethereal wiki front page
svn path=/trunk/; revision=12084
2004-09-24 15:41:46 +00:00
Guy Harris b0f0473ee3 From Carlos Pignataro:
updates for 2 PWE3 interface parameters:

	o FCS Retention [draft-ietf-pwe3-fcs-retention-02.txt]
	o VCCV [draft-ietf-pwe3-vccv-03.txt]

svn path=/trunk/; revision=12083
2004-09-24 11:56:17 +00:00
Gerald Combs 38bd8a1969 Fix a typo.
svn path=/trunk/; revision=12082
2004-09-24 02:09:40 +00:00
Guy Harris e40f346a76 From Magnus Hansson: move CIP protocol to own dissector (we forgot to
check in packet-cip.h).

Also, add packet-cip.h to epan/dissectors/Makefile.common, so it gets
included in the release tarballs.

svn path=/trunk/; revision=12081
2004-09-23 22:36:01 +00:00
Guy Harris 1699af0a7c From Carlos Pignataro: append the symbolic name for reserved MPLS labels
to the protocol tree item for the label.

svn path=/trunk/; revision=12080
2004-09-23 20:51:09 +00:00
Guy Harris 360f2d306a Get rid of the CRs and set eol-style to native so that you get CRs on
Windows and don't get them on UN*X.

Set keywords so that RCS IDs are expanded.

Squelch some compiler warnings.

svn path=/trunk/; revision=12078
2004-09-23 19:52:29 +00:00