aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2006-05-03do some template magic to make ethereal dissect CLDAP RPC again.Ronnie Sahlberg4-79/+540
i dont think it is the optimal way to solve this but it is better than nothing for the time being. svn path=/trunk/; revision=18083
2006-05-03Anything linked with @PCAP_LIBS@ needs, on at least some platformsGuy Harris1-1/+1
(e.g., Solaris 2 and later), to be linked with @SOCKET_LIBS@ and @NSL_LIBS@ as well. svn path=/trunk/; revision=18082
2006-05-03From Paolo Abeni:Anders Broman4-61/+133
authesserre samuel <sauthess@gmail.com> kindly pointed out an issue with session renegotiation in the current ssl decryption code. Encrypted handshake message are decrypted, but the dissector try to interpret the encrypted code. Renegotiation messages are therefore ignored. The attached pcap trace and key can be used to trigger the issue. The attached patch fix the problem storing the decrypted version of encrypted handshake message and dissecting it when available. The patch also fix bad issue with des cipher (alike the issue fixed in my previous post) svn path=/trunk/; revision=18081
2006-05-03From Andrei Emeltchenko:Anders Broman1-5/+26
I attached patch to add preferences in SDP for RTP stream detection. By default SDP decodes RTP stream but now I can disable it. svn path=/trunk/; revision=18080
2006-05-02Fix Bug 913 DateAndTime dissection error in CAMEL CallInfoReportArg Anders Broman2-9/+10
svn path=/trunk/; revision=18079
2006-05-02Do the ESP payload decoding, and pass it to the subdissector, regardlessGuy Harris1-672/+713
of whether we're building a protocol tree or not - you have to call subdissectors in either case. svn path=/trunk/; revision=18078
2006-05-02Makefiles for OMA UserPlane Location Protocol packet dissection..Anders Broman2-1/+13
svn path=/trunk/; revision=18077
2006-05-02Add OMA UserPlane Location Protocol packet dissectorAnders Broman8-0/+4247
svn path=/trunk/; revision=18076
2006-05-02Handle UTCTime for PER.Anders Broman1-0/+4
svn path=/trunk/; revision=18075
2006-05-02MSVC is picky about assignments in declarations.Anders Broman1-2/+2
svn path=/trunk/; revision=18074
2006-05-02It looks like g_fopen() in the version of GLib that we ship with WindowsGerald Combs1-4/+3
sets errno to 0 when we can't open a file. This resurrected the annoying "C:\Program Files\Ethereal\asn1/default.tt" error in the ASN.1 plugin, since we depended on errno being set to ENOENT. Move some logic around to account for this. svn path=/trunk/; revision=18073
2006-05-02Not all compilers support unnamed struct/union fields withinGuy Harris2-14/+14
structs/unions (GCC supports it "for compatibility with other compilers"; presumably that's not for compatibility with the version of Sun C that rejected it - was that a PCCism?). svn path=/trunk/; revision=18072
2006-05-02Add infrastructure for display filter functions.Gilbert Ramirez29-56/+936
Add upper() and lower() display filter functions for string fields. svn path=/trunk/; revision=18071
2006-05-02implement decryption of and dissection ofRonnie Sahlberg1-4/+190
EncKrbCredPart Packet 18 in sample capture kerberos-Delegation.zip on the wiki contains this structure. svn path=/trunk/; revision=18069
2006-05-02Add newlines to the ends of the files.Guy Harris2-2/+2
svn path=/trunk/; revision=18068
2006-05-02Preparations to restore CLDAP dissection, no need to regenerate the ↵Anders Broman1-1/+368
dissector yet. svn path=/trunk/; revision=18067
2006-05-01Bump the version number to 1.1. Clean up the release notes.Gerald Combs3-320/+14
svn path=/trunk/; revision=18062
2006-05-01Include <epan/strutil.h> to define g_ascii_isprint() on systems withGuy Harris2-6/+8
GLib 1.2[.x]. svn path=/trunk/; revision=18061
2006-05-01Add a Makefile to generate the dissectors from UN*X.Guy Harris1-0/+16
svn path=/trunk/; revision=18060
2006-05-01Fix for bug 887. Use the right function to set the window position.Jaap Keuter1-0/+6
svn path=/trunk/; revision=18059
2006-05-01Operation request/result correlation and timing.Graeme Lunt5-98/+491
svn path=/trunk/; revision=18058
2006-05-01Use the asn2eth generated ldap dissector.Anders Broman3-2426/+2452
svn path=/trunk/; revision=18057
2006-05-01Preference to disable BER length sanity check (needed for asn2eth LDAP ↵Graeme Lunt1-6/+13
dissector). svn path=/trunk/; revision=18056
2006-05-01MS KDC sends a PA_DATA with a magic salt containing an nt status code also ↵Ronnie Sahlberg1-2/+2
for ERR_BADOPTION which can be seen in the constrained-delegation.zip capture on the wiki sample captures page. svn path=/trunk/; revision=18055
2006-05-01It's g_strdup_printf(), not g_sprintf_alloc().Guy Harris1-3/+4
Declare "error", and properly terminate a string. svn path=/trunk/; revision=18054
2006-05-01coverity 155Ronnie Sahlberg1-4/+4
coverity showed this as a null dereference which was a false positive. sp can never be null here. there is a bug however since with this invalid test the memory release functions will never be called and we thus had a memory leak here. svn path=/trunk/; revision=18053
2006-05-01remove a test for NULL we dont need since itlq can not be null here and thus weRonnie Sahlberg1-2/+2
dont need to test for it. this unnecessary test for itlq==NULL was shown by coverity issue 151 svn path=/trunk/; revision=18052
2006-05-01Handle the case where we *can't* determine the pathname in which to findGuy Harris5-51/+127
programs, by reporting it with a dialog box that at least attempts to indicate what the problem is, and by giving up early on running dumpcap. svn path=/trunk/; revision=18051
2006-05-01Have "pdu_store_sequencenumber_of_next_pdu()" return the newly-allocatedGuy Harris1-23/+46
"struct tcp_multisegment_pdu"; that lets it be used in one case where the code in it was duplicated. Make "desegment_tcp()" loop rather than recursing - not all compilers will necessarily recognize the tail recursion. Catch heuristic dissectors that reject a packet but also request (whether deliberately or accidentally) that more data be added. svn path=/trunk/; revision=18050
2006-05-01UDP and SCTP aren't byte-stream protocols, so they don't offer TCP-styleGuy Harris1-3/+106
reassembly. UDP has no notion of reassembly - that's done at the IP layer - and SCTP has its own notions of reassembly which it currently doesn't provide. As such, TCP-style reassembly isn't possible for JXTA-over-UDP or JXTA-over-SCTP. As for TCP, a heuristic dissector for a TCP-based protocol can't request more data if it's rejecting a packet; make it not do so. That should fix the recent buildbot crash, although there are still some reassembly problems with that capture (c05-http-reply-r1.pcap.gz in the menagerie and on the SampleCaptures page of the Wiki) that aren't fixed yet. svn path=/trunk/; revision=18049
2006-04-30Operational Attributes and SyntaxesGraeme Lunt13-94/+1376
svn path=/trunk/; revision=18048
2006-04-30Fix for bug 881. Adding processing of error packet when server greeting is ↵Jaap Keuter1-20/+51
expected. svn path=/trunk/; revision=18047
2006-04-30tcp reassembly updatesRonnie Sahlberg1-216/+69
use tcp_multisegment_pdu and se_tree_lookup32_le() to track pdu boundaries for tcp reassembly just as this structure is used for the same purpose when reassembly is not enabled. get rid of a hashtable and two memchunks we no longer need tcp_segment_table tcp_segment_key_chunk and tcp_segment_address_chunk This makes tcp reassembly work for out-of-order segments as well as when reassembly completes in one segment and when the tail of the segment contains the head of the next pdu which we did not handle before. tcp reassembly should be much better and efficient now modulo introduced regressions. svn path=/trunk/; revision=18046
2006-04-30Get rid of extra semicolon - GCC warns that ISO C doesn't allow it.Guy Harris1-1/+1
svn path=/trunk/; revision=18045
2006-04-30Constify some stuff, to eliminate compiler warnings and to make a tableGuy Harris1-3/+3
that isn't written const. svn path=/trunk/; revision=18044
2006-04-30No C++/C99 comments, please (GCC warns about them in the SolarisGuy Harris1-3/+3
buildbot build, even though the code is #if 0'ed out). svn path=/trunk/; revision=18043
2006-04-30Request/result matching, port preference and display tweaksGraeme Lunt2-53/+417
svn path=/trunk/; revision=18042
2006-04-30Add "file_dlg.h" to declare "set_last_open_dir()".Guy Harris1-0/+3
Try leaving "dlg_utils.h" out. svn path=/trunk/; revision=18041
2006-04-30Include <errno.h> to get errnos.Guy Harris1-0/+3
svn path=/trunk/; revision=18040
2006-04-30See whether <stdio.h> will get EISDIR defined.Guy Harris1-2/+0
svn path=/trunk/; revision=18039
2006-04-30We use stuff from dlg_utils.h.Guy Harris1-2/+0
svn path=/trunk/; revision=18038
2006-04-30We need <gdk/gdkkeysyms.h> to define GDK_VoidSymbol.Guy Harris1-2/+0
svn path=/trunk/; revision=18037
2006-04-30Move the file selection dialog routines to file_dlg.c, and give it aGuy Harris19-371/+493
header file. #if 0 out some includes; if none of the builds have a problem with that, I'll remove them. svn path=/trunk/; revision=18036
2006-04-29Fix the idempotent-include #define.Guy Harris1-2/+2
svn path=/trunk/; revision=18035
2006-04-29Most of the stuff in file_dlg.c is specific to capture files, so renameGuy Harris15-20/+20
it to capture_file_dlg.c, and rename its header file. We might want to move the generic file dialog stuff to a file_dlg.c file (it's currently in dlg_utils.c), and move the non-capture-file dialog stuff in capture_file_dlg.c to another file. svn path=/trunk/; revision=18034
2006-04-29Add some simple sanity checking of BVLC packets, so if you're unluckyGuy Harris1-15/+27
enough to have a non-BVLC packet from or to port 47808, we're likely to reject it and let another dissector try it. Fixes bug 855 (in which an MS Messenger packet was unlucky enough to have come from that port). Add value_string tables to some fields, and just use proto_tree_add_uint() to add them to the protocol tree, rather than generating our own text for them. svn path=/trunk/; revision=18033
2006-04-29Have the ring buffer routines take a pointer to a "bytes written" countGuy Harris4-13/+21
as an argument, rather than keeping the count to themselves, so the count kept by the capturing program can be updated correctly - including getting reset when files are switched. Fixes bug 895. svn path=/trunk/; revision=18032
2006-04-29Clean up indentation; use 2-space indentation throughout.Guy Harris1-678/+672
Save the media encoding name in the transport_info_t structure rather than in a global variable. Allocate it with tvb_get_ephemeral_string() so it's released after the packet is completely processed. Do *NOT* assume it's necessarily non-null in decode_sdp_fmtp(), as the code flow doesn't guarantee that to be true. proto_tree_add_string() now suffices for adding a particular SDP item - strings are now displayed "safely", with escaping of non-printable characters done. Update a comment (we no longer have the Big Transfer Vector to allow plugins to call dissector functions in Windows, we have those functions in a DLL). svn path=/trunk/; revision=18031
2006-04-29chrisaudley@yahoo.com:Jörg Mayer1-0/+158
Patch to fix: [Bug 904] FIX protocol dissector missing some message types svn path=/trunk/; revision=18030
2006-04-29A dissector called from tcp_dissect_pdus() has to return void. (If youGuy Harris1-48/+46
want to have a dissector capable of rejecting packets, you need to reject the packet before you call tcp_dissect_pdus() - once you're doing reassembly, etc., it's too late to reject the packet.) svn path=/trunk/; revision=18029