Commit Graph

9393 Commits

Author SHA1 Message Date
Guy Harris c00c1e42f1 Update a URL.
svn path=/trunk/; revision=9490
2003-12-30 00:19:18 +00:00
Guy Harris ecac21ab7f Export a "dissect_tcp_payload()" routine from the TCP dissector, for use
by pass-through proxying dissectors such as the SOCKS dissector; it does
the work of processing a TCP segment, including desegmentation.  Export
the "next sequence number" value to subdissectors, so they can use it
when calling "dissect_tcp_payload()".

Use that in the SOCKS dissector.

svn path=/trunk/; revision=9489
2003-12-30 00:03:48 +00:00
Guy Harris 354b911d05 Add a "saved_can_desegment" field to the "packet_info" structure, so
that dissectors for pass-through proxying protocols such as SOCKS can
allow the subdissectors they call to ask that desegmentation be done.

svn path=/trunk/; revision=9488
2003-12-29 22:44:50 +00:00
Guy Harris d177c7d731 Nothing in "range.c" is GTK+-specific, so move it to the top-level
directory.

svn path=/trunk/; revision=9487
2003-12-29 22:43:33 +00:00
Guy Harris 1479458d1b From RFC 2616: "Field names are case-insensitive." Use
"tvb_strncaseeql()", not "tvb_strneql()", to check for
"Content-Length:".

svn path=/trunk/; revision=9486
2003-12-29 22:33:18 +00:00
Jörg Mayer 182b2274a4 Delete the generated files only during maintainerclean
svn path=/trunk/; revision=9485
2003-12-29 21:39:10 +00:00
Jörg Mayer db3f81b8db range.h moved from gtk to .
svn path=/trunk/; revision=9484
2003-12-29 21:18:12 +00:00
Ulf Lamping bb2245d366 removed a GTK2 warning
svn path=/trunk/; revision=9483
2003-12-29 21:04:47 +00:00
Ulf Lamping 05b1cc27dd removed a GTK2 warning
svn path=/trunk/; revision=9482
2003-12-29 20:53:39 +00:00
Guy Harris c4df6e6464 Give it an RCS ID and copyright notice.
svn path=/trunk/; revision=9481
2003-12-29 20:46:12 +00:00
Guy Harris 8124ea2886 Get rid of an unused variable.
svn path=/trunk/; revision=9480
2003-12-29 20:41:37 +00:00
Guy Harris 53cbd7e2be Give it an RCS ID.
svn path=/trunk/; revision=9479
2003-12-29 20:40:44 +00:00
Guy Harris 4c1c3d4591 Add an RCS ID.
Include <ctype.h> to declare "isdigit()".

svn path=/trunk/; revision=9478
2003-12-29 20:40:02 +00:00
Gilbert Ramirez c1d8c99fa2 Add a missing backslash for the EXTRA_DIST files.
svn path=/trunk/; revision=9477
2003-12-29 20:11:42 +00:00
Ulf Lamping 14e2a790f9 From Dick Gooris (and me :-)
more ways to choose which packets can be saved,
in the save(as) dialog box

svn path=/trunk/; revision=9476
2003-12-29 20:05:59 +00:00
Guy Harris 4b37928246 Make the "max count of recently-visited files" preference unsigned.
Get rid of an unused variable.

Fix up whitespace.

svn path=/trunk/; revision=9475
2003-12-29 19:59:05 +00:00
Guy Harris 52ce0b5f48 "hex_str_to_bytes()" modifies the GByteArray supplied to it, so don't
mark it as "const".

svn path=/trunk/; revision=9474
2003-12-29 19:53:52 +00:00
Guy Harris b4a05bd271 Make sure the "we're in the middle of dissecting SOCKS" flag gets
cleared even if we throw an exception when dissecting the payload.

svn path=/trunk/; revision=9473
2003-12-29 19:05:40 +00:00
Guy Harris 3e03500368 Add support for NetWare's serialization protocol.
svn path=/trunk/; revision=9472
2003-12-29 19:04:05 +00:00
Gerald Combs d72750578b Pull most of bytes_from_unparsed() into a new routine,
hex_str_to_bytes().  Use the new routine to initialize any WEP keys we
have defined.  This has the side effect of fixing an overflow if the user
entered a long WEP key.

svn path=/trunk/; revision=9471
2003-12-29 04:07:06 +00:00
Richard Sharpe 930410872f OK, now I have added the preference for recent_files_count_max, and we can
set the value and so on. We put the value in the text field before it is
displayed, and so on ...

svn path=/trunk/; revision=9470
2003-12-29 00:48:56 +00:00
Guy Harris 7662b45668 From Niels Koot: support TCAP over SUA.
svn path=/trunk/; revision=9469
2003-12-29 00:41:07 +00:00
Guy Harris 7110082aa4 From Neils Koot:
add the ability to read Ethernet captures;

	add the ability to read hex-only dumps.

svn path=/trunk/; revision=9468
2003-12-29 00:36:12 +00:00
Guy Harris 1b6d16c7cc Make all the byte arrays for writing out stuff "guint8" rather than
"gint8" - there's no reason for them to be signed, and making them
signed can cause compiler warnings if a value won't fit in 8 bits if
sign-extended.

svn path=/trunk/; revision=9467
2003-12-29 00:25:39 +00:00
Guy Harris 3074ff6a82 At least as I read the Teredo draft, the nonce value is just an opaque
8-byte value.

svn path=/trunk/; revision=9466
2003-12-29 00:19:00 +00:00
Guy Harris 56af440bfa In calls to "dcerpc_init_uuid()" only the *major* version number of the
interface is supplied; by virtue of 1.1 being truncated to 1, and by
virtue of the putative major and minor version numbers in 1.1 both being
1, a version number initialized to 1.1 presumably happened to work for
RPRIV and RS_REPADM, but we might as well do it right.

svn path=/trunk/; revision=9465
2003-12-28 23:50:31 +00:00
Richard Sharpe e29be9a141 Add more code to handle the recent_files_count_max as a preference ...
Here we can read and write it from and to the preferences file. I only have
to add code to allow it to be set in the Edit->Preferences area,

svn path=/trunk/; revision=9464
2003-12-28 23:20:08 +00:00
Richard Sharpe 015681b24e Connect the recent_file_count_max variable to the prefs.gui_recent_file_count_max variable entry, and fix a small spelling/grammar mistake.
Now all we need is some enterprising individual to write the small amount of
preferences code to actually allow it to be changed etc, but I have to go to
Costco, so, later...

svn path=/trunk/; revision=9463
2003-12-28 21:10:26 +00:00
Richard Sharpe 0a44e7c145 Add a preferences item for the recent file count max so we can tie it to
the edit preferences dialog box and then use it in the code that handles
recent files.

svn path=/trunk/; revision=9462
2003-12-28 20:36:59 +00:00
Ulf Lamping 35e5ba4edd all libs now relative to a base dir, use compiler warning level 2
svn path=/trunk/; revision=9461
2003-12-28 18:31:14 +00:00
Ulf Lamping 0f2765c1f8 removed some MSVC warnings (warning level 2)
svn path=/trunk/; revision=9460
2003-12-28 12:50:42 +00:00
Ulf Lamping cb2658031d removed some MSVC warnings (warning level 2)
svn path=/trunk/; revision=9459
2003-12-28 12:43:40 +00:00
Guy Harris c6852ab625 If we've seen an HTTP request or response or header line, and the line
we're looking at looks as if it could be the beginning of a header line
but stops at the end of the tvbuff before we see the colon for the
header line, throw an exception rather than treating it as "not HTTP".

svn path=/trunk/; revision=9458
2003-12-28 08:39:10 +00:00
Guy Harris 901a5a6160 Properly handle 1xx, 204, and 304 responses, which don't contain a
message body.

svn path=/trunk/; revision=9457
2003-12-27 18:45:48 +00:00
Ulf Lamping cce063356e added/changed some comments
svn path=/trunk/; revision=9456
2003-12-27 13:19:06 +00:00
Guy Harris a777dd9394 Fix some comments.
svn path=/trunk/; revision=9455
2003-12-27 08:35:08 +00:00
Guy Harris 821fd8405b Don't create a protocol tree entry for the body of an NDMP request or
reply if there isn't a body, just a header, so that we don't throw an
exception and mark the frame as malformed if the request or reply isn't
supposed to have a body.

svn path=/trunk/; revision=9454
2003-12-27 04:01:17 +00:00
Guy Harris 46ce3ac2fa There might not be any AFS payload in an AFS reply; for fields in the
reply that don't come from the packet, use an offset and length of 0, so
that we don't throw an exception if the purported data at that offset
with that length doesn't exist.

svn path=/trunk/; revision=9453
2003-12-27 03:45:45 +00:00
Guy Harris 83887ebd3a Don't defragment packets that aren't fragmented.
Note that we've seen weird sequence numbers for login packets.

svn path=/trunk/; revision=9452
2003-12-27 02:17:22 +00:00
Guy Harris 935b5e5329 Note that this is another client for reassembly using connection
sequence numbers.

svn path=/trunk/; revision=9451
2003-12-27 02:01:13 +00:00
Guy Harris d8358e41fc When testing the first line of HTTP data, process what data we have -
don't give up if we don't have the full line.

svn path=/trunk/; revision=9450
2003-12-27 01:42:56 +00:00
Guy Harris 2e2946db8e Check that the length of an AVP is >= 6, not just that it's non-zero.
svn path=/trunk/; revision=9449
2003-12-26 23:33:25 +00:00
Ulf Lamping f849df17e6 conditionally use modern UI for NSIS installer
svn path=/trunk/; revision=9448
2003-12-26 12:27:47 +00:00
Ulf Lamping b6092e26fd conditionally use modern UI for NSIS installer
svn path=/trunk/; revision=9447
2003-12-26 11:37:58 +00:00
Ulf Lamping 1f959ea4bd bugfix: uninstall also the help textfiles
svn path=/trunk/; revision=9446
2003-12-26 11:36:43 +00:00
Guy Harris 20788302e3 In "alloc_field_info()", handle the case where the offset is past the
byte past the end of the tvbuff.

svn path=/trunk/; revision=9445
2003-12-24 23:37:28 +00:00
Guy Harris 129de02c79 In "tvb_ensure_bytes_remaining()", throw ReportedBoundsError, not
BoundsError, if the offset is just past the end of the reported data
(because we're ensuring that there actually *is* a byte there, and,
even according to the reported length, it isn't).

svn path=/trunk/; revision=9444
2003-12-24 23:28:17 +00:00
Jörg Mayer 982b7a3f2b Add -pedantic to --with-extra-gcc-checks
svn path=/trunk/; revision=9443
2003-12-24 14:45:48 +00:00
Jörg Mayer 3f0ed2487d Add -pedantic to --with-extra-gcc-checks
svn path=/trunk/; revision=9442
2003-12-24 14:06:36 +00:00
Olivier Biot 5663e71bc6 Fix highlighting of Image record (forgot one fixed header byte).
Add comments on computation of fixed header.

svn path=/trunk/; revision=9441
2003-12-24 12:46:57 +00:00