summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-12-03From Devin Heitmueller:Guy Harris8-14/+479
add MD4 and RC4 crypto support; use it to decrypt the NT password encryption block in UnicodeChangePassword2. svn path=/trunk/; revision=6727
2002-12-02Don't cast away constness, and fix variable and structure memberGuy Harris32-200/+204
qualifiers as necessary to ensure that we don't have to. "strcmp()", "strcasecmp()", and "memcmp()" don't return booleans; don't test their results as if they did. Use "guint8", not "guchar", for a pointer to (one or more) 8-bit bytes. Update Michael Tuexen's e-mail address. svn path=/trunk/; revision=6726
2002-12-02Make the format argument to the "col_XXX_fstr()" routines, and the "str"Guy Harris3-18/+18
argument to "col_append_str()", const pointers; they're not modified by the routines in question. svn path=/trunk/; revision=6725
2002-12-02"dfilter_compile()" doesn't modify the string pointed to by its firstGuy Harris2-4/+4
argument; make it a const pointer. svn path=/trunk/; revision=6724
2002-12-02Get rid of some no-longer-used routines; there are other routines thatGuy Harris2-215/+3
have taken their places. svn path=/trunk/; revision=6723
2002-12-02From Olivier Biot: show the packet sequence number and the "MissingGuy Harris1-3/+3
Packets" value in the WTP header in decimal, not hex. svn path=/trunk/; revision=6722
2002-12-02Update Michael Tuexen's e-mail address.Guy Harris2-2/+2
svn path=/trunk/; revision=6721
2002-12-02Cast the result of "tvb_get_ptr()" to a "const char *", not a "char *".Guy Harris1-3/+3
svn path=/trunk/; revision=6720
2002-12-02Don't discard the constness of arguments to GHashTable functions.Guy Harris1-4/+4
svn path=/trunk/; revision=6719
2002-12-02"ip6_to_str()" takes a const pointer as an argument, so you don't haveGuy Harris1-4/+4
to cast away the constness of pointers passed to it. svn path=/trunk/; revision=6718
2002-12-02Get rid of a no-longer-used variable.Guy Harris1-5/+1
svn path=/trunk/; revision=6717
2002-12-02From Jason House: MSVC++ doesn't like cases with no statements, so addGuy Harris1-1/+5
break statements. svn path=/trunk/; revision=6716
2002-12-02Put back the "width" local variable in proto_cb() which is used only byOlivier Abad1-2/+4
the GTK1.2 UI. svn path=/trunk/; revision=6715
2002-12-02Make the new protocol list work with GTK2. The "status" column uses aOlivier Abad1-17/+48
toggle button instead of a text. svn path=/trunk/; revision=6714
2002-12-02Updated the handling of padding bytes.Michael Tüxen1-23/+10
Support of IG updated to version 01. Changed e-mail address. svn path=/trunk/; revision=6713
2002-12-02Remove gtk_tree_view_set_search_column() which is not needed.Olivier Abad1-2/+1
svn path=/trunk/; revision=6712
2002-12-02Allow keyboard-only navigation of the Protocols dialog. Protocols canGerald Combs2-6/+22
be enabled or disabled using the space bar. Update the documentation accordingly. svn path=/trunk/; revision=6711
2002-12-01Enable/disable protocols with a single click. Fix the behavior ofGerald Combs2-16/+19
cancelling the Protocols dialog, which my previous checkin broke. svn path=/trunk/; revision=6710
2002-12-01From Brad Hards:Guy Harris2-6/+30
Support for mDNS/LLMNR "cache flush" bit Label mDNS and DNS differently in the Protocol column Clean up summary line for PTR records svn path=/trunk/; revision=6709
2002-12-01The previous change caused the delta time to be the delta between aGuy Harris1-4/+7
frame and the previous frame in the capture - a frame that might not be displayed, so you don't know what it was - rather than the previous frame in the display, as is intended. Fix that. svn path=/trunk/; revision=6708
2002-12-01Update some text in the help dialog.Gerald Combs3-142/+240
Replace the large matrix of protocol togglebuttons with a GtkCList. The CList displays three columns: the enabled/disabled state, the protocol's abbreviated name and the protocol's full name. Protocols can be enabled or disabled by double-clicking on them. The enable all, disable all, and invert buttons were left intact. I made a half-assed attempt at Gtk2 support by copying code from plugins_dlg.c. It's incomplete, and probably won't compile. Using check boxes in the first column instead of the word "Disabled" would have been nice. GtkCLists don't let you embed anything besides text and pixmaps unfortunately. Update the man page accordingly. We still need a way to save a list of disabled protocols. svn path=/trunk/; revision=6707
2002-11-30Added some flags and value_Strings for netlogonRonnie Sahlberg2-20/+602
svn path=/trunk/; revision=6706
2002-11-29From Like H, update to NETLOGON. DSROLEGETPRIMARYDOMAININFO is actually ↵Ronnie Sahlberg3-24/+45
ENUMERATETRUSTEDDOMAINS svn path=/trunk/; revision=6705
2002-11-29From Luke H. Update to GetDomainInfoRonnie Sahlberg1-48/+69
svn path=/trunk/; revision=6704
2002-11-29Updte for io-stat to make it more powerful.Ronnie Sahlberg2-59/+522
There is not a third option Advanced... in addition to frames/tick and bytes/tick. See ethereal man page for description and how one can use this to graph how NFS response time MAX/MIN/AVG changes over time. svn path=/trunk/; revision=6703
2002-11-29calculate delta and rel time earlier and unconditionally of whether the ↵Ronnie Sahlberg1-30/+30
packet passed the displayfilter or not. there may be tap listeners that want to examine this field. svn path=/trunk/; revision=6702
2002-11-28Before dissecting the payload of a Protocol-Reject LCP packet, save theGuy Harris1-1/+12
current "this is an error packet" flag and set that flag, so the payload is dissected as the payload of an error packet rather than as a "real" packet. svn path=/trunk/; revision=6701
2002-11-28Fix "addr_ip6_to_str" to reflect the fact that "ip6_to_str()" now takesGuy Harris1-2/+2
a const pointer as its argument. svn path=/trunk/; revision=6700
2002-11-28Get rid of the "pdata" argument to "dissect_dcerpc_uint16s()" andGuy Harris3-13/+10
"dissect_ndr_uint16s()"; "dissect_ndr_uint16s()" is always passed a null pointer, "dissect_dcerpc_uint16s()" is only called by "dissect_ndr_uint16s()", and the pointer returned through "pdata" is *NOT* guaranteed to be aligned on a 16-bit boundary so we don't want to tempt people to blithely dereference that pointer. svn path=/trunk/; revision=6699
2002-11-28From Pasi Eronen: dissect the packet inside an LCP Protocol Reject message.Guy Harris2-9/+66
svn path=/trunk/; revision=6698
2002-11-28From Marco Molteni: fix a typo and a function name, and give it an RCSGuy Harris1-2/+4
ID. svn path=/trunk/; revision=6697
2002-11-28From Marco Molteni: fix a comment to reflect reality.Guy Harris3-2/+7
svn path=/trunk/; revision=6696
2002-11-28We have to keep the first frame - circuits aren't necessarily created asGuy Harris2-11/+11
soon as we see a packet for that circuit (we don't do that in X.25, for example), so there's no guarantee that the first circuit starts at the first circuit of the capture. svn path=/trunk/; revision=6695
2002-11-28Don't keep the first frame around for circuits; we assume that a givenGuy Harris2-11/+11
circuit begins either at the beginning of the capture or right after the previous circuit ends. svn path=/trunk/; revision=6694
2002-11-28Don't dissect SASL stuff as GSS_Wrapped unless we're actually usingGuy Harris1-31/+43
GSS-SPNEGO. svn path=/trunk/; revision=6693
2002-11-28Handle GSS_Wrap header information as well as context-level tokens. AGuy Harris5-97/+469
call to "gssapi_init_oid()" supplies both dissectors for context-level tokens and GSS_Wrap header information; the latter dissector should return the number of bytes of header information, so that if the header information and the message for the protocol that's using GSSAPI are treated as a single blob of data (as is the case with LDAP, but not with DCE RPC, for example), the dissector for the protocol using GSSAPI knows where to start dissecting. We associate a pointer to the entire data structure for the OID, not the handle for context-level token dissector for the OID, with conversations and frames. Make the dissector for NTLMSSP verifiers be the handler for GSS_Wrap stuff for NTLMSSP, and add support for GSS_Wrap stuff for Kerberos. Support SASL GSS-SPNEGO wrapping of LDAP messages. (XXX - this should really check for GSS-SPNEGO.) svn path=/trunk/; revision=6692
2002-11-28Assign the results of calls to "tvb_get_ptr()" to const pointerGuy Harris4-28/+26
variables, not non-const pointer variables. svn path=/trunk/; revision=6691
2002-11-28Make the pointer passed by reference as the last argument ofGuy Harris1-2/+2
"dissect_ndr_uint8s()" a const pointer, as that's what "dissect_ndr_uint8s()" expects. svn path=/trunk/; revision=6690
2002-11-28Add a "--with-extra-gcc-checks" option, which causes "-Wcast-qualGuy Harris3-9/+39
-Wcast-align" to be added to CFLAGS (except in Wiretap, where we already do "-Wcast-qual"). We don't do them by default, as they produce some warnings that aren't easy to eliminate; if we figure out how to eliminate them on all platforms (or at least, on the platforms where you *can't* eliminate them, reduce them to a low level), we can make those options the default. svn path=/trunk/; revision=6689
2002-11-28Arguments to hash routines are gconstpointer's; assign them to constGuy Harris10-65/+64
pointers. The first argument to "sscanf()" is a "const char *"; don't cast const pointers to "char *" when passing them to "sscanf()". Assign the result of "tvb_get_ptr()" to const pointers, not non-const pointers. Make the "pdata" argument to various DCE routines a const pointer. svn path=/trunk/; revision=6688
2002-11-28Make "ip6_to_str()" take a const pointer as an argument.Guy Harris2-5/+5
svn path=/trunk/; revision=6687
2002-11-28That was the wrong cast, d00d....Guy Harris1-3/+3
svn path=/trunk/; revision=6686
2002-11-28Constify some pointers to avoid converting const pointers to non-constGuy Harris3-11/+13
pointers. svn path=/trunk/; revision=6685
2002-11-28Make the "strings" pointer in a "header_field_info" structure a constGuy Harris3-12/+12
pointer, and put "const" into the casts in "VALS()" and "TFS()" macros, so we don't un-constify pointers to "value_string" arrays and "true_false_string" structures. Make some things "const" to keep the compiler happy with the previous change. svn path=/trunk/; revision=6684
2002-11-27Cast various "const gpointer" arguments to const pointers rather thanGuy Harris3-24/+32
non-const pointers. svn path=/trunk/; revision=6683
2002-11-27"ether_to_str()" takes a "const guint8 *" as an argument; there's noGuy Harris1-3/+3
need to cast a "const guint8 *" to a "guint8 *" when passing it to "ether_to_str()". svn path=/trunk/; revision=6682
2002-11-27The arguments to the "pntoh" and "pletoh" macros could be constGuy Harris1-19/+19
pointers, so cast them to "const guint8 *". svn path=/trunk/; revision=6681
2002-11-27Add "-Wcast-qual" to the list of "-W" flags, so we catch code that couldGuy Harris1-3/+3
attempt to store through a const pointer. svn path=/trunk/; revision=6680
2002-11-27The "pd" argument to "wtap_process_pcap_packet()" is a const pointer;Guy Harris1-2/+2
when extracting the ATM pseudo-header from the data it points to, cast it to a "const struct sunatm_hdr *". svn path=/trunk/; revision=6679
2002-11-27The arguments to the "pntoh" and "pletoh" macros could be constGuy Harris1-41/+41
pointers, so cast them to "const guint8 *". svn path=/trunk/; revision=6678