aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2005-09-14for octet strings that span beyond the end of a "short" tvb, create a new ↵Ronnie Sahlberg1-4/+7
subset tvb of what we have and use that instead of bailing out completely. svn path=/trunk/; revision=15795
2005-09-14when we have raw keberos inside the spnego blob, pass it as is over toRonnie Sahlberg1-2/+1
the kerberos dissector and do not strip the ber tag and lengths off svn path=/trunk/; revision=15794
2005-09-14Have cf_retap_packets() take an argument that indicates whether toGuy Harris29-42/+44
generate columns; use cf_retap_packets instead of cf_redissect_packets() when running taps (the general flow graph stat uses the Info column). svn path=/trunk/; revision=15793
2005-09-14fix #388: add /desktopicon and /quicklaunchicon command line options to the ↵Ulf Lamping2-6/+51
NSIS installer update the User's Guide accordingly svn path=/trunk/; revision=15792
2005-09-13Move "Expert Info" from "Statistics" to "Analyze" menu item.Ulf Lamping1-61/+142
*significantly* improve performance (100000 infos from ~5min to 25sec!) Add a simple severity based filter mechanism. replace // style comments by /**/ svn path=/trunk/; revision=15791
2005-09-13Turn around the sequence of PATH, so the former PATH will be in front of the ↵Ulf Lamping1-1/+10
newly added things. This way, the cygwin link.exe command will be behind the link.exe from MSVC. Also added a definition of the docbook dir, floating around in my personal file for a while. This will be needed if the User's Guide is included in the NSIS installer later. svn path=/trunk/; revision=15790
2005-09-13In smb_trans_defragment(), throw an exception if we encounter a too-largeGerald Combs2-0/+17
fragment size. The limit is conservatively set at 65536 bytes. It may have to be increased. Fixes bug 421. Add an entry to the release notes. svn path=/trunk/; revision=15789
2005-09-13implement a way to add menu items to the "Analyze" menuUlf Lamping2-1/+9
svn path=/trunk/; revision=15788
2005-09-13don't crash with a NULL pointer exception, if "do not decode as" is usedUlf Lamping1-5/+5
svn path=/trunk/; revision=15787
2005-09-13add to the protocol item a short description what a "Short Frame" isUlf Lamping1-1/+1
svn path=/trunk/; revision=15786
2005-09-13increment index of IID's in COL_INFOUlf Lamping1-1/+1
svn path=/trunk/; revision=15785
2005-09-13use the same name for menu item and dialog box title, use the right ↵Ulf Lamping1-2/+2
capitalization for both svn path=/trunk/; revision=15784
2005-09-13Get application ID from the packet.Anders Broman1-22/+22
svn path=/trunk/; revision=15783
2005-09-13From Peter JohanssonAnders Broman1-7/+10
PATH contents one had before starting the build, that PATH is added to the new PATH variable 5 additional times instead of 1. I have made changes (supplied) to config.nmake that takes care of this problem. svn path=/trunk/; revision=15782
2005-09-13don't simply remove the expert_info output at BoundsError, but add the ↵Ulf Lamping1-0/+5
comment from Guy why this (usually) isn't a bug (because of a short snapshot length). svn path=/trunk/; revision=15781
2005-09-13From Ankur Aggarwal:Anders Broman1-5/+5
First phase of testing revealed the following errors svn path=/trunk/; revision=15780
2005-09-13From Stefan MetzmacherAnders Broman1-18/+79
Some updates to the winsrepl-dssector to add COL_INFO strings... svn path=/trunk/; revision=15779
2005-09-13From Alejandro Vaquero.Anders Broman2-54/+69
svn path=/trunk/; revision=15778
2005-09-13From Piros Lucian:Anders Broman4-0/+1030
A new dissector - cimd dissector. CIMD stands for Computer Interface to Message Distribution and it's used to transfer short messages between applications and Nokia Short Message Service Center. svn path=/trunk/; revision=15777
2005-09-13Move the definition of GNUC_FORMAT_CHECK() to its own header, use it inGuy Harris6-32/+54
column-utils.h, and add it to expert.h, so we check the arguments to "expert_add_info_format()", at least if the format argument is a constant string. Fix some more calls to "expert_add_info_format()" to pass it a format string. Don't record BoundsError exceptions as expert events - they merely reflect a capture done with a snapshot length too short to capture all of the packet (any case where it's caused by something else is a bug). svn path=/trunk/; revision=15776
2005-09-13Don't pass an arbitrary string from a packet to a routine expecting aGuy Harris1-0/+1
format string - the arbitrary string might contain "%" characters, so the routine might then fetch arbitrary junk and try to use it as, for example, a string pointer. svn path=/trunk/; revision=15775
2005-09-13Convert some more "tvb_memcpy()"s fetching IPv4 and IPv6 addresses toGuy Harris5-54/+56
calls to "tvb_get_ipv4()" and "tvb_get_ipv6()". Fix a call in the BGP dissector to properly fetch an IEEE floating-point number. Update some I-D info. svn path=/trunk/; revision=15774
2005-09-12When jumping (e.g. using menu item Go/Go to Packet...) to a new packet which ↵Ulf Lamping1-3/+61
is currently not displayed, this newly selected packet will become the first in the packet list. This is inconvenient, as most of the time (at least) I'm interested not only in the packets behind the newly selected one, but also to have some history *before* it. So this change will scroll the packet list to have the selected packet after the first third of the packet list. This change won't take effect if the new packet is already visible (only the selection is changed) or it's near the beginning or end of the packet list (so the whole beginning/end of the list is shown). svn path=/trunk/; revision=15772
2005-09-12add number of defragmented bytes to the expert info outputUlf Lamping1-2/+3
svn path=/trunk/; revision=15771
2005-09-12Get rid of "dtd_grammar.out" on a "make distclean".Guy Harris2-9/+14
Get rid of all the Flex-generated (and Lemon-generated) files on a "nmake -f Makefile.nmake distclean". svn path=/trunk/; revision=15770
2005-09-12Add a header file to declare routines defined in lexer and used inGuy Harris4-8/+40
parser, or vice versa. svn path=/trunk/; revision=15769
2005-09-12Again, "g_strdown()" doesn't return a value in GLib 1.2[.x].Guy Harris1-6/+22
svn path=/trunk/; revision=15768
2005-09-12"g_strdown()" doesn't return a value in GLib 1.2[.x]; don't depend on itGuy Harris1-4/+7
doing so. svn path=/trunk/; revision=15767
2005-09-12The previous checkin for packet-isup.c was accidentally checked in alongGuy Harris3-46/+62
with some unrelated changes; it got rid of some calls to get IPv4/IPv6 addresses and add them to the protocol tree, replacing them with proto_tree_add_item() calls, and fixed up the length of one protocol tree item. Note that we have (at least) three count 'em three different routines for dissecting/displaying NSAPs (there might be more - I might have missed some), and suggest that we might want to reduce that to one. Update the URL for ICP values for IPv{4,6} addresses inside NSAPs. Fix the offset in the call to add the IPv6 address part of an NSAP containing such an address, and the length in the call adding the DSP for an NSAP containing an IPv4 address. Fix up indentation a bit. svn path=/trunk/; revision=15766
2005-09-12In now supports also:Michael Tüxen1-27/+83
- http://www.ietf.org/internet-drafts/draft-ietf-tsvwg-sctpimpguide-15.txt - http://www.ietf.org/internet-drafts/draft-ietf-tsvwg-addip-sctp-13.txt - http://www.ietf.org/internet-drafts/draft-stewart-sctp-pktdrprep-02.txt - http://www.ietf.org/internet-drafts/draft-ietf-tsvwg-sctp-auth-01.txt - http://www.ietf.org/internet-drafts/draft-ladha-sctp-nonce-02.txt svn path=/trunk/; revision=15765
2005-09-12Don't collide with the "regular" IPv6 defintions in at least someGuy Harris8-53/+30
platforms in ipv6-utils.h. svn path=/trunk/; revision=15764
2005-09-12fix fault defragmentation the same way as in the request/response pathUlf Lamping1-18/+7
Unfortunately, I don't have a capture file to test this... svn path=/trunk/; revision=15763
2005-09-12fix reassembling problem I've introduced yesterday, by using ↵Ulf Lamping3-68/+35
fragment_add_seq_next() function instead of fragment_add() in addition, I had to implement fragment_get_reassembled() in addition to fragment_get(), which works with reassembled_table svn path=/trunk/; revision=15762
2005-09-11Fix a typo.Guy Harris1-1/+1
svn path=/trunk/; revision=15761
2005-09-11Frame numbers are unsigned, and they start at 1; 0 is what's used forGuy Harris5-7/+15
"unknown" for frame numbers. Note that in epan/frame_data.h, and make the frame number in experts unsigned, and use 0 for "unknown", and display it as an unsigned number - and, if it's 0, don't display it at all. Fix the signature of "expert_dlg_draw()" to match what a tap's draw routine's signature is expected to be. svn path=/trunk/; revision=15760
2005-09-11Add some braces to squelch a compiler warning.Guy Harris1-13/+14
Fix up indentation. svn path=/trunk/; revision=15759
2005-09-11Replace tvb_memcpy() calls that extract IPv4 addresses into a guint32,Guy Harris47-229/+177
and that extract IPv6 addresses into a "struct e_in6_addr", with tvb_get_ipv4() and tvb_get_ipv6() calls - except for some that we remove, by using proto_tree_add_item(), rather than replacing. Have epan/tvbuff.h include epan/ipv6-utils.h, to define "struct e_in6_addr" (not necessary to declare the tvbuff routines, but including it there means "struct e_in6_addr" is guaranteed to be defined before those declarations, so we don't get compiler complaints if we define it *after* those declarations). svn path=/trunk/; revision=15758
2005-09-11rename fragment_add_dcerpc -> fragment_add_dcerpc_dg to avoid confusion a bit,Ulf Lamping3-3/+3
as connection oriented (cn) and connectionless (dg) DCE/RPC uses different ways to handle defragmentation and this function is only used for dg svn path=/trunk/; revision=15757
2005-09-11Get rid of dependency on format-oid.hAnders Broman1-82/+18
svn path=/trunk/; revision=15756
2005-09-11some things fixed, leftover from code cleanup (thanks to the buggy MSVC ↵Ulf Lamping4-6/+6
dependencies) svn path=/trunk/; revision=15755
2005-09-11I'm adding the "Expert Info" prototype now, as it seems to be in a state ↵Ulf Lamping17-60/+1019
where others might have a look and probably already find it useful :-). Anyway, we can easily disable it at one or two places in the code if it get's in our way of a new release. Please see: http://wiki.ethereal.com/Development/ExpertInfo for a complete overview of the intended feature and it's current state of implementation. While I'm working on this, I've also added some more status result codes to the DCE/RPC and DCOM dissectors. svn path=/trunk/; revision=15754
2005-09-10Add "tvb_get_ipv4()" and "tvb_get_ipv6()" addresses, to fetch IPv4 andGuy Harris6-8/+49
IPv6 addresses. Use "tvb_get_ipv4()" in the WINS Replication dissector, so that it gets the right answer on little-endian *AND* big-endian machines. svn path=/trunk/; revision=15753
2005-09-10In "dissect_sip()", return 0 if "dissect_sip_common()" returns aGuy Harris1-48/+79
negative value, so we reject the packet as "not SIP". Add a "dissect_sip_tcp_heur()" that's heuristic - it'll return FALSE if the first packet doesn't look like SIP, but once it's dissected one packet it'll just treat subsequent SIP packets as continuations if they don't look right. Clean up indentation a bit. svn path=/trunk/; revision=15752
2005-09-10propperly handle the errors when loading a file fails.Luis Ontanon1-7/+30
svn path=/trunk/; revision=15751
2005-09-10don't use fgets() as MSVC does not implement it. use fgetc instead.Luis Ontanon1-6/+7
svn path=/trunk/; revision=15750
2005-09-10fix MSVC slash/backslash and other such problems, now getting:Ulf Lamping1-4/+4
dtd_preparse.obj : error LNK2001: Nichtaufgeloestes externes Symbol _fgetln MSVC doesn't support fgetln! svn path=/trunk/; revision=15749
2005-09-10Make sure lemon is built before trying to use itLuis Ontanon1-1/+1
svn path=/trunk/; revision=15748
2005-09-10fix the dtd_grammar.c ruleLuis Ontanon1-3/+3
svn path=/trunk/; revision=15747
2005-09-10nmake does not have the $^ macroLuis Ontanon1-1/+1
svn path=/trunk/; revision=15746
2005-09-10the dtd parser (still missing the glue) and few fixes to packet-xml.cLuis Ontanon8-72/+1061
svn path=/trunk/; revision=15745