Commit Graph

182 Commits

Author SHA1 Message Date
Jörg Mayer eab0aeb4bb More char -> const char fixes
Declare some functions static

svn path=/trunk/; revision=15158
2005-07-30 16:34:38 +00:00
Guy Harris 9055696e2b Suggest that perhaps displaying chunks in the chunked encoding with the
data dissector might be overkill, as it causes each of those chunks to
be dumped in hex in Tethereal output - along with whatever's done with
the data reassembled from those chunks.

svn path=/trunk/; revision=15141
2005-07-29 07:35:43 +00:00
Ulf Lamping 4d6daa907c packet-http.c(484) : warning C4101: 'i' : unreferenced local variable
packet-http.c(486) : warning C4101: 'si' : unreferenced local variable
packet-kink.c(628) : warning C4101: 'quick_mode_payloads_length' : unreferenced local variable

svn path=/trunk/; revision=15051
2005-07-25 01:22:03 +00:00
Luis Ontanon 910f98eb86 Replace two calls to tvb_get_string with the new ep_tvb_get_string (this fixes a leak I introdduced at the last checkin)
remove the stat_infos PtrArray as we do not need to free our tap data anymore, YEAH!


svn path=/trunk/; revision=15026
2005-07-24 02:43:20 +00:00
Luis Ontanon 4f5c0a8cb2 move the stats_tree tap into the http dissector (not anymore in the plugin)
change several calls to g_memdup into ep_strndup, fix the free calls


svn path=/trunk/; revision=15022
2005-07-24 01:42:41 +00:00
Ulf Lamping a699e351d1 add length information to "Content-encoded entity body"
svn path=/trunk/; revision=14529
2005-06-02 20:03:15 +00:00
Anders Broman dc82444047 Add TCP port for "radan-http 8088/tcp Radan HTTP" from IANA.
svn path=/trunk/; revision=14378
2005-05-16 18:24:27 +00:00
Luis Ontanon 4012e774fd Make sure the tap info is created even when tree==NULL
svn path=/trunk/; revision=13815
2005-03-20 00:07:07 +00:00
Guy Harris 4047793286 Use the tokenizing routines to parse HTTP request and status lines.
Rename the RequestDissector type to ReqRespDissector as it's used to
dissect status (response) lines as well as request lines.

svn path=/trunk/; revision=13738
2005-03-13 00:49:33 +00:00
Luis Ontanon c57a54f3ec Add a preference for another alternate tcp port
svn path=/trunk/; revision=13638
2005-03-06 21:32:13 +00:00
Luis Ontanon ecea5fac96 In packets with more than one req/resp the items of all the req/resp subtrees always pointed to the offset of the first req/resp.
svn path=/trunk/; revision=13564
2005-03-01 11:37:26 +00:00
Luis Ontanon 88ffe08066 even if unharmful, this was simply ugly.
change

do {
 if (i == 0) break;
 ...
} while (i);

for a propper

while(i) {
 ...
}


svn path=/trunk/; revision=13557
2005-02-28 22:39:03 +00:00
Luis Ontanon d018dcf663 few changes to http
- stat_infos are mantained in a GPtrArray to avoid leaking and overwriting them
- added http_host and request_uri to http_info_value_t 


svn path=/trunk/; revision=13555
2005-02-28 22:27:24 +00:00
Gerald Combs 105e5bd617 Add request URI and Version fields. Add a question about fixing a memory leak.
svn path=/trunk/; revision=13475
2005-02-23 05:47:17 +00:00
Guy Harris c04a9a4180 There's no guaranteee that "req_resp_hdrs_do_reassembly()" gets called
only at the beginning of a tvbuff, so it needs an argument that's the
starting offset in the tvbuff.

svn path=/trunk/; revision=13128
2005-01-20 04:37:03 +00:00
Guy Harris 31871276d6 HTTP requests have no content if there's no Content-Length header and no
Transfer-Encoding header.

svn path=/trunk/; revision=13014
2005-01-13 07:47:26 +00:00
Ulf Lamping 78ff68d4b5 a lot of warnings removed, most of them about pointer to int casts without using the appropriate GLib macros
svn path=/trunk/; revision=12832
2004-12-25 13:49:30 +00:00
Guy Harris 14c5bed304 From Yaniv Kaul: add the CCM_POST method.
Tweak indentation.

svn path=/trunk/; revision=12761
2004-12-15 17:50:11 +00:00
Guy Harris c2b55b8d97 From Yaniv Kaul: DCERPC-over-HTTP(!) support. (But why didn't whoever
came up with that not go whole hog and implement RFC 3093?)

svn path=/trunk/; revision=12756
2004-12-15 09:10:07 +00:00
Guy Harris 61db2c8cc2 From Brett Kuskie: add more HTTP headers as filterable fields.
svn path=/trunk/; revision=12679
2004-12-07 17:59:58 +00:00
Gerald Combs ba475d8c35 Grab the last (and null) byte of the content type value.
svn path=/trunk/; revision=12668
2004-12-05 18:40:35 +00:00
Gerald Combs df3a7623c9 Don't access memory that may have been freed.
svn path=/trunk/; revision=12640
2004-12-01 19:34:51 +00:00
Guy Harris dc5d1958a1 From Giles Scott: make the chunk size and data length unsigned so we
handle values > 2^31-1.

svn path=/trunk/; revision=12482
2004-11-03 20:01:53 +00:00
Guy Harris 62612c70aa From Yaniv Kaul: dissect authentication data as NTLMSSP only if it
starts with "NTLMSSP", otherwise dissect it as GSS-API.

svn path=/trunk/; revision=12430
2004-10-29 08:01:11 +00:00
Guy Harris 31158d0d0e Move the request/response header helper routines to the epan directory.
svn path=/trunk/; revision=12129
2004-09-29 00:25:05 +00:00
Guy Harris 6472876ab3 Move the tap infrastructure to the epan directory.
svn path=/trunk/; revision=12128
2004-09-29 00:06:36 +00:00
Guy Harris bbe7f89742 Move prefs.c and prefs.h into the epan subdirectory.
svn path=/trunk/; revision=12115
2004-09-27 22:55:15 +00:00
Guy Harris fe3b7d73ed Move the base-64 routines to "epan/base64.c".
svn path=/trunk/; revision=11960
2004-09-10 23:16:00 +00:00
Guy Harris 89de832c93 From Kelly Byrd: DAAP support.
svn path=/trunk/; revision=11801
2004-08-22 03:04:54 +00:00
Ulf Lamping d530bd4e14 Prevent the word "desegmentation" at the GUI, but use reassembling at that places, as we also use "defragmentation" and "reassembling". Use reassembling as the general term for such actions.
I (hopefully) didn't changed any protocol fields or preference file names, but only the GUI labels appearing in the protocol display and the protocol preferences.

Also added a note to the protocol preferences (where appropriate), that you have to enable "Allow subdissectors to reassemble TCP streams" at the corresponding protocol settings for TCP reassembling to take effect.

If you encounter any mistakes I've made here, please let me know...

svn path=/trunk/; revision=11784
2004-08-21 09:02:52 +00:00
Guy Harris 9500f764ce From Tomas Kukosa: add support for RFC 3253 HTTP methods.
svn path=/trunk/; revision=11453
2004-07-21 06:05:24 +00:00
Gilbert Ramirez 669db206cb Move dissectors to epan/dissectors directory.
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.

svn path=/trunk/; revision=11410
2004-07-18 18:06:47 +00:00