aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2005-09-10fix DCE/RPC defragmentation, if both middle and last DCE/RPC fragments are ↵Ulf Lamping2-16/+66
in the same TCP desegmented data blob reassemble.c: I had to change the way the reassemble code works if the dissector is telling that more fragments *will* follow. In this case the reassemble code shouldn't try to reassemble already at that time ... I've also changed the way if a fragment was already seen or not, as it's not enough to check for the frame number, in the scenario described above. Unfortunately both changes *might* broke other protocols from reassemble properly. I've checked with excessive TCP desegmentation and it's still working without any changes :-) packet-dcerpc.c: use a tvb subset to limit the "end of bytes" processed in a single fragment dissect run, as each fragment has it's own DCE/RPC header (and isn't part of the stub data of the previous packet). svn path=/trunk/; revision=15744
2005-09-09NSIS warning removed: the label "lbl_winpcap_dont_install" is currently unusedUlf Lamping1-1/+1
svn path=/trunk/; revision=15743
2005-09-09Dissect "nbs-9".Anders Broman5-13/+76
svn path=/trunk/; revision=15742
2005-09-09Add some 3GPP AVP:sAnders Broman1-0/+71
svn path=/trunk/; revision=15741
2005-09-09- dissect_per_choice() creates now only one level tree insted of two levels treeTomas Kukosa1-120/+71
- dissect_per_choice() rewritten svn path=/trunk/; revision=15740
2005-09-09From Bill Meier:Guy Harris2-24/+54
define "timezone" as "gint16", as it can be positive (west of UTC) or negative (east of UTC); update comments to refer to the new names for structure members; say the precision of the time stamps is 1 nanosecond only if the ticks per second is > 10 million; fix the handling of files truncated exactly on a frame boundary. svn path=/trunk/; revision=15739
2005-09-09From Didier Gautheron: pass error replies to the tap.Guy Harris1-6/+6
svn path=/trunk/; revision=15738
2005-09-09Update new RSVP host list and conversation stats to match recent changesGuy Harris2-6/+9
to the way command-line arguments and menu items for stats are done. svn path=/trunk/; revision=15737
2005-09-09Don't handle the ETHEREAL_STOCK_CAPTURE_START button if we don't haveGuy Harris1-1/+3
libpcap - ETHEREAL_STOCK_CAPTURE_START isn't defined, and we can't capture in any case, so we don't need that button. svn path=/trunk/; revision=15736
2005-09-09fix MSVC warning: sigcomp_state_hdlr.c(601) : warning C4101: ↵Ulf Lamping1-1/+1
'partial_state_str' : unreferenced local variable svn path=/trunk/; revision=15735
2005-09-08the xml plugin was removedLuis Ontanon2-3/+1
svn path=/trunk/; revision=15734
2005-09-08 some content-types are now handled by xml Luis Ontanon1-24/+1
svn path=/trunk/; revision=15733
2005-09-08start with fdata->num = -1, so we don't have an uninitialised value while ↵Ulf Lamping1-0/+1
doing read_filter style dissection svn path=/trunk/; revision=15732
2005-09-08(very minor) issue found while working on a new tapUlf Lamping1-1/+1
svn path=/trunk/; revision=15731
2005-09-08forgot the IdLuis Ontanon1-0/+2
svn path=/trunk/; revision=15730
2005-09-08Let's migrate the xml dissector...Luis Ontanon5-17/+5
svn path=/trunk/; revision=15729
2005-09-08a new version of the xml dissector, look ma no lex!Luis Ontanon1-0/+459
mmh still missing the dtd parser... svn path=/trunk/; revision=15728
2005-09-08fix the svn keywords and some comments that were out of dateLuis Ontanon2-16/+21
svn path=/trunk/; revision=15727
2005-09-08an API for "bufferless" parsing of text tvbsLuis Ontanon2-0/+1085
svn path=/trunk/; revision=15726
2005-09-08Fix more problems found by Steve Grubb, along with other changes:Gerald Combs5-15/+26
Camel: Fix an off-by-one error. Don't alloc and free where it's not needed. Remove an unused variable. PPP and K12: Fix memory leaks. svn path=/trunk/; revision=15725
2005-09-08start making winsrepl into a new style dissector and use tcp_dissect_pdus()Ronnie Sahlberg1-68/+43
also fix bugs 417 / 418 this dissector still needs to have heuristics to be added to it. svn path=/trunk/; revision=15724
2005-09-08from M&Y KaulRonnie Sahlberg2-8/+27
rename Wins to WINS add some new decodes svn path=/trunk/; revision=15723
2005-09-08from Michal & Yaniv KaulRonnie Sahlberg1-6/+14
Updates to prettify the Bind ACK context handles svn path=/trunk/; revision=15722
2005-09-08add description of the Windows installer command line parametersUlf Lamping1-2/+33
svn path=/trunk/; revision=15721
2005-09-08set the window title of the Win32 debug consoleUlf Lamping1-0/+3
svn path=/trunk/; revision=15720
2005-09-07close the capture interfaces dialog if the user pressed "Capture" or "Prepare"Ulf Lamping1-0/+6
this dialog is live capturing from all "known" interfaces while it's open, so huge system load is generated, which is not preferred while doing a real capture. svn path=/trunk/; revision=15719
2005-09-07don't wait for a keypress if this is a capture child. This was very ↵Ulf Lamping1-2/+2
annoying, as stopping a capture seems to freeze Ethereal, but it simply waits for a keypress on the capture_child's console window. svn path=/trunk/; revision=15718
2005-09-07MSVC don't like empty structs, add a dummy element to rsvp_session_ipv6_infoUlf Lamping1-0/+1
svn path=/trunk/; revision=15717
2005-09-07Add Valgrind core files to CLEANFILES.Gerald Combs1-1/+2
svn path=/trunk/; revision=15716
2005-09-07Add bounds checking in several places to the SigComp UDVM. Use memset()Gerald Combs4-26/+33
instead of while loops to initialize variables. Use a define instead of magic numbers. Don't use guint8s for counters. Add a corresponding entry to the release notes. svn path=/trunk/; revision=15715
2005-09-07From Manu PathakRonnie Sahlberg6-12/+601
Make RSVP tappable add hostlist and conversation listing for RSVP conversations svn path=/trunk/; revision=15714
2005-09-07If dissect_ber_octet_string() gives us a null tvb, assume we have a malformedGerald Combs1-0/+5
packet and throw an exception. Don't pass the null tvb to tvb_length(). svn path=/trunk/; revision=15713