Age | Commit message (Collapse) | Author | Files | Lines |
|
Also move ncp222.py, x11-fields, process-x11-fields.pl,
make-reg-dotc, and make-reg-dotc.py.
Adjust #include lines in files that include packet-*.h
files.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11410 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
they have LF at the end of the line on UN*X and CR/LF on Windows;
hopefully this means that if a CR/LF version is checked in on Windows,
the CRs will be stripped so that they show up only when checked out on
Windows, not on UN*X.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11400 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
a CTL in HTTP, ICAP, and RTSP.
Check for non-ASCII characters in ICAP and RTSP, just as we do in HTTP.
The headers in those protocols are just "headers", not "MIME headers",
at least in the RFCs (common usage nonwithstanding; not all of those
headers are for MIME stuff such as Content-Type).
Add some RFC numbers.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11357 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11069 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
function with a different signature than the one defined in util.c/util.h.
For this reason, we need to rename our base64_decode() routine.
The routine is now called epan_base64_decode().
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10840 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
is being dechunked; this will highlight the correct bytes when selecting the
compressed data from the protocol tree.
Add comments for explaining what happens where.
Strip trailing white space.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10832 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10822 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
* Add comments on why we may not use tvb_free() at some places.
* Add a new data source for a reassembled chunked entity.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10821 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
double freeing of memory. Add a comment at the tvb_new_subset() call so
future developers will be warned.
Always add the compressed entity as an item in the protocol tree, so it can
be exported by selecting the packet bytes.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10819 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10816 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
- Helper functions for uncompressing compressed tvbuffers.
- Compressed content coding dissection in HTTP.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10799 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
That means that the description of the "desegment HTTP bodies"
preference setting shouldn't speak of it causing the dissector to trust
the content length (which makes it somewhat long anyway), as it also
desegments chunked bodies that lack a Content-Length header; expand the
tooltip for the preference to speak of that.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10787 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
if the HTTP data takes more than one packet.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10785 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
media dissector for a given media type (value of a Content-Type header)
must provide the logic to fall-back to this media dissector upon no match.
Note that you must set the pinfo->match_string to the media type name,
and if the media type is specified with parameters, then those parameters
can be added to pinfo->private_data. If there are no parameters, or the
parameter decoding is not implemented, you must set pinfo->private_data
to NULL.
Known TODOs:
- Fix the WSP parameter handling so it accompanies any media dissector.
Simplest approach is to retrieve the header field label from the WSP
Content-Type field and to search for a semicolon in it (or by using
the string length of the content type string representation).
- Verify that that subdissection always works in the WSP dissector,
even when the protocol tree is not being built.
- Implement the media dissector in the remaining dissectors that use the
media type string table.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10743 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
tvb_get_ptr() is not necessarily NULL terminated, hence a NULL terminated
string must be generated from the returned pointer.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10742 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10732 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
- Dissect chunked transfer-coded body in HTTP
- Update email address
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10710 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10588 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
don't try to dissect the body if there's any special encoding.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10151 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9938 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9745 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
to reduce the size of the preferences dialog.
This becoming necessary, as some of the texts were huge
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9693 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9670 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9623 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
TODO: the HTTP dissector does not deal yet with chunked coding.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9617 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9515 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9505 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
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".
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9458 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
message body.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9457 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9455 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
don't give up if we don't have the full line.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9450 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
long as there's reported data, don't just loop through the data in the
tvbuff.
Fix some problems with short frames.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9438 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
files, routines, data structures, etc..
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9428 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Don't do that for HTTP-over-UDP, however.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9427 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9426 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9424 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
headers, and body into a separate routine, for use by other dissectors.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9402 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
freed even if we throw an exception after processing the Content-Type
header but before we call a subdissector.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9191 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
match the previous checkin.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9190 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
for use in any dissector that uses Internet media types.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9189 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
(subdissectors must register their Content-Type values as
all-lower-case).
Don't include parameters in the value we look up in the Content-Type
subdissector table.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9000 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Process the Content-Type header, and, if one is found, look up its value
in the aforementioned dissector table.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8999 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
value so it can be handled specially (with a string dissector table so
that subdissectors can register for particular content types).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8903 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
(string) values to be put into the protocol tree as fields and allowing
some headers to get special treatment, and use it for Authorization,
Proxy-Authorization, WWW-Authenticate, and Proxy-Authenticate.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8892 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
identical one and throw away the first one.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8876 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8786 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8346 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8345 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7837 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
to put the field, and any future field extracted from the HTTP Request
record.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7834 f5534014-38df-0310-8fa8-9805f1628bb7
|