aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2006-04-28Check Payload type before dissecting fmtp parameters.Anders Broman1-12/+24
svn path=/trunk/; revision=18028
2006-04-28Fix bug 896 by using tcp_dissect_pdus() .Anders Broman1-3/+30
svn path=/trunk/; revision=18027
2006-04-28Fetch a combobox control handle before we try to use it. Add some neededGerald Combs1-11/+6
_T macros. Remove some extraneous comments. svn path=/trunk/; revision=18026
2006-04-28Fix logic used to test protection under Windows OT. Only initializeGerald Combs1-14/+27
our page size and OS version information once. svn path=/trunk/; revision=18025
2006-04-28 tcp analysis updates to prepare for later tcp reassembly updatesRonnie Sahlberg2-188/+56
now that we have se_tree_lookup32_le we can do the tracking of pdu boundaries much more efficiently. track pdu boundaries by a new tcp_multisegment_pdu structure that is indexed by sequence numbers and let this structure replace the older tcp_next_pdu structure. with se_tree_lookup32_le we no longer need to track segment by segment and can get rid of the two hash tables tcp_pdu_tracking_table tcp_pdu_skipping_table Neither do we need the tree tcp_pdu_time_table anymore so that one is gone as well. remove various other functions that are no longer needed due to removing the structure and the tables/tree this part of the code shoul;d be much more readable now and also a bit faster svn path=/trunk/; revision=18024
2006-04-28- fix Bug 890Tomas Kukosa1-7/+5
- remove c2asn() which did not work exactly svn path=/trunk/; revision=18023
2006-04-28Don't change rflags for any properties other thanGuy Harris1-10/+0
IEEE80211_RADIOTAP_FLAGS. svn path=/trunk/; revision=18022
2006-04-27add some higher packet length valuesUlf Lamping1-2/+2
svn path=/trunk/; revision=18021
2006-04-27This was completely broken, as the "length" variable actually reflectedGuy Harris1-25/+27
the amount of data left in the radiotap header after the fields we've processed so far, not the total length of the header, so it couldn't be used to skip past the radiotap header and get a tvbuff of the packet data. Fix that. svn path=/trunk/; revision=18020
2006-04-27From Diego Petteno and Daniel Black: add more libraries to the list ofGuy Harris2-1/+2
libraries with which we link libethereal, fixing the reopened bug 878. svn path=/trunk/; revision=18019
2006-04-27Add an extra null pointer check. Fixes Coverity CID 154.Gerald Combs1-20/+25
svn path=/trunk/; revision=18018
2006-04-27Properly grow our buffers for utf_8to16().Gerald Combs1-1/+1
svn path=/trunk/; revision=18017
2006-04-27From Martin Mathieson:Anders Broman1-1/+1
Fix typo in menu item name svn path=/trunk/; revision=18016
2006-04-26From Mark C. Brown:Jaap Keuter1-77/+77
The code was incorrectly bounds checking AndXOffset. AndXOffset is only relevant when AndXCommand is not 0xFF. This patch corrects erroneous "Malformed packet" exceptions. svn path=/trunk/; revision=18015
2006-04-26Properly set our export file name before we try to use it. Fixes bug 894.Gerald Combs1-1/+1
svn path=/trunk/; revision=18012
2006-04-26If we're running under Windows 95/98/Me, don't abort if we can't protectGerald Combs1-15/+21
our guard pages. svn path=/trunk/; revision=18011