aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
1999-12-09Move the GTK+ implementations of various UI utilities out of "util.c"guy17-189/+315
into "gtk/ui_util.c", and move the declarations of those UI utilities out of "util.h" into "ui_util.h". (The header file is in the top-level directory, rather than the "gtk" directory, because it declares window-system-independent interfaces to routines with window-system-dependent implementations.) Add to "gtk/ui_util.c" a routine to set the window and icon title. Use that routine to make the title of an Ethereal top-level window be {filename} - Ethereal if there's a capture open, and have "{filename}" be "<capture>" if it's a temporary capture file. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1255 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-09added ldap dissector placeholder, just does request/response for now, until ↵nneul4-3/+167
I have a chance to figure out ASN.1 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1254 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-09extended nbp dissector, is stable, but i believe it's not completely correct yetnneul1-2/+107
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1253 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-09Add RFC 1702 GRE-over-IPv4.guy1-12/+27
The routing information in a GRE packet is a list of items; dissect all of them (partially - we don't actually dissect the routing data). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1252 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-08started nbp dissectornneul1-4/+75
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1251 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-08changed numbers to bullets and removed nbp dissector item - in progressnneul1-22/+20
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1250 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-08fix stupid atalk typo and remove other proto names stuffnneul1-12/+13
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1249 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-08added a couple of ddp protocol names based on looking at packets in ↵nneul1-2/+32
genbroad.snoop, added placeholder routines for nbp and rtmp dissection git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1248 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-08better info line for ipx messagenneul1-3/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1247 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-08added decode support for 'poll inactive station' ipx messagenneul1-8/+69
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1246 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-08Put the "0[xX]" prefix for "%#[Xx]", and the "0" prefix for "%#o",guy1-2/+2
*before* any padding "0"s. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1245 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-08Register "ett_gre_flags" as an subtree type.guy1-1/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1244 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-08proto tree style fixesnneul2-9/+10
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1243 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-08Added Philip Gladstone <philip@raptor.com>'s patch to check IP headergram2-3/+26
checksum, and noted the need for user-selectable lines in the GUI tree. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1242 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-08- don't print RFC1771 NLRI length if == 0itojun1-10/+18
- don't do AS_PATH parsing if AS_PATH is empty, just print empty From: Greg Hankins <gregh@twoguys.org> git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1241 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-07Add Dave Chapeskie's name to the list of contributors.guy3-2/+8
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1240 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-07It appears that the IRIX SIOCSNOOPLEN "ioctl", as used by "libpcap" toguy1-2/+5
set the capture length on IRIX, may fail if the capture length supplied is too large, rather than just truncating it. Use MIN_PACKET_SIZE, rather than WTAP_MAX_PACKET_SIZE, in our sample open. Let's hope some *other* platform doesn't barf if the capture length is too *small*.... (Sigh. Would that "pcap_open_live()" accepted 0 as a capture size, meaning "give me the whole packet". Unfortunately, it doesn't, so IRIX users may have to crank the capture size back in the capture dialog box.) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1239 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-07Remove 3 GTK+ header files and have our gtkclist.c usegram5-488/+4
the the system version of the gtk header files. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1238 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-07style improvements in ARP dissector proto tree, added todo itemsnneul2-17/+27
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1237 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-07Add the "-R" flag to the usage message.guy1-23/+76
Don't list capture-oriented flags in the usage message if Ethereal was built without "libpcap". If a capture-oriented flag is given to an Ethereal built without "libpcap", print a message noting that and give a usage message. Print only one usage message, even if more than one bad command-line flag is given. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1236 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-07Here I am commit'ing again in a Qantas Club lounge :-)sharpe1-58/+78
Fixed up some bugs to do with NetShareEnum. There is still a persistent bug left that looks like an alignment problem. Damn documentation does not talk about the need to align the response structures for a NetServerEnum2 on SHORT boundaries, but it sure looks like they should be so. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1235 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-07James Coe's patch to add SRVLOC and NCP-over-IP support.guy9-7/+460
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1234 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-07Fixes to highlighting for irc dissector req/resp linesnneul2-11/+13
Change to dns dissector to display "Domain Name System (request)" instead of "DNS request" in the proto tree, as it is more in keeping with the style of the other proto tree entries. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1233 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-06added simple irc dissectornneul5-3/+166
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1232 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-06Patch from Jerry Talkington to:guy4-8/+27
treat CONNECT as an HTTP request; add DELETE and OPTIONS as request names. Make the order of names in the AUTHORS file match that of the man page and the About box. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1231 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-06Use WORDS_BIGENDIAN, rather than BYTE_ORDER, to determine which valuesguy1-5/+4
to use for IPV6_FLOWINFO_MASK and IPV6_FLOWLABEL_MASK. WORDS_BIGENDIAN is defined as long as you include "config.h"; BYTE_ORDER is defined only if you include "global.h" (or if your OS *happens* to define it in an include file that's being included), and we're trimming the number of files that include "global.h". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1230 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-06Remove #include "globals.h" from packet-atalk.c (not needed) and fromgram3-8/+8
packet-ipv6.h. Of all the files that include packet-ipv6.h, only ipproto.c needs "globals.h", so I put the #include in ipproto.c git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1229 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-06NFS v2 ist ready.girlich1-13/+225
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1228 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-06dissect_rpc_string() can now better handle truncated strings.girlich1-4/+15
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1227 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-06Add support for saving files in a format other than the one they're inguy1-1/+4
and other than "libpcap", now that Wiretap can write files other than "libpcap". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1226 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-06Add support for saving files in a format other than the one they're inguy1-15/+129
and other than "libpcap", now that Wiretap can write files other than "libpcap". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1225 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-06Changes from Dave Chapeskie.guy1-63/+271
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1224 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-06When dissecting the reference clock ID field:guy1-6/+13
if it's stratum 0 or 1, use "memcmp()" to compare it against the strings in our table, rather than assuming it's aligned on a 4-byte boundary and doing an integral comparison - neither of the strings being compared are necessarily so aligned - and, if it doesn't match any of them, include the value in the "Unidentified reference source" description; if it's stratum 2 or higher, extract the value with "pntohl()" before interpreting it as an IP address - IP addresses are in network byte order, and, again, it's not necessarily neatly aligned on a 4-byte boundary. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1223 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-05Add ^G as an accelerator for Display:Go To Frame.guy1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1222 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-05Updates from Kojak.guy1-144/+312
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1221 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-05Apple, for some unknown reason, doesn't just encapsulate AppleTalk dataguy1-7/+44
packets as SNAP-encapsulated Ethernet; instead, they use one of their *own* OUIs, followed by the Ethernet packet type for AppleTalk. (Even more oddly, they *do* use SNAP-encapsulated Ethernet for AARP....) Dissect OUI 08-00-07 the same way we dissect the SNAP-encapsulated Ethernet OUI of 00-00-00, and identify it as an Apple OUI. Add checks to make sure we actually have a full LLC header and, if it's a SNAP frame, that we have a full SNAP header as well. For non-SNAP frames, list both the DSAP and the SSAP in the Info column, and, for SNAP frames, list the OUI and PID. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1220 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-05vlan updates for etype<maxlen and capture countersnneul3-10/+25
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1219 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-05Fix a typo.guy1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1218 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-05Don't assume that the OUI of all SNAP frames is 00-00-00; treat onlyguy1-16/+45
frames with an OUI of 00-00-00 as SNAP-encapsulated Ethernet, and, for other SNAP frames, display the protocol ID as hex and dissect the payload as data. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1217 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-05Some small fixes to the smb decoding of sessionsetup&X.sharpe1-4/+4
Will have to do some more soon. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1216 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-05Check in the ASN.1 code for reference purposes, although the SNMPguy3-1/+1007
dissector doesn't use it yet - Nathan Neulinger might use it for a Kerberos 5 dissector, and it might be of use for other dissectors as well. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1215 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-05As per Nathan Leulinger's suggestion, have a stub SNMP dissector ifguy8-68/+55
there are no SNMP libraries to use in a real dissector; this means that other dissectors don't have to care if there are SNMP libraries, they can just call "dissect_snmp()" - and this also simplifies "Makefile.am" and "configure.in" a bit, as they just treat "packet-snmp.c" and "packet-snmp.h" the same way they treat other dissector source files. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1214 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-05Use the new routines in Wiretap to make the argument to "-T" be aguy1-5/+19
symbolic name, and to list the encapsulation types in the usage message. Note in the usage message that the default output encapsulation type is "same as the input file" and that the default output file type is "libpcap". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1213 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-05Provide a table of descriptive and short (command-line) names forguy2-2/+93
encapsulation types, and routines to translate encapsulation types to names and short names to encapsulation types, for the benefit of "editcap". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1212 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-05Expand on the description of "libpcap" and "snoop" capture file formats.guy1-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1211 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-04It's now called "editcap", as it can read any file format Wiretap canguy1-9/+22
read, and write any format it can write; change the error messages. Make the "-F" flag take a symbolic capture file type; use "wtap_short_string_to_file_type()" to translate it to a WTAP_FILE_ value. List, in the usage message, the capture file types we can write, and the symbolic types you use on the command line to specify them. Give it an RCS ID. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1210 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-04Add rules for making "editcap".guy1-1/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1209 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-04Oops! First check if the short name in the "dump_open_table[]" entry isguy1-2/+3
NULL before checking if it matches the name you were handed.... git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1208 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-04Give those capture file formats we can write a "short name", to be usedguy2-20/+45
to, for example, specify on a command line the format that a program should write; provide a routine to translate a file type to its short name, and to translate a short name to the corresponding file type. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1207 f5534014-38df-0310-8fa8-9805f1628bb7
1999-12-04Adding editcap.c. This is an example of a simple wiretap editing program.sharpe1-0/+174
Will need new functions in wiretap before I can do more. Should perhaps be moved into an examples directory and have other bots added. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1206 f5534014-38df-0310-8fa8-9805f1628bb7