aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-http.h
AgeCommit message (Collapse)AuthorFilesLines
2015-11-20Bluetooth: GATT: Add HTTP Proxy Service attributesMichal Labedzki1-0/+2
Add HTTP Proxy Service attributes and UUID. Change-Id: If0ab490f2df0930d2b80687ac4c9a1d7e4d463e4 Reviewed-on: https://code.wireshark.org/review/11978 Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
2014-04-27Reorder fields in http_conv_t to save some memory.Jakub Zawadzki1-4/+4
On amd64 before patch: sizeof(http_conv_t) == 88, after: 72 bytes. Change-Id: I2863f1c7223a904dadfbe68dc41bc61fc2cc378a Reviewed-on: https://code.wireshark.org/review/1388 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2014-04-27http: Fix src/dest mapping for proxied connectionsPeter Wu1-0/+3
Using value_is_in_range is making quite some assumptions, namely (1) the proxy server is always run on a registered HTTP port, and (2) the source (client) port is always not HTTP. The former is quite a strong assertion which fails to hold when using a custom port (8008) that got detected through heuristics. Fix this by recording the source address and port pair for the server and then check this against the current packet. This fixes detection of a SSL conversation where two conversations got detected instead of one. Example: 8008 is proxy, 443 is target server. Now the proxied conversation got detected as 443 --> "client port" (server to client, ok) and 443 --> 8008 (client to server, not ok, should be "client port" --> 443). bug:7717 Change-Id: I05113ec2aca6c9296184759a8a62eb32cbfcbb4f Reviewed-on: https://code.wireshark.org/review/1380 Reviewed-by: Michael Mann <mmann78@netscape.net> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2013-03-01Export libwireshark symbols using WS_DLL_PUBLIC defineBalint Reczey1-0/+3
Also remove old WS_VAR_IMPORT define and related Makefile magic everywhere in the project. svn path=/trunk/; revision=47992
2013-02-16From Dirk via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8287Evan Huus1-1/+21
Request-response tracking and response-time calculation for HTTP. svn path=/trunk/; revision=47694
2013-01-30Add a routine to allow dissectors to specify ports that carry HTTPGuy Harris1-0/+1
traffic *without* claiming all that traffic for themselves; they might want, instead, to register for a particular media type. Not all traffic to or from port 3689 is DAAP - not even traffic between two Apple machines doing media stuff (e.g., some FairPlay traffic isn't). Register for the media type application/x-dmap-tagged, and just say port 3689 is HTTP. This means we can get rid of the FPLY hack, as that traffic is application/octet-stream. Update some comments. Leave it up to the DAAP dissector to tag traffic as DAAP in the protocol column. svn path=/trunk/; revision=47376
2012-12-26Fix a bunch of warnings.Guy Harris1-1/+1
Cast away some implicit 64-bit-to-32-bit conversion errors due to use of sizeof. Cast away some implicit 64-bit-to-32-bit conversion errors due to use of strtol() and strtoul(). Change some data types to avoid those implicit conversion warnings. When assigning a constant to a float, make sure the constant isn't a double, by appending "f" to the constant. Constify a bunch of variables, parameters, and return values to eliminate warnings due to strings being given const qualifiers. Cast away those warnings in some cases where an API we don't control forces us to do so. Enable a bunch of additional warnings by default. Note why at least some of the other warnings aren't enabled. randpkt.c and text2pcap.c are used to build programs, so they don't need to be in EXTRA_DIST. If the user specifies --enable-warnings-as-errors, add -Werror *even if the user specified --enable-extra-gcc-flags; assume they know what they're doing and are willing to have the compile fail due to the extra GCC warnings being treated as errors. svn path=/trunk/; revision=46748
2012-11-02From vanviegen via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7934 ↵Alexis La Goutte1-1/+1
WebSocket dissector improvements - Now works for WebSocket packets not aligned with IP packets. - Support subdissectors. From me : - Fix checkAPIs warning (about comments) - Remove some whitespace svn path=/trunk/; revision=45875
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-04-20From me for https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6843Alexis La Goutte1-1/+2
Add WebSocket Protocol dissector (RFC6455) * Support Base Framing Protocol * Support of major opcode (Text, Binary, Close, Ping, Pong...) * Support of unmask Payload (Client-to-Server Masking) TODO * Add fragmentation support * Add WebSocket Extensions svn path=/trunk/; revision=42163
2007-12-26Fix for bug 1586: When proxying a tcp connection (mostly used with ssl over anSake Blok1-0/+1
http proxy), let the proxied protocol take care of reassembly itself. svn path=/trunk/; revision=23949
2007-03-13HTTP Export Object updates:Stephen Fisher1-5/+21
- Split the HTTP tap into two taps: one for the HTTP statistics and the other for the export object function. This allows the HTTP statistics to work again (they seem to have been partially broken since SVN rev 18901). - Pass the conversation data (conv_data) between functions now instead of using the global variable stat_info (now only used for the HTTP stats) - Pass only pointers from the HTTP dissector to the Export Object tap, where we'll then copy the values and insert into the slist. - Make sure we free all memory allocated by this feature when we're done with it. - Various other minor improvements svn path=/trunk/; revision=21021
2007-02-19Initial version of the new Statistics -> Content List -> HTTP feature. ThisStephen Fisher1-0/+3
feature lists all of the content found in an HTTP stream (images, http, etc.) and displays it in a list that allows the user to save each one as a file that is already reassembled by the dissectors. svn path=/trunk/; revision=20867
2006-08-15Stephen Fisher <stephentfisher@yahoo.com>Jörg Mayer1-1/+0
Could you apply the attached patch also to finish it off - I failed to include it in the original e-mail. svn path=/trunk/; revision=18906
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18196
2005-02-28few changes to httpLuis Ontanon1-0/+3
- 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
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+37
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