aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2004-10-29more updates of x509ifsahlberg6-78/+47
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12433 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-29new generated version of x509ifsahlberg1-33/+70
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12432 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-29Update to x509if use a workaround to emulate the type ANY and remove stuff ↵sahlberg4-43/+29
from teh template git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12431 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-29From Yaniv Kaul: dissect authentication data as NTLMSSP only if itguy1-3/+7
starts with "NTLMSSP", otherwise dissect it as GSS-API. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12430 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-29As Sam Leffler notes, the radiotap header isn't BSD-only, it's also usedguy4-7/+7
by his madwifi Atheros driver on Linux; rename WTAP_ENCAP_IEEE_802_11_WLAN_BSD to WTAP_ENCAP_IEEE_802_11_WLAN_RADIOTAP, and change its text name from "ieee-802-11-bsd" to "ieee-802-11-radiotap". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12429 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-29Have the usual three separate buffers for "format_text()", so that itguy1-23/+26
can be used multiple times in a single formatting call. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12428 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-29The common merge code merely needs to offer the abstraction of routinesguy4-262/+282
that return the next packet from a set of {chronologically sorted, sequential-by-file} packets; it doesn't need to have a loop over all those packets, or any code to write packets. Supply those abstractions, change the code that merges packets to do its own writing, and have the Ethereal version manage a progress bar and have the mergecap version print packet numbers in verbose mode, as the common merge code used to do. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12427 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-28Add support for pkauthdata and pkdhkeydata OIDs.gerald12-59/+389
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12426 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-28fix small bug that gets offset confused for CHOICE { } OPTIONAL if there ↵sahlberg1-2/+29
were no arms that matched git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12425 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-28The offset to the first IFD in a TIFF file is 4 bytes long, not 2 bytesguy1-55/+84
long. The offset is relative to the first byte of the TIFF structure, which is after the "Exif\0" *and* the extra byte after "Exif\0". Loop over all IFDs. Sanity check the offset to the first IFD and the offset in each IFD to the next IFD. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12424 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-28Make "merge_files()" and "merge_append_files()" return a tri-stateguy4-45/+145
indication - success, read failure, write failure - and have their callers handle read failures by looking for the file that got the read failure and reporting the failure in question. Free up the err_info string returned by "wtap_read()" after using it. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12423 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-28Remove all the verbose-mode code from merge.c, and put most of it inguy4-265/+224
mergecap.c (get rid of the verbose printing of information for each packet). Have "merge_append_files()" return FALSE only on a write error, as "merge_files()" does. Sort the routines in "merge.c" in the order from "merge.h". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12422 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-27Get rid of merge_n_files() - it's only called in one place now, andguy4-101/+38
absorbing its logic into "cf_merge_files()" simplifies things a bit. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12421 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-27Change some of the merge.c APIs to return more information on failure,guy7-139/+246
and use that information to provide better error messages. Have "merge_open_outfile()" do all the work of filling in the merge_out_file_t structure, with the values to use passed as arguments. Get rid of some structure members that used to be used solely to pass information to "merge_open_outfile()". Add a "cf_merge_files()" routine to do the merging and reporting of errors. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12420 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-27"dissect_MAP_Dialogue()" returns no value; declare its return value asguy4-647/+647
"void". Fix a typo in the MAP Dialogue dissector template .h file. Re-generate the MAP Dialogue dissector files and set svn:keywords to Id and svn:eol-style to native for them. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12419 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-27Turn off execute permission on .asn files.guy2-0/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12418 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-27Fix a typo in the name of the directory for the MAP dialogue ASN.1guy4-239/+235
files. Set svn:eol-style to native for those files, and get rid of trailing CRs. Set svn:keywords to Id for those files. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12417 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-27Add a MapDialouge dissector ( can be tested with the file gsm-ss-01.snoop )etxrab3-0/+646
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12416 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-27Add a MAPdialouge dissectoretxrab4-0/+239
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12415 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-27Add a MAPdialouge dissectoretxrab0-0/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12414 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-27Improve OID dissection and make it possible to call an "OID" Dissector for ↵etxrab1-31/+69
Dialougedata parameter. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12413 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-27Make it possible to register a string for an OID in the hash table.etxrab2-1/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12412 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-27Fix indentation.guy1-9/+9
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12411 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-27Check whether any input files were specified, and print an error forguy1-0/+4
that - otherwise, you get a "No valid input files" message, which perhaps doesn't make it clear enough that the problem is that there were no input files, period. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12410 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-27Add unix2dos.pl to the list of files to be distributed.guy1-0/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12409 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-27two more dia diagrams about Ethereals capture engine and updated the first oneulfl6-0/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12408 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-27a dia diagram about Ethereal development (hopefully later some more) ulfl2-0/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12407 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-27Check to make sure we don't give a protocol tree item a negative length.guy2-15/+20
Clean up indentation. If we dissect an octet string and then re-dissect it as a particular type of data, don't use the end offset from the re-dissection as the offset of the end of the octet string - just use the result of "dissect_per_octet_string()". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12406 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-27fix doxygen generationulfl2-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12405 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-27fix doxygen tagsulfl3-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12404 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-27fix doxygen generationulfl3-2/+67
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12403 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-27fix doxygen generationulfl1-0/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12402 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-27fix doxygen tagsulfl1-1/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12401 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-27Don't have two variables, in different scopes in the same routine, haveguy1-4/+4
the same name. Fix up alignment. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12400 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-27Encapsulate into a macro the idiomguy1-35/+15
if(offset&0x07){ offset=(offset&0xfffffff8)+8; } for byte-aligning a bit offset. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12399 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-26Document the personal capture and display filters list in the FILESguy1-10/+14
section, as is done for other files. Just refer to those files in the section for the "Save" button for the capture and display filter dialog boxes. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12398 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-26Fix the file name in the initial comment.guy1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12397 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-26Rename the "boolean" enum to "val_boolean" lest the Microsoft compiler letgerald1-14/+14
its displeasure be known. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12396 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-26make the dissector use the nice #.REGISTER directivesahlberg2-17/+10
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12395 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-26 use the nice #.REGISTER directive instead of handcoding it in teh templatesahlberg2-36/+8
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12394 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-26new cms dissector based on updated and cleaned up conformance and template file.sahlberg1-36/+55
use the nice #.REGISTER directive instead of doing it by hand. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12393 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-26Use the much better #.REGISTER directive instead of the #.PDU directivesahlberg2-11/+10
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12392 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-26Add a "data" item to the opt_info structure, containing a "const voidguy1-367/+345
*". For val_u_byte, if non-null, it points to a "value_string" table to be used to interpret the value. Replace "toggle" and "yes_no" with "boolean, and have the "data" pointer point to a "struct true_false_string" to be used to interpret the value. The NetBIOS-over-TCP/IP Node Type option can now be a regular val_u_byte value, with the appropriate value_string table. Construct the item for DHCP options by initializing it without the value and appending the value to the item's string with "proto_item_append_text()". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12391 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-25Make yes_no work in "dissect_netware_ip_suboption()" the way it worksguy1-27/+28
elsewhere, and replace "struct o63_opt_info" with "struct opt_info". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12390 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-25"struct o43pxeclient_opt_info" and "struct o43cablelabs_opt_info" lookguy1-16/+6
just like "struct opt_info", except for the name of the "enum field_type" field; use "opt_info" instead of them. Rename the equivalent field in "struct o63_opt_info", as well, with an eye towards changing "struct opt_info" to be able to replace "struct o63_opt_info" as well. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12389 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-25Remove val_s_long as it's unimplemented and unused - put it back if it'sguy1-138/+169
ever necessary. Make some options, that have only one IPv4 address, use ipv4 rather than ipv4_list. Add val_u_short_list, and have val_u_short accept one and only one 16-bit integer. Give options the appropriate type. Shuffle the types a bit in the enum, and shuffle the cases for types around to match the order in the enum. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12388 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-25Rename "ipv4" to "ipv4_list", as it's used for lists of IPv4 addresses,guy1-48/+58
and add a separate "ipv4"; use that in the dissector for Netware IP options. Add a "presence" option type, for options with no value whose presence is significant; use that in the dissector for Netware IP options. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12387 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-25Pass to the the routines that dissect suboption lists the offset of theguy1-219/+465
end of the option, and have them do bounds checking. Also, in some places, check the suboption length. In "dissect_netware_ip_suboption()", process the suboption length (which, according to RFC 2242, is present in all suboptions), and use val_u_byte rather than val_u_short for 1-byte options. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12386 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-24Restructure the DHCP option parsing a bit, to make it a bit clearer -guy1-132/+248
and fix some bugs that this made a bit more obvious. Add checks of the option length. Clean up white space. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12385 f5534014-38df-0310-8fa8-9805f1628bb7
2004-10-24Don't display the FQDN in the FQDN option if the length of the FQDN isguy1-15/+17
zero. Clean up some field names and descriptions. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12384 f5534014-38df-0310-8fa8-9805f1628bb7