aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2003-05-15From Didier Gautheron: add the right decoding for AFP3.1 FPCatSearchExtGuy Harris1-34/+90
call. svn path=/trunk/; revision=7674
2003-05-15Fix the call that adds the local preference to the tree.Guy Harris1-2/+2
svn path=/trunk/; revision=7673
2003-05-15Move the value_string of platform ID values to "packet-dcerpc-nt.c", andGuy Harris4-18/+21
declare it in "packet-dcerpc-nt.h", as it's used both by the srvsvc and wkssvc dissectors. svn path=/trunk/; revision=7672
2003-05-15"tvb_get_nstringz0()" now expects, as an argument, a value 1 greaterGuy Harris1-6/+6
than the number of bytes to copy, as the value includes the terminating '\0' added on. svn path=/trunk/; revision=7671
2003-05-15Move dissection of NETLOGON secure channel auth verifier intoTim Potter3-48/+76
packet-dcerpc-netlogon.c svn path=/trunk/; revision=7670
2003-05-15More work on dissecting generic and standard mappings for NT access masks.Tim Potter1-16/+76
Also, it turns out that there are three types of specific access permissions for printing - printer, print server and job specific bits. svn path=/trunk/; revision=7669
2003-05-15More work on dissecting generic and standard mappings for NT access masks.Tim Potter5-47/+151
svn path=/trunk/; revision=7668
2003-05-15Dissect authentication data for netlogon secure channel bind and bind acks.Tim Potter2-4/+135
svn path=/trunk/; revision=7667
2003-05-15Dissect authentication data for netlogon secure channel bind and bind acks.Tim Potter1-9/+51
Also, recommit a change lost in the hardware failure which was to note the type of a DCE/RPC fragment when noting it in COL_INFO. A fragment can be either a first, middle, last or whole (first+last) fragment. svn path=/trunk/; revision=7666
2003-05-14Re-commit stuff that was lost...Richard Sharpe1-2/+58
This contains an initial break-out of the verifier for secure-channel and maybe more ... svn path=/trunk/; revision=7665
2003-05-14A correct programming practice is to save errno and restore its valueLaurent Deniel1-1/+3
in all signal handlers that could modify it (i.e. by calling system calls or worst standard C library functions). Else the following code for instance is buggy if a signal arises between the tests: if (system_call() == -1) { if (errno == Exxx) { ... } else { ... } } And MANY (open source or not) programs are broken that way ... svn path=/trunk/; revision=7664
2003-05-11"tvb_get_nstringz0()" now expects its third argument to be the maximumGuy Harris1-6/+6
number of bytes to put into the string, including the trailing '\0', not the maximum number of real characters in the string; fix the call appropriately (and make the buffer big enough to hold a null-terminated string with MAX_BUDDYNAME_LENGTH characters). svn path=/trunk/; revision=7663
2003-05-11From Graeme Hewson: fix "eth_hdr" to put the destination and sourceGuy Harris1-2/+2
addresses in the right order. svn path=/trunk/; revision=7662
2003-05-10Have "dissect_ndr_cvstring()" set the length of the top-level item toGuy Harris1-2/+4
cover all the parts of the item, rather than just making it be 0. svn path=/trunk/; revision=7661
2003-05-10A quantity dissected as 6 unknown bytes in a logon reply actuallyGuy Harris1-2/+12
appears to be a 4-byte aligned quantity, with the other 2 bytes presumably seen by whoever added the code to dissect those 6 bytes being, most likely, padding to align the 4-byte quantity. svn path=/trunk/; revision=7660
2003-05-10Expand some comments.Guy Harris1-8/+32
Do the "tvb_ensure_bytes_exist()" check, and the check for a zero-length bit string, in the code to process a bit string. svn path=/trunk/; revision=7659
2003-05-10Use "tvb_ensure_bytes_exist()" to cause an exception to be thrownGuy Harris1-22/+31
*before* attempting to allocate a buffer for a string, if the copy into the buffer will thrown an exception; that prevents us from 1) leaking memory if we can allocate the buffer (we'd throw an exception before we freed the buffer); 2) crashing if we can't allocate the buffer because the length is bogus and large. svn path=/trunk/; revision=7658
2003-05-09Dissect a ntlmv2 response if found in a samlogon request.Tim Potter1-10/+42
svn path=/trunk/; revision=7657
2003-05-09Add a dissect_ndr_counted_byte_array_cb function which can take a callbackTim Potter2-7/+25
to call when dissecting the array data. svn path=/trunk/; revision=7656
2003-05-09Move the ntlmv2 response dissection out of packet-ntlmssp.c and in toTim Potter4-237/+254
packet-smb-common.c so it can be used elsewhere. Dissect a ntlmv2 response in a session setup SMB if detected. svn path=/trunk/; revision=7655
2003-05-08Based on a patch from Jean-Baptiste Marchand, mark stub data asGuy Harris1-43/+41
encrypted if appropriate; this change adds a "show_stub_data()" to handle that, and that routine also cleans up the stub data display a bit in some other ways. svn path=/trunk/; revision=7654
2003-05-08From Olivier Biot: fix WTP sub-PDU size presentation in the protocolGuy Harris1-5/+5
tree (display size in decimal instead of the highlighted bytes). svn path=/trunk/; revision=7653
2003-05-08The authentication data field in "simple password" authentication is 64Guy Harris1-3/+3
bits, or 8 bytes; that means that, if it's to be interpreted as a string, it should be extracted into an 8+1 byte buffer, leaving room for a trailing '\0', and that means the buffer size argument to "tvb_get_nstringz0()" should be 8+1 as well. svn path=/trunk/; revision=7652
2003-05-08From Olivier Biot:Guy Harris1-2/+194
* Add decoding of Basic authentication scheme for the Authorization and Proxy-Authorization headers, and create a summary line with proto_item_append_text(). * Update Warning header decoding: warn code mapping to warn text, and create a summary line with proto_item_append_text(). svn path=/trunk/; revision=7651
2003-05-08From Stephen Shelley: the unit ID and function code fields in the ModbusGuy Harris1-3/+3
header are unsigned - make them so. While we're at it, make them "guint8" rather than "guchar", to make it explicit that they're one byte long. svn path=/trunk/; revision=7650
2003-05-08From Olivier Biot: if we have PYTHON defined, use the Python scriptGuy Harris1-3/+9
rather than the shell script to make "register.c". svn path=/trunk/; revision=7649
2003-05-07Whoops - had that test reversed.Tim Potter1-2/+2
svn path=/trunk/; revision=7648
2003-05-07Don't try and dissect a zero length NTLM response as a NTLMv2 response.Tim Potter1-2/+2
svn path=/trunk/; revision=7647
2003-05-07Parse a NTLMv2 response blob as documented inTim Potter1-14/+231
http://ubiqx.org/cifs/SMB.html#8, para 2.8.5.3 Convert some magic numbers to constants in dissect_ntlmssp_address_list() svn path=/trunk/; revision=7646
2003-05-07From Yaniv Kaul: show MBZ flags as either OK if 0 or incorrect if not 0.Guy Harris1-1/+16
svn path=/trunk/; revision=7645
2003-05-05Declare "host_name_lookup_process()" regardless of whether HAVE_GNU_ADNSGuy Harris1-11/+9
is defined (as it's defined, and called, regardless of whether HAVE_GNU_ADNS is defined), and get rid of the extra declarations of the ADNS support routines. svn path=/trunk/; revision=7644
2003-05-05From Yaniv Kaul: handle DNSSEC DO/OK bit in OPT pseudo-RR.Guy Harris1-3/+9
svn path=/trunk/; revision=7643
2003-05-05From Mark C. Brown:Guy Harris5-26/+36
Following fixes for nettl (HP-UX): 1) Fixed 11.X timestamp issue there is no difference in 10.X/11.X timestamps, so no need to shift 11.X timestamps 2) Fixed NS_LS_DRIVER trace record handling now works rather than throwing "...network type that Ethereal doesn't support" error 3) Fixed handling of traces with sliced packets (nettl -m xx) now uses correct packet and capture lengths 4) Additional ethernet card support now handles btlan[1,3-6],gelan,igelan,intl100 driver trace records svn path=/trunk/; revision=7642
2003-05-05Provide stub versions of "host_name_lookup_init()",Guy Harris2-6/+23
"host_name_lookup_process()", and "host_name_lookup_cleanup()" if we don't have GNU ADNS, so that Ethereal compiles without GNU ADNS. Declare the argument lists of "host_name_lookup_init()" and "host_name_lookup_cleanup()" as empty, C89-style, rather than as unknown. svn path=/trunk/; revision=7641
2003-05-04Add support for asynchronous DNS updates using the GNU ADNS library.Gerald Combs10-19/+279
Support can be enabled at configure time by using "--with-adns=DIR". If support is enabled, async queries happen whenever host name resolution is enabled. Do we need a separate preference for async queries? Currently, only IPv4 reverse queries are supported. I can add IPv4 forward lookup support, but I don't have any way to test IPv6 queries. svn path=/trunk/; revision=7640
2003-05-04Updated the version 06 of the ID support to version 08. Therefore versionsMichael Tüxen1-54/+54
02 and 08 are now supported. svn path=/trunk/; revision=7639
2003-05-04fixed a bug in te handling of the message type field for version 06 of the ID.Michael Tüxen1-8/+6
svn path=/trunk/; revision=7638
2003-05-03SNMP dissector enhancements:Laurent Deniel1-18/+116
- display OID in info column - preference added to disable such a display - add new function new_format_oid to retrieve both decoded and non decoded OID strings - add OID display filter for both decoded and non decoded strings - add Error Status display filter svn path=/trunk/; revision=7637
2003-05-03Add a note about the "val_to_string_repr" and "string_repr_len" forGuy Harris1-1/+24
ftypes, and how to add them to more types and use them in more places. svn path=/trunk/; revision=7636
2003-05-03Rename "proto_alloc_dfilter_string()" toGuy Harris5-48/+133
"proto_construct_dfilter_string()", to more accurately reflect what it does. Give it, and "proto_can_match_selected()", an "epan_dissect_t *" argument, which replaces the raw data pointer argument to "proto_construct_dfilter_string()". For fields that don't have a type we can directly filter on, we don't support filtering on the field as raw data if: the "epan_dissect_t *" argument is null; the data source tvbuff for the field isn't the tvbuff for the "epan_dissect_t" in question (i.e., it's in the result of a reassembly, and "frame[N:M]" can't get at it). Trim the length the raw data in the case of such a field to the length of the tvbuff for the "epan_dissect_t" in question, so we don't go past it. Fetch the raw data bytes to match from that tvbuff. Have "proto_construct_dfilter_string()" return a null pointer if it can't construct the filter string, and have "protocolinfo_packet()" in the tap-protocolinfo tap ignore a field if "proto_construct_dfilter_string()" can't construct a filter string for it - and have it pass NULL as the "epan_dissect_t *", for now. If somebody decides it makes sense to dump out a "frame[N:M] =" value for non-registered fields, it can be changed to pass "edt". svn path=/trunk/; revision=7635
2003-05-02From Tony Schene: AUTH_GSSAPI support.Guy Harris3-30/+266
Replace "proto_item_set_len()" with "proto_item_set_end()", and get rid of the "old_offset" variables the "proto_item_set_len()" calls required. svn path=/trunk/; revision=7634
2003-05-02From Greg Morris: change the endianness of CCFilehandle to match otherGuy Harris1-2/+2
NCP's. svn path=/trunk/; revision=7633
2003-05-02Final changes for 0.9.12.Gerald Combs2-80/+33
svn path=/trunk/; revision=7631
2003-05-01From Jeff Morriss: clean up some column setting calls (as a result ofGuy Harris1-22/+23
the recent changes to use the column fence stuff?). svn path=/trunk/; revision=7630
2003-05-01From Jeff Morriss: fetch both bytes of the message type in V2 and V6Guy Harris1-3/+3
headers. svn path=/trunk/; revision=7629
2003-05-01From Matthijs Melchior: don't export functions also implemented asGuy Harris5-25/+15
macros, and do export "except_pop()" and "except_setup_try()". svn path=/trunk/; revision=7628
2003-05-01Fix up the name of NetWkstaUserEnum and add NetWkstaTransportEnumRichard Sharpe1-4/+217
svn path=/trunk/; revision=7627
2003-05-01From Olivier Biot:Guy Harris1-590/+1430
* Support correct processing of code page switches * Provide a new datatype containing scarce array of const value_string arrays (value_valuestring) allowing an efficient support for WBXML code pages. * Minor fix (XML PI was always decoded without mapping known tokens) * Add support for decoding of more WBXML content types (SyncML 1.0, SyncML 1.1, CHANNEL 1.0, EMN 1.0). svn path=/trunk/; revision=7626
2003-05-01From Jim McDonough: add names for some additional SAM messages.Guy Harris1-4/+13
svn path=/trunk/; revision=7625
2003-05-01From Lars Roland: set "patable.p_asn1_string_decode" to point toGuy Harris1-2/+2
"asn1_string_decode()", not to "asn1_octet_string_decode()". svn path=/trunk/; revision=7624