aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2006-04-26Add dissection of MPEG4 fmtp parameter.Anders Broman1-11/+191
svn path=/trunk/; revision=18010
2006-04-26minor enhancementsUlf Lamping1-7/+18
svn path=/trunk/; revision=18009
2006-04-26Check for NULL return value from wtap_dump_open().Gilbert Ramirez1-0/+4
Fixes coverity bug 159. svn path=/trunk/; revision=18005
2006-04-26authesserre samuel <sauthess@gmail.com>:Jörg Mayer2-4/+4
The current ssl decryption code does not work for 3des session. The attached patch fixes the problem. svn path=/trunk/; revision=18004
2006-04-26add tracking of ndmp conversations and use this to track the version used if ↵Ronnie Sahlberg1-45/+64
we have seen the CONNECT_OPEN request. rename the preference to DEFAULT protocol version to indicate it is only used for those conversation where we have not automatically detected the version used. svn path=/trunk/; revision=18003
2006-04-26 NOTIFY_[DATA|MOVER]_HALTED requests no longer take an XDR string containing ↵Ronnie Sahlberg1-4/+29
the reason for version 4 of ndmp and forward. svn path=/trunk/; revision=18002
2006-04-26Workaround for bug 852. Force a line break so that the text view ↵Jaap Keuter1-2/+13
doesn't blow up on excessive long lines. svn path=/trunk/; revision=18001
2006-04-25Add some more ANSI Message types and Parameters dissect ANSI cause.Anders Broman2-20/+147
svn path=/trunk/; revision=18000
2006-04-25Add distclean and maintainerclean rules.Guy Harris56-0/+225
svn path=/trunk/; revision=17999
2006-04-25Add distclean and maintainerclean rules.Guy Harris1-0/+4
svn path=/trunk/; revision=17998
2006-04-25Add the usual Makefile.nmake comment.Guy Harris1-105/+108
Change "cd.." to "cd .." - I don't know whether they're equivalent, but, if they're not, the former probably won't work. svn path=/trunk/; revision=17997
2006-04-25Check several sets of additional libraries that libpcap might needGuy Harris1-16/+33
(-lcfg -lodm on AIX with the current tcpdump.org libpcap, -lpfring with the ring buffer stuff on Linux). svn path=/trunk/; revision=17996
2006-04-25Add a URLJörg Mayer1-0/+1
svn path=/trunk/; revision=17995
2006-04-25Update from samba tree revision 14805 to 15243Jörg Mayer8-2/+127
============================ Samba log start ============ svn: When specifying working copy paths, only one target may be given ============================ Samba log end ============== svn path=/trunk/; revision=17994
2006-04-25Include non-dissector support files in the source.Guy Harris1-0/+1
svn path=/trunk/; revision=17992
2006-04-25rename some value_Strings from ..._val to ..._valsRonnie Sahlberg4-25/+25
svn path=/trunk/; revision=17991
2006-04-25WinPcap 3.2 beta 1 (3, 2, 0, 29) seems to be working with the packet.dll, so ↵Ulf Lamping1-1/+2
don't warn the user about it svn path=/trunk/; revision=17990
2006-04-25fix win32 build:Ulf Lamping2-3/+6
scsi_mmc_val DATA scsi_sbc2_val DATA scsi_ssc2_val DATA BTW: these values should be renamed to ..._vals as in every other dissector I know! svn path=/trunk/; revision=17989
2006-04-25various changes:Ulf Lamping1-59/+283
mention informational URLs at the beginning and not at each element replace some // by /**/ start to decode the informational elements in the BSSID list add a privacy tab to the BSSID list (None, WEP, WPA, WPA2) various minor label changes svn path=/trunk/; revision=17988
2006-04-25bugifx (should be copied to the 1.0 trunk): don't crash, if the interface ↵Ulf Lamping1-0/+6
hardware in question was removed since the list of interfaces was generated (NULL pointer returned from wpcap_packet_open() caused a crash) svn path=/trunk/; revision=17987
2006-04-25copy input data into the buffer given to PacketRequest(), so functions with ↵Ulf Lamping1-0/+1
input parameters will also work svn path=/trunk/; revision=17986
2006-04-24remove a debugging printfRonnie Sahlberg1-2/+0
svn path=/trunk/; revision=17985
2006-04-24SCSI Service Response Time StaisticsRonnie Sahlberg5-3/+448
svn path=/trunk/; revision=17984
2006-04-24Column list pointer became invalid when element was removed from list. Fixes ↵Jaap Keuter1-1/+2
bug 886. svn path=/trunk/; revision=17983
2006-04-24Preparations to include ANSI ISUP dissection.Anders Broman2-259/+995
svn path=/trunk/; revision=17981
2006-04-24From Miha Jemec:Anders Broman6-0/+1342
With the new feature we can: 1. Measure how big the bursts are for a video streams (it uses sliding window algorithm) 2. Measure how big the output buffer should be that no packet drop will occur (it uses Leaky bucket algorithm) 3. Detect if we have loses inside the MPEG2 video stream (if there are already MPEG2 packets missing) - this part of code is not added yet, see Limitations The addition is called Multicast streams and works as follows: - it uses the TAP system - the main "stream" logic is taken from rtp_strems.* files - the TAP system checks for UDP packets where the destination MAC address starts with "01:00:5E" (ethernet multicast address) - it creates an entry for every new multicast stream - based on sliding window and leaky bucket algorithm it calculates for every stream average BW, max BW, burst size, max buffer needed, some alarms if the limits are exceeded,... - the same calculation is done for all streams together - inside the window dialog you can specify the burst interval, the alarm limits and output speeds To do & limitations: - Currently the analysis can be done only for multicast streams, it means that VoD (Video on demand) or PayTV streams, which are normally unicast can not be analysed. - since the MPEG2 is patended I don't know if decoding of MPEG2 packets is allowed? Can we look inside this packets and calculate packets drops based on some counter information inside the payload? Can someone please answer this question? If we can do this, I will post this part of code too. - some more flexibility will be added svn path=/trunk/; revision=17980
2006-04-24From Martin Mathieson:Anders Broman1-23/+46
This patch should hopefully remove any possible buffer overflows in parse_line() as reported by the current Coverity scan. I'm not sure that the error it currently reports is valid (I think its confused by supposing that a condition that is being tested can be true, whereas it can't...), but this patch fixes a number of potential problems remaining in the function. svn path=/trunk/; revision=17979
2006-04-24Make some /******...*/ lines less wide: They make svn-diffs on the web pageJörg Mayer1-7/+8
unreadable unless you have a 2000xsomething display. svn path=/trunk/; revision=17978
2006-04-24change the signature for dissect_scsi_snsinfo() to take itlq and itl structuresRonnie Sahlberg6-24/+67
update the comment in packet-scsi.c to reflect that it is the transport now that is responsible to track itl and itlq data make scsi tapable svn path=/trunk/; revision=17974