Commit Graph

8502 Commits

Author SHA1 Message Date
Gerald Combs d99b8a3abc Fix document creation under Windows, add ethereal-filter.html to the NSIS
package.

svn path=/trunk/; revision=8596
2003-10-02 22:28:04 +00:00
Guy Harris 2a4930db30 From Jean-Baptiste Marchand: add operation names for browser service.
svn path=/trunk/; revision=8595
2003-10-02 21:48:35 +00:00
Guy Harris eb22fda057 From Jean-Baptiste Marchand: add additional operation names for dfssvc.
svn path=/trunk/; revision=8594
2003-10-02 21:45:55 +00:00
Guy Harris 659e968236 From Jean-Baptiste Marchand: add/update names for svcctl operations.
svn path=/trunk/; revision=8593
2003-10-02 21:40:22 +00:00
Guy Harris 16ee1918c4 From Jean-Baptiste Marchand: add names for new dnsserver operations for
W2K3.

svn path=/trunk/; revision=8592
2003-10-02 21:37:24 +00:00
Guy Harris 6b7afbb593 From Tomas Kukosa: radio button groups are GSLists, which means that the
radio button group for a button changes when new buttons are added to it
(adding to the beginning of a singly-linked list takes constant time,
adding to the end takes time linear in the length of the list, and a
GSList * points to the beginning of the list).  Re-fetch the radio
button group each time through the loop that adds new radio buttons to a
radio button group for a preference.

svn path=/trunk/; revision=8591
2003-10-02 21:18:38 +00:00
Guy Harris 301bc24c43 Don't put an entry for a protocol into the Preferences dialog if it
doesn't have any settable preferences (for example, if it has only
obsolete preferences).

svn path=/trunk/; revision=8590
2003-10-02 21:06:11 +00:00
Guy Harris 72282f4301 RTNET has no preferences, so don't register a preferences module for it.
svn path=/trunk/; revision=8589
2003-10-02 21:04:32 +00:00
Gerald Combs cc50dad089 Add an example for "-d".
svn path=/trunk/; revision=8588
2003-10-02 19:22:39 +00:00
Gerald Combs 3b5f7f9278 Fix a malformed "=head1" tag.
svn path=/trunk/; revision=8587
2003-10-02 14:03:57 +00:00
Guy Harris 860376a9ab From Samuel Qu, Michael Lum, and Jeff Morriss: TCAP support, and
"asn_id_decode1()" variant of "asn_id_decode()".

svn path=/trunk/; revision=8586
2003-10-02 06:13:29 +00:00
Guy Harris 18496f5d55 Reject frames with no command (too short) or an invalid command.
Clean up white space somewhat.

svn path=/trunk/; revision=8585
2003-10-01 21:51:59 +00:00
Guy Harris b766d5d8ef The PDU length is 3 bytes long in SLPv2.
The minimum number of bytes of SLP we have to reassemble is 5 - it's
nominally 4 for SLPv1, but we don't have a way of asking for 1 byte (the
version) and then saying "I need N bytes of header to get the PDU
length, and an SLPv1 packet less than 12 bytes long is bogus anyway.

svn path=/trunk/; revision=8584
2003-10-01 21:15:45 +00:00
Guy Harris 2584a671aa Filters in Ethereal are usually display filters, not read filters; go
back to describing them as such.

svn path=/trunk/; revision=8583
2003-10-01 20:36:36 +00:00
Guy Harris 41784feebe Add ethereal-filter.4.
svn path=/trunk/; revision=8582
2003-10-01 20:27:35 +00:00
Guy Harris 3371986a74 Put in some missing $(srcdir)/.
Get rid of redundant "../{t}ethereal.1" in CLEANFILES (they were already
there).

svn path=/trunk/; revision=8581
2003-10-01 20:26:50 +00:00
Guy Harris 84bdc80e23 Update for the new ethereal-filter man page.
svn path=/trunk/; revision=8580
2003-10-01 19:44:05 +00:00
Guy Harris f482df2f74 dfilter2pod.pl and ethereal-filter.pod.template are in $(srcdir) (which
defauls to the current directory), not in the parent directory.

svn path=/trunk/; revision=8579
2003-10-01 19:41:06 +00:00
Guy Harris 8f0aa18626 Have a pseudo-header for Ethernet packets, giving the size of the FCS -
0 means "there is no FCS in the packet data", 4 means "there is an FCS
in the packet data", -1 means "I don't know whether there's an FCS in
the packet data, guess based on the packet size".

Assume that Ethernet encapsulated inside other protocols has no FCS, by
having the "eth" dissector assume that (and not check for an Ethernet
pseudo-header).

Have "ethertype()" take an argument giving the FCS size; pass 0 when
appropriate.

Fix up Wiretap routines to set the pseudo-header.  This means we no
longer use the "generic" seek-and-read routine, so get rid of it.

svn path=/trunk/; revision=8578
2003-10-01 18:19:16 +00:00
Jörg Mayer 7a0164ee7c Put the display-filter elements into it's own manpage (ethereal-filter.4)
svn path=/trunk/; revision=8577
2003-10-01 15:09:32 +00:00
Jörg Mayer ee6cc56f58 Put the display-filter elements into it's own manpage (ethereal-filter.4)
svn path=/trunk/; revision=8576
2003-10-01 14:59:41 +00:00
Guy Harris 28eb53f033 The max count high field is 32 bits, and, in order to compare it
against 0xffffffff, it has to be extracted into a 32-bit variable.

svn path=/trunk/; revision=8575
2003-10-01 08:53:12 +00:00
Guy Harris be2736adcf Have a pseudo-header for Ethernet packets, giving the size of the FCS -
0 means "there is no FCS in the packet data", 4 means "there is an FCS
in the packet data", -1 means "I don't know whether there's an FCS in
the packet data, guess based on the packet size".

Assume that Ethernet encapsulated inside other protocols has no FCS, by
having the "eth" dissector assume that (and not check for an Ethernet
pseudo-header).

Have "ethertype()" take an argument giving the FCS size; pass 0 when
appropriate.

Fix up Wiretap routines to set the pseudo-header.  This means we no
longer use the "generic" seek-and-read routine, so get rid of it.

svn path=/trunk/; revision=8574
2003-10-01 07:11:49 +00:00
Guy Harris 44bb98184d From Giles Scott: add some new hardware types.
svn path=/trunk/; revision=8573
2003-09-30 20:51:19 +00:00
Guy Harris 5dee9ea070 Clean up a bunch of length processing - use the reported length rather
than the captured length, and fix up some other stuff.

svn path=/trunk/; revision=8572
2003-09-29 21:50:03 +00:00
Guy Harris a22075b380 From Michael Lum: fix some val_to_str calls to have a non-null format
string for unknown values.

svn path=/trunk/; revision=8571
2003-09-29 21:12:15 +00:00
Jörg Mayer 7e32527578 xyzzy
svn path=/trunk/; revision=8570
2003-09-29 19:32:14 +00:00
Jörg Mayer 243d1ea197 use mkstemp instead of tmpnam
svn path=/trunk/; revision=8569
2003-09-29 19:20:51 +00:00
Jörg Mayer 89a62a712c Whitespace changes in order to make diff produce more readable results
svn path=/trunk/; revision=8568
2003-09-29 19:18:44 +00:00
Jörg Mayer 92f32c1c51 Added comment: XXX Argh maxcnt_high is guint16 and thus 16 bit -> always false
svn path=/trunk/; revision=8567
2003-09-29 19:17:34 +00:00
Guy Harris e62a1a7386 From Emanuele Caratti:
just use "g_free()" to free the buffer in "md5_xor()", as it
	doesn't throw exceptions;

	temporarily #ifdef out "tacplus_acct_flags" pending the
	arrival of code to dissect the TACACS+ accounting stuff.

svn path=/trunk/; revision=8566
2003-09-29 18:50:47 +00:00
Olivier Abad 11c747bd5f - in show_relations() : select the first row of the relation_list when
using gtk+ v2.
- get rid of some unused variables.

svn path=/trunk/; revision=8565
2003-09-29 06:41:46 +00:00
Tim Potter 5d483e957e More operation names updates from Jean-Baptiste Marchand.
svn path=/trunk/; revision=8564
2003-09-29 00:01:27 +00:00
Guy Harris f4a639c7c1 It appears that, at least for gigabit pod captures, there are time stamp
differences between versions 002.001 and 002.002.

svn path=/trunk/; revision=8563
2003-09-28 23:15:40 +00:00
Guy Harris b530c88a3b "compute_offset_length()" must, if it returns FALSE, and "exception" is
non-null, set "*exception" to the appropriate exception - its callers
rely on it.

Now that it does that, there's no need for "check_offset_length()" to
check for a length of -1, as "compute_offset_length()" does so, and
therefore "check_offset_length_no_exception()" does so.

svn path=/trunk/; revision=8562
2003-09-28 21:39:53 +00:00
Tim Potter 82d0ca7c51 Operation name updates for winreg pipe from Jean-Baptiste Marchand.
svn path=/trunk/; revision=8561
2003-09-28 11:35:20 +00:00
Ronnie Sahlberg 84274d4870 Prettify NFSv2 decorate COL_INFO and the tree pane as has already been done for v3
svn path=/trunk/; revision=8560
2003-09-28 01:52:57 +00:00
Ronnie Sahlberg ed4fde5e5a in ReadAndX
when reading what could potentially be the maxcount high field
assume that IF it is 0xFFFFFFFF  that it is not maxcount high at all but
instead just some padding/reserved bytes.

If this field is 0xFFFFFFFF just ignore it.

svn path=/trunk/; revision=8559
2003-09-28 00:11:01 +00:00
Ronnie Sahlberg 8b7b1ff28e Update to SMB service response time stats.
For short packets, we might not have enough of the payload to decode
the transaction info levels  and thus that data structure is NULL.

check the pointer to this struct first before we try to dereference it.

svn path=/trunk/; revision=8558
2003-09-28 00:00:36 +00:00
Guy Harris fb1dff45b5 From Anders Broman: further dissect APM messages containing BICC stuff,
and fix a bug in the "upgraded parameter code".

svn path=/trunk/; revision=8557
2003-09-27 23:51:09 +00:00
Ronnie Sahlberg a4df7ea327 From JBM update some function names in Netlogon
svn path=/trunk/; revision=8556
2003-09-27 23:48:04 +00:00
Ronnie Sahlberg 7efc78748b From JBM update the function names for Messenger
svn path=/trunk/; revision=8555
2003-09-27 23:45:25 +00:00
Guy Harris 96aa250c4a From Jean-Baptiste Marchand: add names of operations in WKSSVC.
svn path=/trunk/; revision=8554
2003-09-27 23:43:29 +00:00
Guy Harris 9f05ec525e From Jean-Baptiste Marchand: add names of DFS-related operations in
SRVSVC.

svn path=/trunk/; revision=8553
2003-09-27 23:34:57 +00:00
Guy Harris 4e5896fed7 From Nathan Jennings:
update the CList as you enter/modify options;

	give Windows users OS descriptions in the displayed devices
	list;

	display at least 5 rows in the lists;

	get rid of the "extra" CList for storing edited values.

svn path=/trunk/; revision=8552
2003-09-26 23:11:17 +00:00
Guy Harris e16c1c8bcf Get the RTP payload types from rtp_pt.h rather than defining them
ourselves.

svn path=/trunk/; revision=8551
2003-09-26 22:29:42 +00:00
Guy Harris c2e71cb70b From Tomas Kukosa:
1) string tables for t35CountryCode, t35Extension and
	   h221ManufacturerCode were moved into the new file t35.c
	   because they are common for more dissectors

	2) the dissect_h245_NonStandardParameter_with_extension_marker()
	   was moved from h245 to h225 and renamed to
	   dissect_h225_NonStandardParameter() because the
	   NonStandardData type is different for H.225.0 and H.245

	3) type of the "h245.nsp.object" dissector table was changed from
	   FT_UINT32 to FT_STRING, so it can select a dissector based on
	   an OID rather than the Adler-32 hash of an OID

	4) the "h225.nsp.object" and "h225.nsp.h221" dissector tables
	   were created

svn path=/trunk/; revision=8550
2003-09-26 22:20:08 +00:00
Guy Harris ae3aa9d05b For (non-heuristic) SIP-over-TCP, dissect stuff that's neither a request
nor a response as continuation data.  For SIP-over-everything-else,
reject it.

Parse the headers regardless of whether we're building a protocol tree
or not; if we're not, we just do it to look for a blank line separating
the headers from the body.  Do that instead of scanning for the message
body separately.

When scanning for a colon, don't scan past the end of the line.

svn path=/trunk/; revision=8549
2003-09-26 21:32:38 +00:00
Guy Harris f3832721d9 Make the non-heuristic SIP dissector reject the packet if it doesn't
look like a SIP packet, so some other dissector gets a chance at it.

When looking for the blank line separating headers from data, use
"tvb_find_line_end()" so we handle CR/LF and LF as end-of-line
indications (RFC 2543 says "senders MUST terminate lines with a CRLF",
but it also says "but receivers MUSTalso interpret CR and LF by
themselves as line terminators"), and return an offset past the end of
the buffer, rather than -1, if we don't find it (not all packets have
one).

When checking whether a header is one we know about, do a
case-insensitive comparison (RFC 2543 says header field names are
case-insensitive).

svn path=/trunk/; revision=8548
2003-09-26 20:00:38 +00:00
Guy Harris 1085de3d7a The LAPB dissector can be called from the Ethernet dissector; don't
assume we have an X.25 pseudo-header.

svn path=/trunk/; revision=8547
2003-09-26 08:19:55 +00:00