aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2000-04-20Have the IPv6 dissector use the same dissector table as the IPv4Guy Harris14-173/+71
dissector. Don't dissect the payload of any fragmented IPv6 packet unless it's the initial fragment (that's what we do for IPv4). svn path=/trunk/; revision=1882
2000-04-20Microsoft Proxy protocol dissector from Jeff Foster.Guy Harris4-2/+1366
svn path=/trunk/; revision=1881
2000-04-19Greg Kilfoyle <gregk@redback.com>'s change for detection of compressedGilbert Ramirez2-10/+19
A/C PPP fields. Get rid of spurious printf() in packet.c. svn path=/trunk/; revision=1880
2000-04-18 Fix the checksum option decoding in the CC/CR TPDU variable part.Laurent Deniel1-3/+3
svn path=/trunk/; revision=1879
2000-04-18In the NCP dissector, construct conversations using the source andGuy Harris4-76/+90
destination network-layer addresses of the servers, and the NCP connection number, and use the pointer to the conversation and the request sequence number as the hash key for the table of requests used to find the request for a given response; this lets it work with NCP-over-TCP and NCP-over-UDP. Register the NCP dissector with the UDP dissector in the handoff registration routine for NCP, just as we do with the TCP dissector. svn path=/trunk/; revision=1878
2000-04-17Remove optopt and opterr, two unused variables.Gilbert Ramirez1-2/+2
svn path=/trunk/; revision=1877
2000-04-17Don't rely on the "tree" argument being null as an indication that thisGuy Harris1-18/+21
is the first time we've looked at a packet; it may not be null if, for example, we're doing read filtering, or if we're colorizing packets, or if there are plugins active, or if this is Tethereal with the "-V" flag. Instead, use the new "visited" flag. svn path=/trunk/; revision=1876
2000-04-17Tweak a comment.Guy Harris1-2/+2
svn path=/trunk/; revision=1875
2000-04-17Make "decode_tcp_ports()" and "decode_udp_ports()" more closely resembleGuy Harris2-61/+55
one another, put the comments that explain what they do in front of them, and clean up the indentation. svn path=/trunk/; revision=1874
2000-04-17Register an "osinl" dissector table for ISO/IEC TR 9577 NLPID values,Guy Harris7-28/+44
and have dissectors for protocols that run at the OSI network layer register themselves with it using "dissector_add()". Make various dissectors static if they can be, and remove from header files declarations of those dissectors. svn path=/trunk/; revision=1873
2000-04-17Register a "llc.dsap" dissector table for 802.2 LLC, and have dissectorsGuy Harris11-96/+147
for protocols that run inside 802.2 LLC register themselves with it using "dissector_add()". Make various dissectors static if they can be, and remove from header files declarations of those dissectors. svn path=/trunk/; revision=1872
2000-04-16Make various dissectors static if they can be, and get rid of any headerGuy Harris9-60/+15
files that no longer contain any information as a result of that change. svn path=/trunk/; revision=1871
2000-04-16Register an "ip.proto" dissector table for IPv4, and have dissectors forGuy Harris16-161/+125
protocols that run inside IPv4 register themselves with it using "dissector_add()". Make various dissectors static if they can be, and get rid of any header files that no longer contain any information as a result of that change. svn path=/trunk/; revision=1870
2000-04-16Register a "ppp.protocol" dissector table for PPP, and have dissectorsGuy Harris9-58/+97
for protocols that run inside PPP register themselves with it using "dissector_add()". svn path=/trunk/; revision=1869
2000-04-16 Remove TODO comments about NSAP and ISIS decodings sinceLaurent Deniel2-16/+2
this is implemented now. svn path=/trunk/; revision=1868
2000-04-16Ralf Schneider's changes to enhance to OSI CLNP, CLTP, and ISIS supportGuy Harris1-1/+4
and to add OSI ESIS support. svn path=/trunk/; revision=1867
2000-04-16Fix up the allocation stuff for the per frame data ...Richard Sharpe1-4/+31
svn path=/trunk/; revision=1866
2000-04-15Ralf Schneider's changes to enhance to OSI CLNP, CLTP, and ISIS supportGuy Harris19-1999/+3253
and to add OSI ESIS support. svn path=/trunk/; revision=1865
2000-04-15In the COTP dissector, don't forcibly set the protocol to COTP if weGuy Harris1-7/+10
find a COTP PDU - we might have called a subdissector, which would have set the protocol itself. Do so only if we've not seen any DT PDUs on which we've called a subdissector. svn path=/trunk/; revision=1864
2000-04-15Get rid of the "start" field in the private data for RADCOM, i4btrace,Guy Harris4-40/+12
and nettl captures - a "start" field is used for capture files where the time stamps on packets are relative to some initial time stamp, e.g. the time the capture started, but those file formats use absolute time stamps, so no "start" field is needed. Make the "this is an HP-UX 11.x nettl capture" flag a member of the private data structure for a nettl capture, rather than a global - it's per-capture-file state. Once the "start" field is removed from the RADCOM private data structure, there's nothing left, so eliminate the private data structure. svn path=/trunk/; revision=1863
2000-04-15Graham Bloice's Win32 icon for Ethereal and Win32 resource-compilerGuy Harris1-0/+1
files to add version/copyright/etc. information to Win32 executables. svn path=/trunk/; revision=1862
2000-04-15Alas, one can't count on CLNP packets with a destination NSEL of 0x21Guy Harris1-17/+31
being COTP packets, so we make "dissect_cotp_internal()" return FALSE if it saw no valid COTP packets, and return TRUE and set the COL_PROTOCOL field to COTP if it saw at least one valid COTP packet, and have "dissect_cotp()" dissect the packet as raw data if "dissect_cotp_internal()" returns FALSE (for the benefit of callers such as X.25). svn path=/trunk/; revision=1861
2000-04-15If an NPDU contains multiple concatenated TPDUs, dissect all of them.Guy Harris1-102/+125
Fix up some spacing problems in the INFO field of CLNP packets. Dissect only the payload of DT and MD NPDUs as COTP; the payload of other packets isn't to be so dissected (ER NPDUs are like ICMP error packets, in that they contain the network-layer header and zero or more bytes of the payload of the offending packet, for example). svn path=/trunk/; revision=1860
2000-04-15Graham Bloice's Win32 icon for Ethereal and Win32 resource-compilerGuy Harris7-9/+128
files to add version/copyright/etc. information to Win32 executables. svn path=/trunk/; revision=1859
2000-04-15Changes from Richard Sharpe to improve the display of FTP data.Guy Harris1-3/+4
svn path=/trunk/; revision=1858
2000-04-14On Win32, build Ethereal as a Windows-subsystem program rather than aGuy Harris2-7/+27
console-subsystem program, so that when not run from a shell window it doesn't cause a shell window to be popped up. (Yes, this means that any messages it prints, when not popped up from a shell window, get lost, but the same is true of Ethereal on UNIX/X.) Trick for doing this shamelessly stolen from the Win32 port of the GIMP. We do not want to build Tethereal or editcap as Windows-subsystem programs, however, so we take the "/SUBSYSTEM" flag out of LDFLAGS and put it into the link commands for Ethereal, Tethereal, and editcap. svn path=/trunk/; revision=1857
2000-04-14Register all the AFS ports in "proto_reg_handoff_rx()", rather thanGuy Harris3-13/+20
checking for them in the UDP dissector. svn path=/trunk/; revision=1856
2000-04-14RFC 1058, on RIP V1, says:Guy Harris3-11/+13
Specific queries and debugging requests may be sent from ports other than 520, but they are directed to port 520 on the target machine. and RFC 2453, on RIP V2, says: Specific queries may be sent from ports other than the RIP port, but they must be directed to the RIP port on the target machine. so there is no requirement that RIP packets have 520 as both source and destination port numbers. It's therefore OK to register it as the dissector for UDP port 520 - no need to handle it specially in the UDP dissector as a reminder to make it check both source and destination ports - so we do so. svn path=/trunk/; revision=1855
2000-04-14Change dfilter_apply() to 4-argument function. 4th argument is not yet used,Gilbert Ramirez7-18/+22
but will be in the future, and it's easier for me to keep my local branch in sync with the source with the calls to dfilter_apply() already modified tothe 4-arg format. Add a CPP macro to ipv4.h to define ipv4_addr_ne(). Use it in dfilter.c svn path=/trunk/; revision=1854
2000-04-13Missed a few things in the DHIS to DDTP name change.Olivier Abad1-4/+4
svn path=/trunk/; revision=1853
2000-04-13Renamed packet-dhis to packet-ddtp.Olivier Abad2-5/+5
svn path=/trunk/; revision=1852
2000-04-13Renamed the DHIS protocol to DDTP (Dynamic DNS Tools Protocol).Olivier Abad3-262/+260
svn path=/trunk/; revision=1851
2000-04-13Consolidate flags in struct frame_data, and add "visited" flag. UseGilbert Ramirez10-39/+41
it in SOCKS dissector. (Okay, how many times am I going to modify packet.h today, forcing you to re-compile everything? :-) svn path=/trunk/; revision=1850
2000-04-13Re-insert 4 #include lines to get capture_*() function prototypes.Gilbert Ramirez1-1/+5
svn path=/trunk/; revision=1849
2000-04-13Change the sub-dissector handoff registration routines so that theGilbert Ramirez22-163/+179
sub-dissector table is not stored in the header_field_info struct, but in a separate namespace. Dissector tables are now registered by name and not by field ID. For example: udp_dissector_table = register_dissector_table("udp.port"); Because of this different namespace, dissector tables can have names that are not field names. This is useful for ethertype, since multiple fields are "ethertypes". packet-ethertype.c replaces ethertype.c (the name was changed so that it would be named in the same fashion as all the filenames passed to make-reg-dotc) Although it registers no protocol or field, it registers one dissector table: ethertype_dissector_table = register_dissector_table("ethertype"); All protocols that can be called because of an ethertype field now register that fact with dissector_add() calls. In this way, one dissector_table services all ethertype fields (hf_eth_type, hf_llc_type, hf_null_etype, hf_vlan_etype) Furthermore, the code allows for names of protocols to exist in the etype_vals, yet a dissector for that protocol doesn't exist. The name of the dissector is printed in COL_INFO. You're welcome, Richard. :-) svn path=/trunk/; revision=1848
2000-04-13Add last minute changes.Gilbert Ramirez2-2/+9
Fix statement about Win32 version not capturing in README. svn path=/trunk/; revision=1846
2000-04-13Remove extra space before "Port" in proto_tree label.Gilbert Ramirez2-3/+4
Add packet-socks.obj to Makefile.nmake. svn path=/trunk/; revision=1845
2000-04-13As we always have to have a filter string (thanks to a bug in the LinuxGuy Harris1-2/+2
libpcap), if we have a null filter string we report it as "no filter", just as we would do for a null filter string pointer. svn path=/trunk/; revision=1844
2000-04-13Update to reflect the current state of the Win32 libpcap.Guy Harris1-10/+18
svn path=/trunk/; revision=1843
2000-04-13Set the COL_PROTOCOL column to "ISIS" in the ISIS dissector, rather thanGuy Harris2-27/+19
in its caller. Set the COL_PROTOCOL column to "COTP" in the COTP dissector, rather than in the dissectors it calls, so that it's done for all frames we hand to that dissector. Set the COL_INFO field for COTP packets we don't dissect because the length indicator is zero, or the frame is too short, or the PDU type is bogus. svn path=/trunk/; revision=1842
2000-04-13Add CLNP PDU types other than DT and ER.Guy Harris1-30/+84
Fix the TPDU code numeric value to be "0x%x" rather than "Ox%x". Add a COL_INFO field for CLNP PDUs whose payload we don't dissect as COTP. Don't dissect segments other than the first derived PDU of a segmented CLNP PDU (just as we do with fragments other than the first fragment of a fragmented IP datagram). svn path=/trunk/; revision=1841
2000-04-13Fix a typo.Guy Harris1-2/+2
svn path=/trunk/; revision=1840
2000-04-13Fix a typo.Guy Harris1-43/+56
Use "%u" rather than a hex format to print length values and segment offsets, and use "%u" rather than "%d" to print unsigned values. In the CLNP dissector, chop off the payload and captured-payload lengths based on the segment length (along the lines of what we do for IP). svn path=/trunk/; revision=1839
2000-04-13For I and S frames, the LLC control field is 2 bytes, so make itGuy Harris1-2/+2
FT_UINT16 (that won't break things for U frames, where it's 1 byte). svn path=/trunk/; revision=1838
2000-04-12Jeff Foster's SOCKS dissector, support for associating dissectorsGuy Harris9-101/+1344
with conversations and having TCP and UDP check whether a packet is part of a conversation with a dissector and, if so, using that dissector on the conversation, and "ethertype()"-style support for allowing a dissector to call a sub-dissector via the same path that the TCP and UDP dissectors use, based on port numbers supplied by that dissector. svn path=/trunk/; revision=1837
2000-04-12Build tethereal and editcap on Win32.Gilbert Ramirez7-14/+78
Add RCS ID tags to Makefile.nmake's. svn path=/trunk/; revision=1836
2000-04-12A further update from Mark Muhlestein.Guy Harris1-2/+10
svn path=/trunk/; revision=1835
2000-04-12Move to version 0.8.7.Gilbert Ramirez3-8/+30
I'm going to go ahead and install the plugins in a "0.8.7" directory, and continue incrementing the micro number until the minor version changes to 9. Then for all of 0.9.x, the plugin directory will be "0.9" until the ABI changes again. This should cause less confusion, even if it means the plugins don't change between 0.8.6 and 0.8.7. svn path=/trunk/; revision=1834
2000-04-12Ben Fowler's additions to exclude more files from "cvs diff" and theGuy Harris1-0/+3
like. svn path=/trunk/; revision=1833
2000-04-12Mark Muhlestein's code to support CIFS-atop-TCP (without the NetBIOSGuy Harris3-27/+71
Session Service). svn path=/trunk/; revision=1832