aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix #ifndef line whose symbol had been omitted.Guy Harris2000-01-291-2/+2
| | | | svn path=/trunk/; revision=1581
* Don't put "get_home_dir()" inside #ifdef HAVE_LIBPCAP/#endif.Guy Harris2000-01-291-10/+26
| | | | | | | | | | | On UNIX, if "$HOME" isn't set, try getting the user ID and the password entry for that user ID, and, if that succeeds, get the home directory from the password entry, otherwise use "/tmp". On NT, it may be possible to do something similar (get the user name, and append that to "C:\winnt\profiles\"); I'm not sure whether there's anything that can be done on Windows 9x. svn path=/trunk/; revision=1580
* Remove instances of getenv("HOME") and provide a get_home_dir() functionGilbert Ramirez2000-01-298-36/+74
| | | | | | which provides a default value if "HOME" is not set. svn path=/trunk/; revision=1579
* I forgot to toggle the data_out_file "semaphore" (well, we us it like one)Gilbert Ramirez2000-01-291-1/+2
| | | | | | | at the end of follow_read_stream(), which causes a segfault if you change the TCP Follow screen to EBCDIC, and then go back and select a TCP packet. svn path=/trunk/; revision=1578
* The user data in an X.25 call request packet is - at least for IP and,Guy Harris2000-01-291-2/+6
| | | | | | | | | | | if I correctly read the Windows NT DDK documentation on WAN drivers, for PPP as well - an ISO NLPID, so use the "nlpid.h" values where they exist. Currently doesn't treat NLPID_PPP as PPP, but if we get a PPP-over-X.25 capture, we may find that it should do so. svn path=/trunk/; revision=1577
* Support for NetXray 3.03 (the program version, not file version) PPPGilbert Ramirez2000-01-291-2/+2
| | | | | | | | | traces. The trace we got from Tom Poe (tomp@intrex.net) contains PPP data which NetXRay has transformed into looking like Ethernet frames. The hardware addresses are the bytes for the ASCII reprsentation of "SRC" and "DEST", with null pad bytes at the end. Interesting. svn path=/trunk/; revision=1576
* Fix a bug in the extraction of the sequence number.Gilbert Ramirez2000-01-291-5/+4
| | | | svn path=/trunk/; revision=1575
* If a file is opened, and then closed, the File|Open option doesn'tGilbert Ramirez2000-01-271-1/+2
| | | | | | show up any more (nor does the Capture option). Fixed. svn path=/trunk/; revision=1574
* TFTP Option Extension (RFC 2347) support, from Craig Newell.Guy Harris2000-01-273-5/+48
| | | | svn path=/trunk/; revision=1573
* In case the "ts" field of a libpcap per-packet header isn't a "structGuy Harris2000-01-261-2/+7
| | | | | | | | | | timeval" (if, say, it's a "struct bpf_timeval", with member sizes wired to 32 bits, as it appears to be in SuSE 6.3 and will, I think, be in the 0.5 release of libpcap), copy the members of that field to the "ts" field of the Wiretap per-packet header (which also lets us make it not a "struct timeval" as well). svn path=/trunk/; revision=1572
* Always declare, and define, "file_seek()" to return a "long", as it'sGuy Harris2000-01-262-14/+13
| | | | | | | | | supposed to look like "ftell()". If you don't have zlib, just define "file_seek" as an alias for "fseek", rather than defining it as a routine. svn path=/trunk/; revision=1571
* Corrected a SEGFAULT in v2 readdir reply, v3 readdir reply, and v3 readdirplusUwe Girlich2000-01-261-8/+11
| | | | | | | reply. It came in with the new dissect_rpc_string() with gives the string back. svn path=/trunk/; revision=1570
* Add a debian subdirectory and the files needed to generate a debian package.Olivier Abad2000-01-2611-1/+312
| | | | | | | | | | | | The files were created by Frederic Peters <fpeters@debian.org>, the maintainer of the ethereal debian package. I just modified `rules' to use autogen.sh when building from a CVS tree. Building a debian package is now very easy : - in debian/changelog : change the version number (and replace my name with yours) - dpkg-buildpackage -rfakeroot -us -uc svn path=/trunk/; revision=1569
* Initialize per-dissection data structures before doing a capture, asGuy Harris2000-01-261-1/+7
| | | | | | | well as before reading a capture file - if the user didn't specify that the capture should be saved to a file, it'll be dissected as it arrives. svn path=/trunk/; revision=1568
* In "dissect_clnp()", fill in "clnp" before looking at it.Guy Harris2000-01-261-5/+5
| | | | svn path=/trunk/; revision=1567
* In Win32, treat both '/' and '\' as pathname separators.Guy Harris2000-01-261-8/+16
| | | | svn path=/trunk/; revision=1566
* Credit fix, and fix for building editcap.1 with build dir != $(srcdir)Gilbert Ramirez2000-01-262-4/+4
| | | | svn path=/trunk/; revision=1564
* Itojun did part of the BSD zlib fix.Guy Harris2000-01-261-1/+1
| | | | svn path=/trunk/; revision=1563
* Move version to 0.8.2, add Win32 to list of platforms in README.Gilbert Ramirez2000-01-263-4/+51
| | | | svn path=/trunk/; revision=1562
* Fix the File|Open menu problem for builds w/o pcap (aka, win32 builds).Gilbert Ramirez2000-01-251-1/+3
| | | | svn path=/trunk/; revision=1561
* Add O_BINARY flag to open() for win32.Gilbert Ramirez2000-01-251-2/+6
| | | | svn path=/trunk/; revision=1560
* Add an include of "../menu.h" to fix a win32 build break.Gilbert Ramirez2000-01-251-1/+2
| | | | svn path=/trunk/; revision=1559
* Enable File|Open menu item when Ethereal is started with no "-r" option.Gilbert Ramirez2000-01-251-1/+5
| | | | svn path=/trunk/; revision=1558
* Added additional manpages and binaries to RPM package. I don'tGilbert Ramirez2000-01-251-1/+11
| | | | | | know if my changes work, or if anyone actually uses the spec file. svn path=/trunk/; revision=1557
* parse multiple COMMUNITIES value.Jun-ichiro itojun Hagino2000-01-251-70/+113
| | | | svn path=/trunk/; revision=1556
* Provide a "get_dirname()" routine, that takes a pathname and returnsGuy Harris2000-01-254-31/+111
| | | | | | | | | | | | | | either a pointer to the directory part of the pathname (after stomping on the pathname separator with a '\0', so don't use this on pathnames you plan to use afterwards), or NULL if the pathname contains no directory part, and make it handle Win32 pathnames on Win32 systems. Use it to get the containing directory of the currently open file, so that the "chdir()" stuff we do to cause the "File:Open" dialog box to show you files in the directory in which you last looked works on Win32 systems. svn path=/trunk/; revision=1555
* "gztell()" is also affected by the libz mess on platforms where "off_t"Guy Harris2000-01-252-5/+11
| | | | | | | | is bigger than a "long"; this is itojun's fix for that, turning "file_tell()" into a wrapper function in "file_wrappers.c", just like "file_seek()". svn path=/trunk/; revision=1554
* Use "get_basename()" rather than finding the last component of "argv[0]"Guy Harris2000-01-251-6/+2
| | | | | | by hand. svn path=/trunk/; revision=1553
* Encapsulate the code to take a pointer to a pathname and return aGuy Harris2000-01-254-23/+46
| | | | | | | | pointer to the name of the file to which it refers (i.e., to the last component of the pathname) in a "get_basename()" routine, and have the code in "file.c" call it. svn path=/trunk/; revision=1552
* If we open a file, and immediately try to open another file while the firstGerald Combs2000-01-251-1/+2
| | | | | | | one is loading, we dump core. Add the "Open..." menu item to the list of items that we disable while a file is loading. svn path=/trunk/; revision=1551
* Try to work around the undraw_cursor() bug in GTK+ 1.2.3 - 1.2.6. SettingGerald Combs2000-01-251-1/+6
| | | | | | | the text widget scroll bar adjustment to 0.0 appears to fix things (on my system, at least). svn path=/trunk/; revision=1550
* Update with URLs for the Win32 port on both sides of the Atlantic, andGuy Harris2000-01-251-3/+27
| | | | | | with notes about possible problems with the latest version. svn path=/trunk/; revision=1549
* "If there aren't any packets to select" means "if there aren't anyGuy Harris2000-01-251-4/+6
| | | | | | | | | | | packets displayed", not just "if there aren't any packets" - there may be packets but no displayed packets if the display filter didn't find any packets. NULL out the pointers to the first and last displayed packet when closing a capture file. svn path=/trunk/; revision=1548
* If there aren't any packets to select, don't try to select the firstGuy Harris2000-01-251-3/+5
| | | | | | | packet; "select_packet()" gets peeved because it can't find the packet, and panics. svn path=/trunk/; revision=1547
* Add support for Cisco ISL.Guy Harris2000-01-251-0/+1
| | | | svn path=/trunk/; revision=1546
* On Win32, when splitting file names into directory and last component,Guy Harris2000-01-252-5/+12
| | | | | | search for '\' rather than '/'. svn path=/trunk/; revision=1545
* The CRC is at the end of the frame, not at the end of the captured dataGuy Harris2000-01-241-3/+3
| | | | | | in the frame. svn path=/trunk/; revision=1544
* Add the CRC of the encapsulated frame to the ISL dissection.Guy Harris2000-01-241-2/+11
| | | | | | Fix an error in the handling of non-Ethernet, non-Token Ring frames. svn path=/trunk/; revision=1543
* Set a fixed-width font for win32.Gilbert Ramirez2000-01-241-2/+7
| | | | svn path=/trunk/; revision=1542
* Open files with "rb" rather than "r" - this may fix up the problemsGuy Harris2000-01-241-3/+3
| | | | | | Gilbert alluded to with reading capture files on Win32 systems. svn path=/trunk/; revision=1541
* Ethereal shouldn't use "file_seek()", "file_read()", or "file_write()"Guy Harris2000-01-241-9/+1
| | | | | | | | directly; it should use them through Wiretap. (Arguably, it shouldn't use "file_open()", "file_dopen()", or "file_close()" directly, and should use those through Wiretap as well.) svn path=/trunk/; revision=1540
* Add an INFO column with the VLAN ID.Guy Harris2000-01-241-40/+40
| | | | | | | Get the frame type, and call the next dissector, regardless of whether we're building a protocol tree or not. svn path=/trunk/; revision=1539
* Added the O_BINARY flag to open() for win32.Gilbert Ramirez2000-01-241-2/+7
| | | | | | Ethereal on win32 now correctly reads trace files. svn path=/trunk/; revision=1538
* Add support for Cisco ISL.Guy Harris2000-01-244-3/+313
| | | | svn path=/trunk/; revision=1537
* Make the Tethereal usage message reflect whether libpcap support wasGuy Harris2000-01-241-3/+8
| | | | | | compiled in or not. svn path=/trunk/; revision=1536
* Add spaces to the usage message, to match what was done to the TetherealGuy Harris2000-01-241-9/+10
| | | | | | usage message. svn path=/trunk/; revision=1535
* Keep the sample command line in the usage message within 80 characters.Guy Harris2000-01-241-4/+5
| | | | svn path=/trunk/; revision=1534
* Include the "-D" flag in the usage message.Guy Harris2000-01-241-2/+2
| | | | svn path=/trunk/; revision=1533
* Heikki Vatiainen's patch to add a flag to control whether to interpretGuy Harris2000-01-248-25/+152
| | | | | | | | the IPv4 TOS field as a TOS field or as a DiffServ field, and allow that field to be controlled by a command-line option or an option in the "Display:Options" dialog box. svn path=/trunk/; revision=1532
* Fix a bunch of dissectors to use "pi.captured_len" rather thanGuy Harris2000-01-243-41/+41
| | | | | | | | | | "fd->cap_len" for the frame length - or to use macros such as "BYTES_ARE_IN_FRAME()", "IS_DATA_IN_FRAME()", and "END_OF_FRAME", which use "pi.captured_len" - so that they correctly handle frames where the actual data length of the packet is less than the size of the raw frame, e.g. with encapsulations such as ISL. svn path=/trunk/; revision=1531