aboutsummaryrefslogtreecommitdiffstats
path: root/epan
AgeCommit message (Collapse)AuthorFilesLines
2006-03-20svn propertiesAnders Broman1-1/+1
svn path=/trunk/; revision=17685
2006-03-20From Martin Mathieson:Anders Broman1-34/+39
Some cosmetic changes: - when working out the application id description to show in the info column, also consider vendor application identifiers - make sure application ids and command codes are always shown as decimal numbers - a little whitespace tidyup svn path=/trunk/; revision=17684
2006-03-20waste a couple of bytes per tcp conversation and make the tree for ↵Ronnie Sahlberg39-22/+55
acked_packets (i.e. packets that have interesting tcp properties such as being retransmissions etc) hang off the per conversation tcpd struct instead of being global. while this should improve performance by unmeasurably little it does have the sideeffect that once we finish the rewrite tcp analysis might actually work and work well even for tcp over tcp tunnelling. this also means that if you include packet-tcp.h you also need to include emem.h . svn path=/trunk/; revision=17681
2006-03-19Add guid_to_str to the list of exported functions.Guy Harris1-0/+1
svn path=/trunk/; revision=17678
2006-03-19Make the GUIDs in various data structures e_guid_t's rather than arraysGuy Harris6-98/+101
of 16 bytes. Use "sizeof" for the size of e_guid_t's, and use structure assignment to copy GUID values. Make functions such as append_h225ras_call() and new_h225ras_call() take pointers to e_guid_t's as arguments. Define GUID_LEN in epan/guid-utils.h and use it as the length of a GUID in a packet. (Note that "sizeof e_guid_t" is not guaranteed to be 16, although it is guaranteed to be the size of an e_guid_t.) When constructing a display filter that matches a GUID, use guid_to_str() to construct the string for the GUID. svn path=/trunk/; revision=17676
2006-03-19Fix some format strings to display all fields in some mode sense pageGuy Harris1-5/+5
bytes. Constify some variables to squelch compiler warnings. svn path=/trunk/; revision=17672
2006-03-19Turn the handle types into an enum, so that they're more likely to beGuy Harris1-3/+9
displayed by name in debuggers and so that switch statements can check whether all types are handled. Add a check for an unknown handle type, to squelch compiler warnings (and to catch missing handle type code at run-time, if new handle types are added). svn path=/trunk/; revision=17671
2006-03-19Fix typo.Guy Harris1-1/+1
svn path=/trunk/; revision=17670
2006-03-19No negative power consumption, so unsigned value.Jaap Keuter1-3/+2
svn path=/trunk/; revision=17669
2006-03-19Patch that fixes bug 793 and a few other things mostly revolving aroundJaap Keuter1-61/+93
BACnet schedules. Could someone please take care of this? 1) fDate - correctly handle wild card year 2) fTime - rename local variables cut-and-pasted from fDate 3) fCalendarEntry - do single-pass decoding rather than while loop since the structure cannot be repeated. 4) fDailySchedule - correctly handle enclosing context tags. 5) fWeeklySchedule - correctly handle enclosing context tags 6) fAcknowledgeAlarmRequest - fix function name spelling and tags 3 and 5 are timeStamp, not time. 7) fSpecialEvent - handle context tags correctly. 8) fReadRangeRequest - Add cases from 2004 spec Dave Richards svn path=/trunk/; revision=17667
2006-03-18- dissect sip headers properly when they are extended over multiple linesLars Roland1-16/+21
- skip white space characters, including CR and LF on various places (not complete yet, but better than before) svn path=/trunk/; revision=17665
2006-03-18rename se_tree_lookup32_less_than_or_equal()Ronnie Sahlberg3-2/+3
to se_tree_lookup32_le() svn path=/trunk/; revision=17664
2006-03-18add new se_tree_lookup32_less_than_or_equal() callRonnie Sahlberg2-0/+96
svn path=/trunk/; revision=17663
2006-03-18Make some string comparisons case insensitive in the sip dissectorLars Roland1-3/+3
svn path=/trunk/; revision=17662
2006-03-18Add some dependencies for libethereal.dll, so it gets re-build, if someone ↵Lars Roland1-2/+4
just changes a source file in a subdirectory (e.g. a dissector) svn path=/trunk/; revision=17661
2006-03-18based on a patch from Martin Mathieson: Lars Roland1-5/+250
- dissection of SIP headers containing credentials and challenges. from me: - add filter fields for some missing related parameters from RFC 3261 - improve calculation of parameter length. This implements enhancement request (bug id 812) svn path=/trunk/; revision=17660
2006-03-17add missing IDispatch methods and related dissectionsUlf Lamping2-84/+309
svn path=/trunk/; revision=17658
2006-03-17fix for coverity bug 41Ronnie Sahlberg1-3/+12
if decryption failed there was a possibility to dereference a null pointer svn path=/trunk/; revision=17657
2006-03-17Fix bug 819: make sure to always return a tvb pointer.Jaap Keuter1-0/+2
svn path=/trunk/; revision=17656
2006-03-17From Ming Zhang:Anders Broman1-3/+122
added 3 MCC mode pages decode support. MRW page Write param page capacity page also fixed several wrong tvb_get_ntohs usage introduced in previous patch. svn path=/trunk/; revision=17654
2006-03-16fix some typos in a commentUlf Lamping1-2/+2
svn path=/trunk/; revision=17653
2006-03-16Fix dissection of QoS.Anders Broman1-1/+34
svn path=/trunk/; revision=17650
2006-03-16If version is v6 let the IPv6 dissetor handle it.Anders Broman1-0/+7
svn path=/trunk/; revision=17649
2006-03-16Add some extension IE:sAnders Broman1-69/+228
- APN Restriction - RAT Type - IMEI(SV) svn path=/trunk/; revision=17648
2006-03-16Fixed skipCount decoding. Added "relevant function" tag and put relevant ↵Jaap Keuter1-14/+28
function into INFO column. svn path=/trunk/; revision=17646
2006-03-16Superfluous check on 'secret' removed.Jaap Keuter1-2/+1
Coverity CID 31 svn path=/trunk/; revision=17645
2006-03-16From: Peter JohanssonLuis Ontanon1-1/+3
have mtp3_pc_hash() explicitly returning pc. From me: break; execution inside the switch. svn path=/trunk/; revision=17643
2006-03-16the new type of sid/rid structure is for lookupnames2 not lookupnamesRonnie Sahlberg1-4/+4
svn path=/trunk/; revision=17642
2006-03-15Add missing preference storage. Jaap Keuter1-0/+1
svn path=/trunk/; revision=17639
2006-03-15From Greg Morris:Anders Broman4-177/+182
Modification to (proto.h) is made to add an additional expert group type of PI_REQUEST_CODE to allow Request tag information to be passed to the expert tap. This is for such reasons where a dissector would like to echo specific information about certain types of requests. For example: NCP connection request is really a request not a REPLY_CODE. Same is true for the TCP SYN request. Changes to packet-ncp.c 1. Server broadcast message flag. Now indicates if the message is a pending message or an oplock clear notification. 2. Cleanup of packet signature detection process. Previous method had some flaws so I redesigned it. Appears to be solid now. 3. Echo NCP Server Session information to expert tap. Note on item #3: NCP Connection+Task = NCP Session, a Single connection can have many tasks. The server sees each connection/task as a unique session. For this reason the NCP session information is now echoed to the expert composite statistics so that you can easily identify the different NCP processes and sessions. It is important to NCP analysis to understand that each session is most likely a different program on the requesting host sharing the same NCP connection. Changes to packet-ncp2222.inc 1. Comment out the echo of NCP connection info to expert tap. Replaced by NCP sessions. 2. Add displayEID in request decode (resolves Coverity defect for dead code in NCP dissector) Changes to ncp2222.py 1. Fix for endian display of bindery object type in NCP 0x1720. 2. Fix for size of bindery object type to 2 bytes instead of 4 to match other bindery NCP's. svn path=/trunk/; revision=17636
2006-03-15from Martim Mattieson:Anders Broman1-6/+65
This small patch will cause the current AVP dictionary to be freed and repopulated when relevant preferences have changed. svn path=/trunk/; revision=17635
2006-03-15From RABRET Laurent RD-MAPS-ISS:Anders Broman1-2/+2
Please find enclosed a patch for the BGP dissector. A 0 length IP address is valid in NLRI dissection. It just means "0/0 address". svn path=/trunk/; revision=17634
2006-03-15lookupnames2 takes a different sid structure compared to lookupnamesRonnie Sahlberg1-2/+61
update it to dissect it as such and create new helpers for the new structure that takes one extra guint32 at the end of the previous structure. svn path=/trunk/; revision=17632
2006-03-15From Motonori Shindo:Anders Broman1-45/+66
The code assumes Template FlowSet contains only one Template Record, which is not necessarily true. Please find attached the patch to fix it. svn path=/trunk/; revision=17630
2006-03-15From Martin Mathieson:Anders Broman1-48/+77
> This patch: > - adds a few filterable fields (currently there are only hidden > boolean fields for request and response). svn path=/trunk/; revision=17629
2006-03-15From Martin MathiesonAnders Broman1-14/+34
>>>This patch: >>>- makes it possible to turn off use of the XML AVP dictionary (which >>>relies upon the XML lib being installed). A failed load results in 3 >>>annoying dialogs popping up the first time a diameter packet is read. >>>Default is previous behaviour. svn path=/trunk/; revision=17628
2006-03-15Fix bug 710 and avoid having it crash when more than one instance are open ↵Luis Ontanon2-1/+3
at once. I think that whoever wrote the whole stats_tree thing should rewrite it ASAP, because it sucks! I did ?!?!?? ooops! svn path=/trunk/; revision=17627
2006-03-14coverity bug 139Ronnie Sahlberg1-1/+1
actually allow dissection of RELEASE_LOCKOWNER call instead of letting it hang as dead code svn path=/trunk/; revision=17626
2006-03-14coverity bug 68Ronnie Sahlberg1-1/+6
prevent a very very long loop svn path=/trunk/; revision=17625
2006-03-14coverity bug 44Ronnie Sahlberg1-2/+4
svn path=/trunk/; revision=17621
2006-03-14handle coverity bug 36Ronnie Sahlberg1-1/+5
svn path=/trunk/; revision=17620
2006-03-14put the opcode as a generated field inside data pdus for scsiRonnie Sahlberg1-4/+41
svn path=/trunk/; revision=17619
2006-03-14prettifu getconfiguration responseRonnie Sahlberg1-6/+26
svn path=/trunk/; revision=17618
2006-03-13set current_proto to SCSI so that the exception handler will show the ↵Ronnie Sahlberg1-3/+22
correct protocol fix length in getconfiguration() so that we provide the proper one (+4) to avoid marking valid packets as malformed. svn path=/trunk/; revision=17616
2006-03-13remove a compiler warningUlf Lamping1-1/+1
svn path=/trunk/; revision=17613
2006-03-13if tcp checksum validation is enabled Ronnie Sahlberg1-0/+7
and if the checksum is wrong and if the checksum field is 0x0000 mark the packet as [Checksum Offloaded] and still allow reassembly of tcp segmetns since it is most likely just a tco checksum offload engine and not a real checksum error svn path=/trunk/; revision=17612
2006-03-13SCSI is fairly unique among the ethereal protocols in that it is sometimes ↵Ronnie Sahlberg3-1/+70
normal for a PDU we receive back froma device to be truncated. (report luns with allocation length 8 for example) Therefore it is a bit wrong to mark these packets as [malformed packets] Since they are truncated by scsi and this is NOTY an error condition. Add a new exception type : ScsiBoundsError If this exception is caught by packet-frame, then print an appropriate message instead of [malformed packet] For SCSI, add helper macros TRY_SCSI_SHORT_PACKET and END_... If the packet was not short in the normal sense (snaplen < packetlen) then intercept the exception for BoundsError and rethrow it as ScsiBoundsError instead. svn path=/trunk/; revision=17611
2006-03-13From Ming ZhangAnders Broman1-9/+164
added another command preventallowmediaremoval besides those 3. > enhanced packet-scsi.c a bit to decode 3 more scsi commands > > getperformance > setcdspeed > readdiscstructure. svn path=/trunk/; revision=17610
2006-03-12Assure that pinfo is a valid pointer. Related to Coverity CID 112Jaap Keuter1-2/+2
svn path=/trunk/; revision=17601
2006-03-11revert back to svn 17587Ronnie Sahlberg1-18/+59
svn path=/trunk/; revision=17597