aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2003-12-18WildPackets' EtherHelp appears to write EtherPeek-compatible files,Guy Harris6-21/+37
except that the 0x80 bit is turned on in the file version number field. Turn that bit off before processing that field. svn path=/trunk/; revision=9342
2003-12-18"pcap_compile_nopcap()" has a different signature in recent NetBSDGuy Harris2-9/+17
libpcap than in tcpdump.org libpcap; it's been deprecated for that reason. "pcap_open_dead()" has been in libpcap since 0.6, so only for 0.5[.x] will you have "pcap_compile_nopcap()" but not "pcap_open_dead()" - for now, we use "pcap_open_dead()" rather than "pcap_compile_nopcap()", and don't do the check for capture filters in systems with libpcaps that lack "pcap_open_dead()". svn path=/trunk/; revision=9341
2003-12-18Mallocate buffers for the strings gotten by "get_encoded_strval()" andGuy Harris1-26/+45
"get_encoded_strval()", rather than filling in a fixed-size buffer, so that we don't overflow the buffer. svn path=/trunk/; revision=9340
2003-12-18Fix some typoes.Guy Harris1-4/+3
svn path=/trunk/; revision=9339
2003-12-18Make packet offsets, and lengths, "guint".Guy Harris1-49/+55
Put in some sanity checking to make sure we don't go completely crazy if an offset goes past the length (we should check as the offset is advanced, but...). svn path=/trunk/; revision=9338
2003-12-18Make "ctlfn" a "guint8", as it holds a single-byte value.Guy Harris1-3/+3
svn path=/trunk/; revision=9337
2003-12-18Use a value_string table for the Status field.Guy Harris1-17/+8
svn path=/trunk/; revision=9336
2003-12-18The "cmd" members of "smb_saved_info_t" and "smb_info_t" structuresGuy Harris2-9/+9
always contain an SMB command code (SMB requests and responses both have command codes, so there's no "unknown" out-of-band value); make it a "guint8". Make the argument to "decode_smb_name()" a "guint8" as an SMB command code is passed to it ("guint8" and "unsigned char" are the same types on all platforms we're likely to deal with, so it's a cosmetic change, not a semantic one). Put in an extra "GPOINTER_TO_UINT()" call before casting "si->sip->extra_info" to "guint16", to squelch compiler warnings. svn path=/trunk/; revision=9335
2003-12-17Make packet offsets "gint"s rather than "guint8"s.Guy Harris1-4/+4
svn path=/trunk/; revision=9334
2003-12-17removed some more MSVC warnings (type casting), GTK2 specificUlf Lamping2-5/+5
svn path=/trunk/; revision=9333
2003-12-17removed some more MSVC warnings (type casting)Ulf Lamping10-63/+63
svn path=/trunk/; revision=9332
2003-12-17Update the "matches" explanation as it now also works for protocol fieldsOlivier Biot1-6/+5
(FT_TVBUFF). Thanks libpcre for allowing pattern matching in binary data! svn path=/trunk/; revision=9331
2003-12-17Get rid of unused registered header fields. Some white-space changes.Olivier Biot1-58/+25
svn path=/trunk/; revision=9330
2003-12-17Add protocols to the header fields for which the "matches" operator can beOlivier Biot1-4/+54
appliedi (PCRE). In fact, all FT_TVBUFF fields. svn path=/trunk/; revision=9329
2003-12-17Only dissect the key in TKEY RRs if it's present (i.e., has a non-zeroGuy Harris1-35/+42
length) - zero-length keys "shouldn't happen", but what the heck.... svn path=/trunk/; revision=9328
2003-12-17From Lars Roland: have common code to handle display filter dialogs inGuy Harris33-315/+362
taps, and use that in the H.225 taps. svn path=/trunk/; revision=9327
2003-12-17removed some more MSVC warnings (type casting)Ulf Lamping2-7/+8
svn path=/trunk/; revision=9326
2003-12-17renamed some defines SERVICE_xy to SVCCTL_SERVICE_xy to avoidUlf Lamping1-11/+11
"duplicate definition" warnings with win32's winsvc.h svn path=/trunk/; revision=9325
2003-12-17Set "print_args" regardless of whether we're printing the packet detailGuy Harris1-7/+7
or not - it's used if we're printing the hex data. svn path=/trunk/; revision=9324
2003-12-17From Anders Broman: add a preference setting for the RTSP TCP port.Guy Harris1-8/+40
svn path=/trunk/; revision=9323
2003-12-17There's no need for the "content_type_exist" variable - we can justGuy Harris1-4/+2
check whether "media_type_str" is null. svn path=/trunk/; revision=9322
2003-12-17From Anders Broman:Guy Harris1-18/+27
check that there *is* a content type string before using it; get rid of some incomplete code for multipart/mixed (it set some variables but didn't use them); add some incomplete code for handling parameters to Content-Type. svn path=/trunk/; revision=9321
2003-12-17Get rid of an unused value_string table and unused #defines.Guy Harris1-9/+0
svn path=/trunk/; revision=9320
2003-12-17removed some MSVC warnings (casting gdouble to gint, which is ok)Ulf Lamping1-5/+6
svn path=/trunk/; revision=9319
2003-12-17added missing rule for v5ua pluginUlf Lamping1-1/+10
svn path=/trunk/; revision=9318
2003-12-17For unknown key IDs, show the algorithm symbolically if possible.Guy Harris1-2/+3
svn path=/trunk/; revision=9317
2003-12-17Update a comment.Guy Harris1-8/+5
svn path=/trunk/; revision=9316
2003-12-17Give the key and other lengths and data names that match the names inGuy Harris1-5/+5
RFC 2930. svn path=/trunk/; revision=9315
2003-12-17Put the key and other lengths into the protocol tree for TKEY RRs.Guy Harris1-1/+5
svn path=/trunk/; revision=9314
2003-12-17Pass "attr_info" to "rd_value_to_str()" - don't look it up again inGuy Harris1-22/+21
"rd_value_to_str()". Handle a null return from "find_radius_attr_info()". We don't have to reserve a value type of 0 for "not found in the table" - a null return from "find_radius_attr_info()" indicates that. Hoist the code to make the top-level item for an AVP above the check for an EAP message. svn path=/trunk/; revision=9313
2003-12-17Make Makefile.am and Makefile.nmake match those for other plugins.Guy Harris2-14/+11
svn path=/trunk/; revision=9312
2003-12-17From Christoph Neusch: V5UA support.Guy Harris16-14/+2877
From Anders Broman: patches to various makefiles and configure scripts to build the V5UA dissector, and patches to make it compile. From me: .cvsignore file, and NSIS patches. svn path=/trunk/; revision=9311
2003-12-17Fix more "CPPLAGS" typoes.Guy Harris2-6/+6
svn path=/trunk/; revision=9310
2003-12-17From Albert Chin: fix for the following:Guy Harris2-14/+22
The PCRE test in acinclude.m4 and epan/acinclude.m4 don't work if PCRE exists in a non-system directory. The problem is that LDFLAGS and LIBS are set incorrectly. LIBS shouldn't contain -L arguments. svn path=/trunk/; revision=9309
2003-12-17According to RFC 2868, a tag value of 0 is not valid for a string - weGuy Harris1-2/+2
just treat a 0 tag byte as the first byte of the string. svn path=/trunk/; revision=9308
2003-12-17Call the "type" member of a "radius_attr_info" structure "value_type"Guy Harris1-26/+37
(as it's the type of the value for that attribute, e.g. integer, string, binary string, time, ...), and call "val1" "attr_type" (as it's the "type" field value for that attribute in RADIUS packets). Add a type for EAP messages, and check for EAP messages using the value type. For tagged integers, fetch the tag and value separately. Fix the tagged-integer code to overwrite the buffer rather than appending to it. svn path=/trunk/; revision=9307
2003-12-17Put in more information about the attribute type enum.Guy Harris1-51/+36
Get rid of "rd_value_to_str()", pulling its code up into the one place it's called, and rename "rd_value_to_str_2()" to "rd_value_to_str()" (and get rid of its return value - it just returns its first argument). Make "textbuffer" and "vsabuffer" local variables in "dissect_attribute_value_pairs()". Get rid of "rd_match_strval_attrib()" - just fetch the full radius_attr_info entry and use its "str" member. svn path=/trunk/; revision=9306
2003-12-17From Albert Chin: get rid of C++ comments.Guy Harris1-1/+1
svn path=/trunk/; revision=9305
2003-12-17Instead of having a whole pile of RADIUS value types, each of which hasGuy Harris1-1324/+1051
a value_string table associated with it, just have them all be RADIUS_INTEGER4 or RADIUS_INTEGER4_TAGGED, and add to the table of value tags/value types/value names a pointer to a value_string table - if it's null, just show the value, otherwise use the table. Use that for the 3GPP protocol type field as well, with a value_string table, rather than doing a switch. Constify a bunch of tables. Replace "get_vsa_table()" with "get_attr_info_table()", which returns the attribute information table for the vendor in question, or NULL. Fix the handling of IPX addresses. svn path=/trunk/; revision=9304
2003-12-16From D. Manzella: run $NETSNMPCONFIG, not "net-snmp-config" (as long asGuy Harris3-4/+23
we've gone through the trouble of finding the path, we should use it, and if the user explicitly said where it is, we should *definitely* use it), and add the output of "$NETSNMPCONFIG --cflags" to CFLAGS and CPPFLAGS before searching for Net-SNMP headers, so we check the appropriate directory for them. svn path=/trunk/; revision=9303
2003-12-16Fix some typoes in variable names.Guy Harris1-5/+5
svn path=/trunk/; revision=9302
2003-12-16WBXML dissector: Move summary update code outside of if (tree) construct.Olivier Biot2-346/+925
WSP dissector: clean up redirect dissection, add generic address field dissection, add Session Initiation Request dissection, rewrite capability dissection, and various small updates. svn path=/trunk/; revision=9301
2003-12-16From Jeff Morriss: don't spew out the entire "if" statement as outputGuy Harris1-2/+2
when doing "make svr4-package". svn path=/trunk/; revision=9300
2003-12-16using G_DIR_SEPARATOR_S instead of hardcoded slashUlf Lamping1-2/+2
(not suitable on win32 platforms) svn path=/trunk/; revision=9299
2003-12-16From David Frascone: support LWAPP on port 12223 (for control traffic)Guy Harris1-9/+34
and, for packets sent to that port, handle the MAC address that's at the beginning of the packet. svn path=/trunk/; revision=9298
2003-12-16From Martti Kuparinen: fixes, and more values, for Mobile IPv6 BindingGuy Harris1-3/+5
Acknowledgment status. svn path=/trunk/; revision=9297
2003-12-16Use gtk compatibility macros (from compat_macros.h) instead of some gtk+Olivier Abad23-213/+171
v1.2 functions which are deprecated in gtk+ v2. Update OBJECT_SET_DATA macros to cast "data" to (gpointer). svn path=/trunk/; revision=9296
2003-12-16From Jeff Morris: using named tempfiles preventing errors on multiprocessor ↵Ulf Lamping1-4/+4
machines svn path=/trunk/; revision=9295
2003-12-16minor change in the uninstaller "Publisher" stringUlf Lamping1-2/+2
svn path=/trunk/; revision=9294
2003-12-16From Ronnie Sahlberg: stub dissector for the Microsoft Distributed LinkGuy Harris3-2/+103
Tracking Server Service (uuid and finction name from Jean-Baptiste Marchand). svn path=/trunk/; revision=9293