Commit Graph

3423 Commits

Author SHA1 Message Date
Guy Harris 4acaa8b961 Fix to a preferences dialog bug, from <inoue@ainet.or.jp>.
svn path=/trunk/; revision=3315
2001-04-17 18:49:55 +00:00
Guy Harris 2aa31bea47 Move the declaration of "etype_vals[]" from "epan/packet.h" to
"etypes.h".

svn path=/trunk/; revision=3314
2001-04-17 06:43:21 +00:00
Guy Harris c5aaac7823 Move the declaration of "ipprotostr()" out of "epan/packet.h" into a new
"ipproto.h" header file.

svn path=/trunk/; revision=3313
2001-04-17 06:29:14 +00:00
Gerald Combs d01ff0c857 Quarterly (or so) update.
svn path=/trunk/; revision=3312
2001-04-17 02:53:49 +00:00
Guy Harris d73302ad9b Fix the e-mail address for Joerg Mayer (and remove it from files he
wasn't involved with).

svn path=/trunk/; revision=3311
2001-04-17 00:46:06 +00:00
Guy Harris aedaabc8c8 GCC 2.95.1 on SPARC/Solaris, at least, is clever enough to figure out
that the loop in "lanalyzer_open()" is an infinite loop, so the "return
0;" at the end isn't necessary to suppress a compiler warning with that
compiler - and Sun C not only figures it out, it warns that the
"g_assert_not_reached()" and the "return 0;" are unreachable, so I'll
take them out for now (and put them back if my older GCC at home still
requires it to suppress warnings).

svn path=/trunk/; revision=3310
2001-04-16 22:06:34 +00:00
Guy Harris 122ed97b4a The "data" member of a Buffer structure is a "u_char *"; when assigning
the result of a "g_malloc()" to it, cast it to "u_char *", not "char *".

svn path=/trunk/; revision=3309
2001-04-16 21:59:38 +00:00
Guy Harris 77789be82e Assorted ISIS enhancements from Hannes Gredler.
When dissecting the ISIS NLPID CLV, use the "nlpid_vals" array to
convert NLPID values to protocol names.

svn path=/trunk/; revision=3308
2001-04-16 10:04:33 +00:00
Guy Harris 846213236a The Vines Fragmentation Protocol dissector is called only through
dissector tables, so it doesn't need to check whether that protocol is
disabled or to set "pinfo->current_proto".

svn path=/trunk/; revision=3307
2001-04-15 09:18:45 +00:00
Guy Harris 5f89c1d715 Conversation dissectors are called through a mechanism that doesn't
check for disabled protocols or set "pinfo->current_proto", so they have
to do that for themselves.

svn path=/trunk/; revision=3306
2001-04-15 09:05:17 +00:00
Guy Harris 560c310237 Assorted cleanups.
svn path=/trunk/; revision=3305
2001-04-15 08:50:37 +00:00
Guy Harris 15dcdcf3f8 Fix up a pile of NullTVB uses that were left in the previous checkin.
svn path=/trunk/; revision=3304
2001-04-15 07:51:11 +00:00
Guy Harris 69c6c325ee "packet-ipx.c" doesn't use anything from "packet-snmp.h", so don't
include it.

svn path=/trunk/; revision=3303
2001-04-15 07:36:52 +00:00
Guy Harris 88383c28a2 Get rid of an unused variable, and fix a typo in a comment.
svn path=/trunk/; revision=3302
2001-04-15 07:35:26 +00:00
Guy Harris b0e06bd8d1 Tvbuffify the ASN.1 code and the Kerberos, LDAP, and SNMP dissectors.
Clean up some problems that revealed.

svn path=/trunk/; revision=3301
2001-04-15 07:30:03 +00:00
Guy Harris f8c9764894 There's no "enable name resolution in captures" preference in Ethereal,
and never was - there's only an Ethereal-wide "enable name resolution"
preference.  Name it just "name_resolve".

Replace all tests of "g_resolving_actif" with tests of
"prefs.name_resolv", and replace all code that sets "g_resolving_actif"
with code that sets "prefs.name_resolv", so that the setting of
"prefs.name_resolv" actually affects whether names are resolved or not.

svn path=/trunk/; revision=3300
2001-04-15 03:37:16 +00:00
Guy Harris 38b8932fd0 Nothing in "etypes.h" is used by "ipproto.c", so there's no need to
include "etypes.h".

svn path=/trunk/; revision=3299
2001-04-13 18:51:32 +00:00
Jeff Foster 78ce39994c Added the ethereal capture preferences to the preference file.
svn path=/trunk/; revision=3298
2001-04-13 14:59:30 +00:00
Gilbert Ramirez b6bd7af57a Improvement of 'make clean' targets.
svn path=/trunk/; revision=3297
2001-04-12 18:07:22 +00:00
Guy Harris ce9898341b Fix up the alignment of some of the "configure --help" messages.
Print the right error message for "--without-plugindir".

svn path=/trunk/; revision=3295
2001-04-11 23:52:50 +00:00
Guy Harris f2881ddcac Set PLUGIN_DIR to a value that depends on "VERSION", rather than
hardcoding the version number into it; this means you don't have to
remember to change the version number in two places when you change the
version.

(If, as, and when the plugin ABI stabilizes enough that we don't change
the plugin directory in every release, we can set it based on, say, some
"PLUGIN_ABI_VERSION" variable.)

svn path=/trunk/; revision=3294
2001-04-11 23:49:44 +00:00
Gilbert Ramirez b0596cbcc4 Package the 3d logo, too.
svn path=/trunk/; revision=3293
2001-04-11 21:34:25 +00:00
Guy Harris b7fd7c5c42 Add an item for the tvbuffified HCLNFSD dissector.
svn path=/trunk/; revision=3292
2001-04-11 18:56:15 +00:00
Guy Harris 96ddc07b35 Tvbuffified HCLNFSD dissector, from Ronnie Sahlberg.
svn path=/trunk/; revision=3291
2001-04-11 18:55:34 +00:00
Guy Harris 11f785aa1c Update the other occurrence of the version number.
svn path=/trunk/; revision=3290
2001-04-11 18:38:19 +00:00
Jeff Foster 4004075d48 Updated for release 0.8.17
svn path=/trunk/; revision=3289
2001-04-11 16:35:02 +00:00
Guy Harris 094dc29f19 The Software Porting And Archive Centre for HP-UX now has libpcap 0.6.2
binaries, so users only need to make sure they have that version
installed in order to have Ethereal (and tcpdump, and snort, and so on)
accept "lanN"-style names (i.e., names of the sort reported by lanscan
and handled by ifconfig), rather than "dlpiN".

Get rid of the patches to update libpcap, get rid of the discussion in
"README.hpux" of patching libpcap and just say "get 0.6.2", and make the
notes on HP-UX kernel patches to fix problems with capturing outgoing
packets a separate item in the list of items in "README.hpux".

Also update the error messages Ethereal and Tethereal display if they
can't open a device and the error is "can't find PPA for XXX" to say
"get 0.6.2" rather than "patch libpcap and recompile.

svn path=/trunk/; revision=3288
2001-04-11 05:24:08 +00:00
Guy Harris cd7a95ce41 Updates from David Frascone.
svn path=/trunk/; revision=3287
2001-04-10 21:49:23 +00:00
Guy Harris 7f0aaa324d If the tvbuff pointer is null in "alloc_field_info()", get the data
source name from "pi.compat_top_tvb", which should always be set to the
tvbuff that refers to the data that old-style dissectors are currently
working on.

Arrange that it be so set in those dissectors that create alternate data
sources and call other dissectors, and also arrange that "pi.len" and
"pi.captured_len" be set appropriately as well.

svn path=/trunk/; revision=3286
2001-04-10 19:10:10 +00:00
Gilbert Ramirez 7c145dc63e Fix automake packaging of win32-only files.
svn path=/trunk/; revision=3285
2001-04-10 16:19:34 +00:00
Gilbert Ramirez cf4858b324 Updated for 0.8.17.
svn path=/trunk/; revision=3284
2001-04-10 16:06:08 +00:00
Guy Harris 1d90448c55 "get_hostname()" takes an argument in network byte order, not host byte
order.

svn path=/trunk/; revision=3283
2001-04-10 14:04:31 +00:00
Gilbert Ramirez 466006a3db Add instructions for using the installation package.
svn path=/trunk/; revision=3282
2001-04-10 12:29:22 +00:00
Gilbert Ramirez 2a2b4bb6b4 Check in isprint() hack for Win32 so that Ethereal is usably while
we figure out what the real bug is.

Fix set_last_open_dir() to use G_DIR_SEPARATOR and G_DIR_SEPARATOR_S
for cross-platform compatibility.

svn path=/trunk/; revision=3281
2001-04-10 12:07:40 +00:00
Guy Harris 61f7a8eb4b Fix up some other README.developer items.
svn path=/trunk/; revision=3280
2001-04-10 07:21:38 +00:00
Gilbert Ramirez 8ea93329a8 last_open_dir needs a trailing slash in order for the GTK+
file-selection dialogue to open the directory and show its
contents, otherwise it opens the parent directory and shows *its*
contents.

svn path=/trunk/; revision=3279
2001-04-09 22:35:23 +00:00
Guy Harris e7fed6d68b Update README.developer to discuss 'col_set_str' and 'col_clear', to
make the dissector function in the sample dissector code a static
function, and to leave out the "CHECK_DISPLAY_AS_DATA()" call and the
line to set "pinfo->current_proto" in the sample dissector, as the
sample dissector is called through a dissector table, and the code to
call through a dissector table does both of those for you.

svn path=/trunk/; revision=3278
2001-04-09 22:25:39 +00:00
Guy Harris 0c72b55013 Fixes from Joerg Mayer.
svn path=/trunk/; revision=3277
2001-04-09 21:42:01 +00:00
Jeff Foster 10df96c2d5 Fix error in dissect_connect_ack routine, proto_tree_add_item for hf_msproxy_server_int_addr
was using a length of 2 not 4, which it should be.

svn path=/trunk/; revision=3276
2001-04-09 15:54:17 +00:00
Guy Harris fd09b74426 Note that UCD SNMP binaries and header files for Win32 can be gotten
from Revelstone's Web site (in a different directory from the one
mentioned in the past).

svn path=/trunk/; revision=3275
2001-04-09 06:12:51 +00:00
Gerald Combs 5b9ad66cb8 Add support for "version 7" wandess output. Actually, I think it's
simply PPP data that doesn't have a username associated with it, e.g. for
a dedicated WAN link as opposed to a dialup link.

svn path=/trunk/; revision=3274
2001-04-09 03:32:34 +00:00
Guy Harris c8c2a04ad0 Note that MAPI is a DCE RPC service, and note that getting rid of the
MAPI dissector would mean that MAPI traffic would merely be identified
as DCE RPC traffic rather than as MAPI traffic - and we might still have
to base that identification on the port number, for some captures, if
I've read the DCE RPC 1.1 documentation correctly.

svn path=/trunk/; revision=3273
2001-04-09 02:15:10 +00:00
Guy Harris 16964010e1 SCTP dissector fix from Michael Tuexen.
svn path=/trunk/; revision=3272
2001-04-09 00:21:07 +00:00
Guy Harris 376056336c OSI network layer over PPP support, fix to P2P ISIS processing, and ISIS
hostname TLV support, from Hannes Gredler.

svn path=/trunk/; revision=3271
2001-04-08 19:32:05 +00:00
Guy Harris 69a945b5ce If we do "offset = dissect_rpc_XXX_tvb(...)", we have to do so
regardless of whether the protocol tree argument is null or not;
otherwise, we don't end up updating the offset field correctly if the
argument is null.  (The "dissect_rpc_XXX_tvb(...)" routines won't try to
add something to the tree if their "tree" argument is null, so it's safe
to call them with a null "tree" argument.)

svn path=/trunk/; revision=3270
2001-04-07 09:25:23 +00:00
Guy Harris eb7e6cf594 RWALL dissector, from Ronnie Sahlberg.
svn path=/trunk/; revision=3269
2001-04-07 08:39:46 +00:00
Guy Harris d57831fd29 Mention RFC 1356 in the comment about handling NLPIDs other than the
0xCC one for IP.

svn path=/trunk/; revision=3268
2001-04-07 08:33:12 +00:00
Guy Harris 1bfd09545e At least with UCD SNMP 4.1.2, you can safely pass to "sprint_value()" a
variable with a null pointer-to-value and a zero length, so we don't
need to protect the assignment to "variable.val.string" with
"SAFE_STRING()" - and doing so causes complaints from the compiler about
assigning a pointer to a "const gchar" to the non-const pointer
"variable.val.string".

svn path=/trunk/; revision=3267
2001-04-07 08:23:58 +00:00
Guy Harris 7da2edcb2e Don't hand "fdata" to "clear_fdata()" if you haven't filled it in.
svn path=/trunk/; revision=3266
2001-04-07 06:58:17 +00:00
Guy Harris 3d446c2609 Don't blow up if "asn1_string_value_decode()" supplies a null pointer as
the string because the string value is zero-length.

Don't try to treat an agent address in a V1 trap as an IP address if
it's not 4 bytes long.

svn path=/trunk/; revision=3265
2001-04-07 00:52:07 +00:00