Commit graph

9290 commits

Author SHA1 Message Date
Jörg Mayer
e78aba0a40 warning: ISO C does not allow extra ; outside of a function
svn path=/trunk/; revision=9387
2003-12-21 05:51:34 +00:00
Jörg Mayer
56f992a47f warning: ISO C does not allow extra ; outside of a function
svn path=/trunk/; revision=9386
2003-12-21 05:29:26 +00:00
Jörg Mayer
04dc6ff0ea warning: no newline at end of file
svn path=/trunk/; revision=9385
2003-12-21 04:40:14 +00:00
Jörg Mayer
b8923a41e8 warning: comma at end of enumerator list
svn path=/trunk/; revision=9384
2003-12-21 04:38:41 +00:00
Jörg Mayer
3f020f582e Compiling with -pedantic:
warning: comma at end of enumerator list

svn path=/trunk/; revision=9383
2003-12-21 04:31:58 +00:00
Jörg Mayer
951b535247 SoulSeek is not yet in
svn path=/trunk/; revision=9382
2003-12-21 04:27:04 +00:00
Jörg Mayer
72eaefab9b No more FAQ.include
svn path=/trunk/; revision=9381
2003-12-21 04:25:57 +00:00
Jörg Mayer
9cdb5da91f Compiling with -pedantic:
packet-v5ua.c:1044:139: warning: C++ style comments are not allowed in ISO C90

svn path=/trunk/; revision=9380
2003-12-21 04:20:02 +00:00
Jörg Mayer
c4777bfffc Compiling with -pedantic:
packet-rmi.h:67: warning: comma at end of enumerator list

svn path=/trunk/; revision=9379
2003-12-21 03:58:29 +00:00
Jörg Mayer
9d2915a7e6 Compiling with -pedantic:
moduleinfo.h:16:24: warning: no newline at end of file

svn path=/trunk/; revision=9378
2003-12-21 03:53:33 +00:00
Jörg Mayer
ad28a88d72 Compiling with -pedantic:
packet-irda.c:453:1: warning: C++ style comments are not allowed in ISO C90
packet-irda.c:453:1: warning: (this will be reported only once per input file)
(+ several more // disabling debug output)

svn path=/trunk/; revision=9377
2003-12-21 03:48:27 +00:00
Jörg Mayer
34406b689f Compiling with -pendantic:
../../packet-giop.h:579: warning: comma at end of enumerator list

svn path=/trunk/; revision=9376
2003-12-21 03:44:00 +00:00
Jörg Mayer
f1218206e3 Update FAQ to December 12 2003
svn path=/trunk/; revision=9375
2003-12-21 03:20:35 +00:00
Jörg Mayer
9345308925 The include file is generated elsewhere
svn path=/trunk/; revision=9374
2003-12-21 03:17:54 +00:00
Jörg Mayer
77c6d4e968 The FAQ is now located in help/
svn path=/trunk/; revision=9373
2003-12-21 03:06:49 +00:00
Jörg Mayer
5dafc027dc Manuf updates
svn path=/trunk/; revision=9372
2003-12-21 02:54:48 +00:00
Ulf Lamping
d604209b21 removed some MSVC warnings (added type casts)
svn path=/trunk/; revision=9371
2003-12-21 00:16:54 +00:00
Ulf Lamping
dea93d2bee removed some MSVC warnings (added type casts)
svn path=/trunk/; revision=9370
2003-12-20 23:50:50 +00:00
Olivier Biot
44ea0de58f Move display filter into filtered packets frame.
Fix NaN when a capture and/or a filter don't have any matching packets
so the average packet size is obtained by dividing by zero.

svn path=/trunk/; revision=9369
2003-12-20 12:03:35 +00:00
Guy Harris
20d1488b65 Not all C compilers allow declarations in the middle of executable
code.

svn path=/trunk/; revision=9368
2003-12-20 09:09:10 +00:00
Guy Harris
1a347fc00f Do the special "if the first fragment we see is also the final fragment,
treat it as a reassembled frame" hack *only* for 802.11, as that's the
only protocol we know of that requires it.

svn path=/trunk/; revision=9367
2003-12-20 03:21:20 +00:00
Guy Harris
39f5418dc0 From Lars Roland:
use the common display filter dialog infrastructure in the MGCP
	service response time tap;

	add common infrastructure for updating the titles of tap dialogs
	when the capture file name changes.

svn path=/trunk/; revision=9366
2003-12-19 23:41:55 +00:00
Guy Harris
bbcb86c564 From Lars Roland: fix a typo.
svn path=/trunk/; revision=9365
2003-12-19 23:25:05 +00:00
Guy Harris
58c3106a92 From David Fort: support for decoding MLD v2 report messages.
svn path=/trunk/; revision=9364
2003-12-19 23:20:53 +00:00
Guy Harris
1a42ce6457 From David Fort: update some comments now that RFC 3658 is out, and fix
a typo in the AUTHORS file.

svn path=/trunk/; revision=9363
2003-12-19 23:13:42 +00:00
Guy Harris
29bc812334 Add an hf[] entry for the OPT_FRAG_OFF field of the OPT_FRAGMENT option
(the hf_ variable for it existed, but there was no hf[] entry, so it
didn't get initialized).

svn path=/trunk/; revision=9362
2003-12-19 22:46:16 +00:00
Guy Harris
1feecfa0df Don't store the result of "tvb_reported_length()" into a "guint8" - it
could be more than 255 (even if that "shouldn't happen").

Don't use "frags != 0" as an indication that the message was fragmented
- that can't handle bogus packets with a zero fragment count.  Have an
explicit variable for that.

Check that "sm_data_len" isn't 0 before attempting dissection or
reassembly.

Check that "frag" and "frags" aren't zero before attempting reassembly
(arguably, we should report both of those as errors).

Use "process_reassembled_data()" to do the bulk of the work for
reassembly - it handles the case where a "fragmented" packet has only
one fragment.  This fixes a crash that occurred when only the last
fragment was seen, although there's an underlying problem there, namely
that the hack tha "fragment_add_seq_check()" does to handle some
problems with some 802.11 captures causes it to consider a packet where
the first fragment seen is also the last fragment as a one-fragment
packet; we probably need to do that *only* for 802.11.

svn path=/trunk/; revision=9361
2003-12-19 22:31:40 +00:00
Guy Harris
8b0f0d5b7e Add some additional sanity checking.
svn path=/trunk/; revision=9360
2003-12-19 22:23:05 +00:00
Olivier Biot
21a6fddb35 Add debug logging to the MMSE dissector.
svn path=/trunk/; revision=9359
2003-12-19 20:26:59 +00:00
Olivier Biot
a1f13f591e Add extra debug logging. Fix typo in debug log explanation.
svn path=/trunk/; revision=9358
2003-12-19 20:16:04 +00:00
Guy Harris
3adea4e389 From Peter Fales: count IPX-over-ARCNET packets in "capture_arcnet()".
svn path=/trunk/; revision=9357
2003-12-19 19:09:49 +00:00
Guy Harris
87347d7867 Note that "uchar", "u_char", "u_short", "u_int", and "u_long" are also
forbidden.

svn path=/trunk/; revision=9356
2003-12-19 19:08:00 +00:00
Guy Harris
b3557944ff Don't use "u_char", use "guchar" for characters and "guint8" for 8-bit
unsigned integers.

svn path=/trunk/; revision=9355
2003-12-19 19:03:13 +00:00
Gilbert Ramirez
2b94a81c2b Remove \n from value-strings.
svn path=/trunk/; revision=9354
2003-12-19 16:42:27 +00:00
Gilbert Ramirez
1cbfbd022b Print values for ANY_MATCHES and ANY_CONTAINS so that the dftest
executable works properly.

svn path=/trunk/; revision=9353
2003-12-19 04:40:24 +00:00
Guy Harris
e3753d3d58 The GNU ADNS library requires whatever libraries are needed for socket
calls.

svn path=/trunk/; revision=9352
2003-12-19 01:36:01 +00:00
Guy Harris
3118e2a0c2 As noted by Peter Fales, the offset in "capture_arcnet()" should be 4 if
the extra offset field is present and 2 if it's absent, not the other
way around.

svn path=/trunk/; revision=9351
2003-12-19 01:24:09 +00:00
Guy Harris
95e6fb64c0 Add support for a link-layer type value of 143 as DOCSIS in libpcap
captures.

svn path=/trunk/; revision=9350
2003-12-18 23:50:44 +00:00
Guy Harris
e65abd0ef4 Top-of-tree and top-of-0.8-branch libpcap support limited filtering on
DLT_LINUX_IRDA (empty expression and "link[M:N]" expressions), so don't
special-case IRDA adapters.

svn path=/trunk/; revision=9349
2003-12-18 21:18:34 +00:00
Richard Sharpe
0023dcd0e1 A small patch from Kai Krueger <kai@kruegernetz.de> to ensure that we
keep the file name around long enough to use it when saving highlighted
data etc.

svn path=/trunk/; revision=9348
2003-12-18 20:36:45 +00:00
Guy Harris
604aa6faeb Add more files.
svn path=/trunk/; revision=9347
2003-12-18 20:35:40 +00:00
Guy Harris
e4c1c73fc5 From Jan Kiszka: add a comment explaining what the IrDA plugin does.
svn path=/trunk/; revision=9346
2003-12-18 20:34:43 +00:00
Guy Harris
b8299f0b98 From Jan Kiszka: IrDA support.
svn path=/trunk/; revision=9345
2003-12-18 19:07:14 +00:00
Guy Harris
7993e1aa2e From Ronnie Sahlberg: if the GSSAPI token is empty, don't dissect it.
svn path=/trunk/; revision=9344
2003-12-18 18:18:50 +00:00
Olivier Biot
7b1c1a9497 Add support of the "matches" operator to FT_BYTES and FT_ETHER. I don't think
it would make sense to add PCRE support for byte arrays containing an integer
or an IP address.

Avoid lengthy pointer constructs in cmp_matches().

svn path=/trunk/; revision=9343
2003-12-18 13:02:19 +00:00
Guy Harris
a98aa75a58 WildPackets' EtherHelp appears to write EtherPeek-compatible files,
except that the 0x80 bit is turned on in the file version number field.
Turn that bit off before processing that field.

svn path=/trunk/; revision=9342
2003-12-18 03:43:40 +00:00
Guy Harris
7725f5e92d "pcap_compile_nopcap()" has a different signature in recent NetBSD
libpcap than in tcpdump.org libpcap; it's been deprecated for that
reason.  "pcap_open_dead()" has been in libpcap since 0.6, so only for
0.5[.x] will you have "pcap_compile_nopcap()" but not "pcap_open_dead()"
- for now, we use "pcap_open_dead()" rather than
"pcap_compile_nopcap()", and don't do the check for capture filters in
systems with libpcaps that lack "pcap_open_dead()".

svn path=/trunk/; revision=9341
2003-12-18 02:46:45 +00:00
Guy Harris
7f71ceb564 Mallocate buffers for the strings gotten by "get_encoded_strval()" and
"get_encoded_strval()", rather than filling in a fixed-size buffer, so
that we don't overflow the buffer.

svn path=/trunk/; revision=9340
2003-12-18 02:07:26 +00:00
Guy Harris
daf2b3a71e Fix some typoes.
svn path=/trunk/; revision=9339
2003-12-18 01:47:42 +00:00
Guy Harris
3021f95346 Make packet offsets, and lengths, "guint".
Put in some sanity checking to make sure we don't go completely crazy if
an offset goes past the length (we should check as the offset is
advanced, but...).

svn path=/trunk/; revision=9338
2003-12-18 00:43:48 +00:00