aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
1999-06-12Don't pop up the "Can't open preferences file" dialog until *after*Guy Harris3-10/+27
we've shown the top-level window, because we want it to pop up on *top* of the top-level window, rather than being hidden behind it. Put a "strerror()"-based reason *why* the open failed in that dialog. svn path=/trunk/; revision=308
1999-06-12Move the comment from the GTK 1.0 tutorial just before the GTK 1.0Guy Harris1-8/+31
GtkMenuEntry table, and add the comment from the equivalent part of the GTK 1.2 tutorial before the GTK 1.2 GtkItemFactoryEntry table. svn path=/trunk/; revision=307
1999-06-12Make the string argument to "col_add_str()" a "const gchar *" - itGuy Harris2-4/+4
doesn't modify anything pointed to by that argument, and that keeps us from getting complaints if we pass a "const gchar *" to it. svn path=/trunk/; revision=306
1999-06-12Use "val_to_str()", rather than "get_XXX()" routines, to map SNMPGuy Harris1-270/+189
versions, PDU types, error statuses, and trap types to strings. Set the protocol column to "SNMP", and set the info column to an error message if the parse fails (rather than printing a message to the standard error) and to the PDU type if it succeeds. svn path=/trunk/; revision=305
1999-06-11Added RSVP protocol dissector.Gilbert Ramirez11-13/+1326
svn path=/trunk/; revision=304
1999-06-11Added PPPoE, PPTP, GRE, and ISAKMP dissectors.Gilbert Ramirez22-167/+2849
svn path=/trunk/; revision=303
1999-06-05Don't "g_strdup()" what "gtk_entry_get_text()" returns as the contentsGuy Harris1-3/+2
of the packet count combo box; there's no need to do so (we don't remember the string, just its value when converted to a number), and, as we don't free what "g_strdup()" returns, and don't remember it to save it later, we leak memory. svn path=/trunk/; revision=302
1999-06-02When checking to see if a packet is of a given type by checking theGuy Harris1-30/+14
source and destination port numbers, check both port numbers against the specified port, rather than checking the lower of the two port numbers against the specified port, just in case you happen to either have 1) the port number for that type being high enough that you can get client sockets using it or 2) client sockets using it for some other reason. svn path=/trunk/; revision=301
1999-06-01When constructing the list for the "Count" combo box in the "Capture"Guy Harris1-2/+2
dialog box, put "0 (Infinite)" first, so that we default to that rather than to the number of packets in the last capture we read. svn path=/trunk/; revision=300
1999-06-01As we may return an error message, rather than a NetBIOS name, fromGuy Harris1-3/+3
"get_nbns_name()", make sure the array into which you put the name is "big enough" - MAXDNAME+4 is more than big enough for those error messages. svn path=/trunk/; revision=299
1999-06-01Unfortunately, as the "cap_len" field in a "frame_data" is unsigned,Guy Harris1-2/+2
"fd->cap_len - offset", i.e. END_OF_FRAME, is unsigned, so while (END_OF_FRAME > 0) { doesn't keep you out of the loop if "offset" is already beyond "fd->cap_len", so you can try processing stuff past the end of the captured data in the packet. svn path=/trunk/; revision=298
1999-05-27Correctly handle the case of the root showing up as a name in a DNSGuy Harris3-109/+141
request or reply. (Redid "get_dns_name()" along the lines of the code in the BSD resolver.) Add code to dissect SOA RRs. svn path=/trunk/; revision=297
1999-05-26Removed segfault if NCP completion code was decoded for an uknown NCP reply ↵Gilbert Ramirez1-4/+11
type. svn path=/trunk/; revision=296
1999-05-20Dissect ICMP Router Discovery packets (router advertisements and routerGuy Harris1-2/+37
solicitations). svn path=/trunk/; revision=295
1999-05-19Packaging changes for version 0.6.2Gilbert Ramirez7-207/+163
svn path=/trunk/; revision=293
1999-05-19Made BPF disassembly in wiretap.c a bit easier to read.Gilbert Ramirez2-2/+5
svn path=/trunk/; revision=292
1999-05-16Added more functionality to the completion-code parsing routine.Gilbert Ramirez1-18/+60
svn path=/trunk/; revision=291
1999-05-16Removed ethereal.1 and copied make rule from doc/Makefile to top-levelGilbert Ramirez3-701/+215
Makefile so that manpage can be made from pod file during packaging. svn path=/trunk/; revision=290
1999-05-16Fixed to actually compile with CMU SNMP library (at least on Linux).Gilbert Ramirez1-7/+67
svn path=/trunk/; revision=289
1999-05-14Further refined NCP fix, and added translation of NCP Completion Code.Gilbert Ramirez1-52/+272
svn path=/trunk/; revision=288
1999-05-13Fixed some serious bugs in the NCP hash routines. I also simplifiedGilbert Ramirez2-44/+174
the NCP field table structure so that it is easier to add new request/reply types. I even added a new type myself. There's still more work to be done; so for now ignore the warnings that gcc emits. svn path=/trunk/; revision=287
1999-05-13Get rid of the include of <arpa/tftp.h>; put the #defines for packetGuy Harris1-9/+12
types in "packet-tftp.c", and grab the opcode directly from the first 2 bytes of the packet, using "pntohs()" (which will also keep us from crashing, on processors that require strict alignment, if the UDP payload isn't aligned on a 2-byte boundary). Also use "pntohs()" to grab the block number in data and acknowledgment packets, for the same reason we use it to grab the opcode. svn path=/trunk/; revision=286
1999-05-13Removing some includes of tftp.h from places it should not beRichard Sharpe3-6/+3
in. Would like to remove it from packet-tftp.c as well to remove our dependence on that file as well. svn path=/trunk/; revision=285
1999-05-12Add support for Network Monitor 2.0 files, thanks to informationGuy Harris3-26/+116
supplied by Tim Farley. Tim also indicated that the Network Monitor network types may be NDIS network types+1. It also appears that NetXRay/Windows Sniffer network types may be NDIS network types as well. svn path=/trunk/; revision=284
1999-05-12Minor performance improvement and TCP option decoding fixed (when no tree).Laurent Deniel2-35/+34
svn path=/trunk/; revision=283
1999-05-12Credited John McDermott <jjm@jkintl.com> for his pseudo-real-timeGilbert Ramirez4-10/+47
capture patch. svn path=/trunk/; revision=282
1999-05-12Added Didier Jorand's dissect_snmp routine. This is only compiled inGilbert Ramirez8-140/+1172
if you have the UCD or CMU SNMP library available. If you have the SNMP library but do not with to have SNMP support, use the ./configure --disable-snmp option. Otherwise 'configure' finds the SNMP library and uses it. svn path=/trunk/; revision=281
1999-05-12Changed wiretap rules so that ordinary user doesn't need bison and flexGilbert Ramirez2-53/+17
if they just compile the source and don't modify any source files. svn path=/trunk/; revision=280
1999-05-11Add "SMB support" to the list of Richard Sharpe's contributions.Guy Harris1-0/+1
svn path=/trunk/; revision=279
1999-05-11Fixed problem where filename of capture file would not be displayed inGilbert Ramirez1-2/+4
status bar if invoked by "ethereal -r filename". svn path=/trunk/; revision=278
1999-05-11Live data capture and display enhancement that allows network capture andLaurent Deniel2-0/+34
display of fully decoded packets at the same time. Options added: -F : fork capture process -S : sync mode ala tail -f (implies -F) -f : filter expression -Q : exit after capture (implies -k) svn path=/trunk/; revision=277
1999-05-11Live data capture and display enhancement that allows network capture andLaurent Deniel5-23/+317
display of fully decoded packets at the same time. Options added: -F : fork capture process -S : sync mode ala tail -f (implies -F) -f : filter expression -Q : exit after capture (implies -k) svn path=/trunk/; revision=276
1999-05-11Turn "arpaddr_to_str()" into "bytes_to_str()", and make it public, so itGuy Harris4-57/+142
can be used by dissectors other than ARP to display byte arrays as strings of hex digits. Add a routine to extract a null-terminated Unicode string and turn it into an ISO 8859-1 string for display. (Ultimately, we should determine what character sets the X server or printer or whatever can handle, and turn it into the appropriate character set.) Display the challenge in "core-to-LANMAN-2.1" Negotiate Protocol responses as a string of hex digits - but only if the length is non-zero. (It's a counted array, not a null-terminated string.) Display some additional security mode bits in an NT LM 0.12 Negotiate Protocol response. Display some additional bits in the "capabilities" field of the Negotiate Protocol response. Display the challenge in an NT LM 0.12 Negotiate Protocol response as a string of hex digits (it's a counted array, not a null-terminated string). Display the domain name as Unicode in an NT LM 0.12 Negotiate Protocol response if the capabilities field has the "supports Unicode" bit set (no, not the "Unicode" bit in the "flags2" field - NT doesn't set that in the response, even though it sends the domain name over in Unicode!). Display some additional bits in the "flags2" field of an SMB. svn path=/trunk/; revision=275
1999-05-11Add some SMB codes and error codes from theGuy Harris2-18/+24
"draft-leach-cifs-v1-spec-01.txt" CIFS Internet draft. svn path=/trunk/; revision=274
1999-05-11Add decoding of DOS-format dates and times (one of the N differentGuy Harris1-3/+31
date/time formats used in SMB...). svn path=/trunk/; revision=273
1999-05-11Some of my fixes did get lost - put 'em back.Guy Harris1-9/+34
Fix the "proto_tree_add_item()" used when the server didn't support any of the dialects the client offered not to print the dialect index. In the "Core to LANMAN 2.1" "negotiate protocol" decode, show the time zone as minutes from UTC, just as is done for the "post-LANMAN 2.1" decode. svn path=/trunk/; revision=272
1999-05-11Some clean-ups. I hope I have not disturbed any of Guy'sRichard Sharpe1-37/+114
fixes, as I had to manually apply his fixes. It is a long story, but my development environment is, umm, interesting. Thanks to Guy for spotting the problems in my Core Proto to LanMan 2.0 decode probs. I did not spot them and I do not have any such traces to check against. svn path=/trunk/; revision=271
1999-05-10Pass NBDS packets on to SMB even if we're only generating a summaryGuy Harris1-24/+34
line, so that they show up as SMB packets, rather than NBDS packets, in the summary display. Put SMB at the top level of the decode tree for NBDS packets, as is done for NBSS packets. svn path=/trunk/; revision=270
1999-05-10Decode SMB requests inside NetBIOS Datagram Service packets.Guy Harris3-7/+17
svn path=/trunk/; revision=269
1999-05-10Fix up the decode of "greater than core and up to and including LANMANGuy Harris1-28/+48
2.1" "negotiate protocol" responses. Display unsigned fields in "negotiate protocol" as unsigned, rather than signed, values. svn path=/trunk/; revision=268
1999-05-10Fixed the number of parameters for the other super-IPX protocols so thatGilbert Ramirez3-27/+35
the table of dissect functions that IPX needs only needs to store pointers to on type of function. Now all super-IPX protocols have an 'int max_data' argument. svn path=/trunk/; revision=267
1999-05-10Decode the "flags2" field in the SMB header.Guy Harris2-12/+50
Squelch another "variable may be used without being initialized" complaint (also due to insufficiently sophisticated dataflow analysis by EGCS 1.1), and a number of "unused variable" complaints, as well as "assigning a 'const XXX *' to an 'XXX *'" complaints. svn path=/trunk/; revision=266
1999-05-10Get rid of the "P*" macros, as we're not using them (Ethereal only readsGuy Harris1-12/+3
packets, it doesn't store into them), and make the "G*" macros use "pletohs()" and "pletohl()", making them platform-independent. svn path=/trunk/; revision=265
1999-05-10EGCS 1.1's dataflow analysis (and probably that of other versions ofGuy Harris1-2/+2
GCC) isn't sophisticated enough to figure out that "nbss_tree" isn't used if "tree" is null (or doesn't trust it not to change out from under it), so we have to initialize "nbss_tree" to NULL to squelch complaints about it being used but uninitialized. svn path=/trunk/; revision=264
1999-05-10Check in updated version, reflecting the changes to "Makefile.am".Guy Harris1-8/+9
svn path=/trunk/; revision=263
1999-05-10This small change lets me read SMBtrans packets that come over NBIPX.Gilbert Ramirez3-15/+30
svn path=/trunk/; revision=262
1999-05-10Mode decoded SMBs ... Now decode part of a TCONX request,Richard Sharpe2-8/+263
but not the responses, and do not handle the ANDX part yet, but I have a Linux course to develop, so that is enough for now. svn path=/trunk/; revision=261
1999-05-09Minor changes to check if log info is workingRichard Sharpe1-1/+2
svn path=/trunk/; revision=260
1999-05-09Added new files for SMB decode: packet-smb.c, alignment.h, smb.hRichard Sharpe3-0/+1909
svn path=/trunk/; revision=259
1999-05-09Added initial support for SMB plus most of negprot decode ..Richard Sharpe3-49/+82
svn path=/trunk/; revision=258