aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2002-03-05Fix another problem found by the PROTOS captures - inGuy Harris1-4/+12
"asn1_string_value_decode()", don't pass "g_malloc()" an argument of 0, as "g_malloc()" will return NULL in that case, and the callers of "asn1_string_value_decode()" aren't necessarily prepared for a null argument. svn path=/trunk/; revision=4876
2002-03-05Make "wtap_seek_read()" return TRUE on success and FALSE on error, likeGuy Harris19-222/+227
"wtap_read()". Add some additional error checks to the Sniffer file reader. svn path=/trunk/; revision=4875
2002-03-05Have "wtap_seek_read()" return 0 on success and -1 on failure, and takeGuy Harris22-155/+282
an "err" argument that points to an "int" into which to put an error code if it fails. Check for errors in one call to it, and note that we should do so in other places. In the "wtap_seek_read()" call in the TCP graphing code, don't overwrite "cfile.pseudo_header", and make the buffer into which we read the data WTAP_MAX_PACKET_SIZE bytes, as it should be. In some of the file readers for text files, check for errors from the "parse the record header" and "parse the hex dump" routines when reading sequentially. In "csids_seek_read()", fix some calls to "file_error()" to check the error on the random stream (that being what we're reading). svn path=/trunk/; revision=4874
2002-03-05There's just a single H.225 dissector, for both Call Signaling andGuy Harris1-9/+11
Registration, Admission, and Status, so just call it "h225", not "h225_cs". svn path=/trunk/; revision=4871
2002-03-05Cut down the vertical spacing in the "Capture Options" dialog box.Guy Harris1-7/+7
svn path=/trunk/; revision=4870
2002-03-05From David Frascone: fix pathname of Diameter directory file.Guy Harris1-3/+2
svn path=/trunk/; revision=4869
2002-03-05From David Frascone: dictionary fixes to NASREQ command codes.Guy Harris2-3/+6
svn path=/trunk/; revision=4868
2002-03-05From Michael Tuexen: SCCP-atop-M3UA support.Guy Harris2-1/+3
svn path=/trunk/; revision=4867
2002-03-04SCCP support, from Jeff Morriss.Guy Harris6-24/+2268
svn path=/trunk/; revision=4866
2002-03-04Add entries for March.Gerald Combs1-0/+23
svn path=/trunk/; revision=4861
2002-03-04Note the update to the SCTP checksum code.Guy Harris1-0/+1
svn path=/trunk/; revision=4860
2002-03-04Update the "README.win32" file to reflect Andrew Feren's changes to useGuy Harris1-12/+12
Python iff PYTHON is defined in "config.nmake". svn path=/trunk/; revision=4859
2002-03-04Fix some items.Guy Harris1-4/+6
svn path=/trunk/; revision=4858
2002-03-04Check for errors in seeks, "tell"s, and "stat()"s/"fstat()"s.Guy Harris17-162/+424
For file types where we allocate private data, add "close" routines where they were missing, to free the private data. Also fix up the code to clean up after some errors by freeing private data where that wasn't being done. Get rid of unused arguments to "wtap_dump_open_finish()". Fix indentation. svn path=/trunk/; revision=4857
2002-03-03Bump the version to 0.9.2. Update NEWS to include everything from February.Gerald Combs4-7/+162
svn path=/trunk/; revision=4856
2002-03-03From Michael Tuexen: report the type of an unrecognized parameter.Guy Harris1-3/+5
svn path=/trunk/; revision=4855
2002-03-03From Heikki Vatiainen: make "get_host_ipaddr()" require dotted-quad IPGuy Harris2-1/+12
addresses to really be quads, i.e. have four numbers. svn path=/trunk/; revision=4854
2002-03-03Report ASN.1 BER parsing errors closer to the point at which they'reGuy Harris1-206/+320
detected, so we do a better job of reporting the item with the problem. svn path=/trunk/; revision=4853
2002-03-02As there's nothing to dissect for LDAP_REQ_UNBIND, set "ret" toGuy Harris1-2/+3
ASN1_ERR_NOERROR, as you can't have a dissection error if you've dissected nothing. When dissecting a Bind reply, set "ret" to the return value of "dissect_ldap_response_bind()", so errors get reported properly. svn path=/trunk/; revision=4851
2002-03-02Don't check the message type if it's not of class ASN1_APL; instead,Guy Harris1-49/+58
just display the message type and body as an error. If the message type isn't a type we dissect, display the "Unknown message type" entry with the right offset and length. svn path=/trunk/; revision=4850
2002-03-02Treat LDAP_REQ_UNBIND as a request with nothing in it, not as an unknownGuy Harris1-4/+7
request type. Put the request types in order in the switch statement. svn path=/trunk/; revision=4849
2002-03-02From Joerg Mayer: get rid of "-Wno-unused" flag in some configureGuy Harris11-29/+35
scripts, and check in changes to add _U_ to some unused arguments (some other should perhaps be used, so we leave the _U_ out so that the warnings serve as a reminder to check those). svn path=/trunk/; revision=4848
2002-03-02From Joerg Mayer: get rid of "-Wno-unused" flag in some configureGuy Harris11-32/+40
scripts, and check in changes to add _U_ to some unused arguments (some other should perhaps be used, so we leave the _U_ out so that the warnings serve as a reminder to check those). svn path=/trunk/; revision=4847
2002-03-02Tell people not to use "ulong" or "ushort".Guy Harris1-3/+7
svn path=/trunk/; revision=4845
2002-03-02From Michael Tuexen: update the CRC32 checksum code to matchGuy Harris1-4/+13
draft-ietf-tsvwg-sctpcsum-03. svn path=/trunk/; revision=4844
2002-03-02Typo fix, from Michael Tuexen.Guy Harris1-2/+2
svn path=/trunk/; revision=4843
2002-03-02"ulong" isn't defined on MacOS X (and probably isn't defined on someGuy Harris1-3/+3
other platforms, either) - don't use it. Instead, use "guint32", as the item in question is a 32-bit unsigned integer. In fact, it's a 32-bit unsigned integer containing a bit set, and the data type isn't a "long", so print it with "0x%08x", rather than "0x%04lx", so that all 8 hex digits are printed, and so that the format matches the data type. It also doesn't have to be initialized - the only code path in which it's used sets it. svn path=/trunk/; revision=4842
2002-03-01Updates from Mike Frisch.Guy Harris1-42/+79
svn path=/trunk/; revision=4840
2002-03-01Added RSVP support for the Administrative Status object.Ashok Narayanan1-1/+68
svn path=/trunk/; revision=4839
2002-03-01Fix two references to "proto_item_set_text()" andGuy Harris1-5/+5
"proto_item_append_text()" to use the right names. svn path=/trunk/; revision=4838
2002-03-01From Andrew Feren: add ifdefs to the top-level Makefile.nmake to avoidGuy Harris2-6/+18
using Python if PYTHON isn't defined. Fix up white space. svn path=/trunk/; revision=4837
2002-03-01Don't link with the SNMP library by default.Gerald Combs1-2/+2
svn path=/trunk/; revision=4836
2002-03-01Have the routines that supply a pointer to a newly-constructed itemGuy Harris1-22/+18
always set that pointer if they return ASN1_ERR_NOERROR. Have the routines that call them use the value only if the routine returns ASN1_ERR_NOERROR. Don't bother setting the pointer before calling the routine. Report unknown modify operation types. svn path=/trunk/; revision=4834
2002-03-01Add a routine to "asn1.c" to translate ASN1_ERR_ values to strings. UseGuy Harris4-174/+348
that in the SNMP dissector. Check the return values of ASN.1 routines in the LDAP dissector, and have all the subroutines in that disesctor that can return error indications return ASN1_ERR_ values. Have the routines that can supply a pointer to a newly-created protocol-tree item use the right type for items ("proto_item *", not "proto_tree *", even though they are, at least currently, typedefs for the same type), and use "proto_item" for the type of the item a pointer to which is passed to those routines. Before calling those routines, set the item pointer to null, in case the routine fails. Don't check the return value of "parse_filter_strings()" against -1 - that routine can't return -1. svn path=/trunk/; revision=4833
2002-02-28Improve the note on how to deal with items with subtrees when the textGuy Harris1-6/+7
for the item should reflect what's in the subtree. svn path=/trunk/; revision=4832
2002-02-28Handle NBSS messages where the NBSS *header* is split across TCP segmentGuy Harris1-16/+50
boundaries. svn path=/trunk/; revision=4831
2002-02-28In follow.c, initialize data_out_file to NULL, as it used toGilbert Ramirez3-6/+5
be initialized in gtk/follow_dlg.c In gtk/follow_dlg.c, declare data_out_file as 'extern'. In tethereal.c, no longer define 'data_out_file', as the storage for it is now in follow.c. svn path=/trunk/; revision=4830
2002-02-28Declare osinl_subdissector_table as 'extern'.Gilbert Ramirez1-2/+2
svn path=/trunk/; revision=4829
2002-02-27Fix the declaration of "addr_call_dissector" to match the functionGuy Harris1-2/+2
signature of "call_dissector()". svn path=/trunk/; revision=4828
2002-02-27Remove unused variables, structure definitions, and functions.Gilbert Ramirez2-65/+23
From Joerg Mayer. svn path=/trunk/; revision=4827
2002-02-27Support for IEEE 802.1w RST BPDUs, from Alex Ruzin.Guy Harris3-8/+62
svn path=/trunk/; revision=4825
2002-02-27From Joerg Mayer:Guy Harris16-29/+84
In the "configure.in" files, add -D_U_="__attribute__((unused))" to CFLAGS if we're using GCC, and add -D_U_="" otherwise, so _U_ can be used to mark arguments as unused. Add -D_U_="" arguments to the Makefile.nmake files as well, so _U_ works with Microsoft Visual C++ as well. Add comments and RCS IDs to the Makefile.nmake files that don't already have them. svn path=/trunk/; revision=4824
2002-02-27From Joerg Mayer: remove unused variables and declarations ofGuy Harris19-57/+40
non-existent functions. Remove the "filetype" argument from the "can_write_encap" functions for particular capture file types - the argument value is implicit, in that the routine being called is the routine for that particular file type. svn path=/trunk/; revision=4823
2002-02-27Label the data source for various forms of reassembled data with theGuy Harris5-10/+10
protocol that fragmented them, rather than just calling them "Reassembled". Do the same with uncompressed WCP data. svn path=/trunk/; revision=4822
2002-02-27Display a different message in the COL_INFO field for anonymous sessionTim Potter1-3/+9
setup packets. svn path=/trunk/; revision=4818
2002-02-27From John Mackenzie: register GIOP dissector as a UDP heuristicGuy Harris2-1/+4
dissector. svn path=/trunk/; revision=4817
2002-02-27Fix "create_dissector_handle()" to properly create a handle for anGuy Harris1-2/+3
old-style dissector. svn path=/trunk/; revision=4816
2002-02-26From Kari Tiirikainen: use the SNMP library, if present, to print theGuy Harris1-50/+189
textual names of the PIB OIDs. svn path=/trunk/; revision=4814
2002-02-26Properly (for English) pluralize names beginning with "s".Guy Harris1-5/+30
svn path=/trunk/; revision=4813
2002-02-26From Ronnie Sahlberg: add "alias name" and "group name" fields for aliasGuy Harris1-3/+13
and group names, and use them instead of the numeric "alias" and "group" fields when putting the names into the protocol tree. svn path=/trunk/; revision=4812