aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2000-12-23Report the holding time of a CLNP packet, in seconds, as seconds plusGuy Harris1-5/+14
fractions of a second (the resolution is 1/2 second). In the bitfield breakdown of the flags/type field of a CLNP PDU, report the PDU type as a name rather than as an abbreviation. svn path=/trunk/; revision=2776
2000-12-23Show the type/flags byte of a CLNP PDU with a subtree dissecting theGuy Harris1-2/+21
bits. svn path=/trunk/; revision=2775
2000-12-23On Linux, try to open the "any" device and, if we can open it, add it toGuy Harris1-1/+18
the end of the list of interfaces on which you can capture. svn path=/trunk/; revision=2774
2000-12-23Dissect the payload of a CLNP ER packet as a CLNP packet, so you knowGuy Harris1-4/+22
what the offending packet was. svn path=/trunk/; revision=2773
2000-12-23Add support for the DLT_LINUX_SLL capture type in the current CVSGuy Harris7-9/+341
version of libpcap; that's used on Linux for captures on the "any" device (which captures from all interfaces simultaneously) and for captures on devices whose link-layer type libpcap doesn't (yet) support natively. The spanning tree code, when checking for GV{M,R,...}P packets, must first check whether the link-layer destination address is, in fact, an Ethernet-style address; on Linux cooked captures, there *is* no destination address, so it's of type AT_NONE, not AT_ETHER. svn path=/trunk/; revision=2772
2000-12-22fix '#endif FRED' to '#endif /* FRED */'Nathan Neulinger1-2/+2
svn path=/trunk/; revision=2771
2000-12-22added a couple of msg types - in particular - ERROR responseNathan Neulinger1-2/+14
svn path=/trunk/; revision=2770
2000-12-22added tethereal_static targetNathan Neulinger1-2/+17
svn path=/trunk/; revision=2769
2000-12-22Enable FT_BYTES dfiltering, from Ed Warnicke.Gilbert Ramirez6-28/+80
svn path=/trunk/; revision=2768
2000-12-20Bug fixes from Ed Warnicke.Gilbert Ramirez1-10/+40
svn path=/trunk/; revision=2767
2000-12-19Call CHECK_DISPLAY_AS_DATA() for proto_ftp_data as well.Gilbert Ramirez1-1/+3
svn path=/trunk/; revision=2766
2000-12-17X.25 over TCP support, from Paul Ionescu.Guy Harris4-3/+104
Also, update his e-mail address. svn path=/trunk/; revision=2765
2000-12-17Patches to prevent problems under Windows when time formats are negative.Richard Sharpe1-8/+15
Make sure that if _gtime is null, a bad format message returned. Also noticed that I am going to have to do something about Unicode strings soon and the SMBopenX dissect is slightly wrong ... Oh well, it is the Xmas break soon :-) No rest for the Wicca'd (please don't interpret that as a statement of my religious affiliation, it is just a cute saying :-) svn path=/trunk/; revision=2764
2000-12-15Match Selected works better with FT_STRING variables.Gilbert Ramirez1-6/+11
From Ed Warnicke <hagbard@physics.rutgers.edu> svn path=/trunk/; revision=2763
2000-12-15Add the relative time to the frame tree, at the request of Manfred Young.Gerald Combs1-1/+13
svn path=/trunk/; revision=2762
2000-12-15Check the checksum on GRE packets, if possible and if the ChecksumGuy Harris1-7/+32
Present flag is set. svn path=/trunk/; revision=2761
2000-12-14Check the checksum on OSPF packets, if possible.Guy Harris1-3/+44
svn path=/trunk/; revision=2760
2000-12-14Check the checksum on ICMPv6 packets, if possible.Guy Harris1-5/+45
svn path=/trunk/; revision=2759
2000-12-14Fix a typo in a comment.Guy Harris1-2/+2
svn path=/trunk/; revision=2758
2000-12-14Set the "fragmented" field of the "packet_info" structure based onGuy Harris1-1/+5
whether the packet has any fragmentation headers or not. svn path=/trunk/; revision=2757
2000-12-14Include winsock.h on windows so that htons will be defined.Gilbert Ramirez1-1/+5
svn path=/trunk/; revision=2756
2000-12-14Mobile IPv6 support, from Martti Kuparinen.Guy Harris4-2/+110
svn path=/trunk/; revision=2755
2000-12-14PPP patches from Burke Lau to:Guy Harris6-4/+249
add FCS checking; support Cisco HDLC format in the PPP dissector; handle MPLS-over-PPP. svn path=/trunk/; revision=2754
2000-12-13Added support for Router-Alert IP option (RFC2113)Ashok Narayanan1-2/+25
svn path=/trunk/; revision=2753
2000-12-13Don't check the checksum of ICMP datagrams that are fragmentedGuy Harris1-5/+4
(unlikely, perhaps even forbidden, but not impossible). svn path=/trunk/; revision=2752
2000-12-13Add code to check the checksums of TCP segments and UDP datagrams;Guy Harris8-59/+373
replace the existing checksummer with a modified version of the BSD checksumming code. Add a flag to the "packet_info" structure to indicate that a packet is the first fragment of a fragmented datagram, so that the checksummers won't try to checksum those. (It doesn't seem to add a lot of CPU overhead, so we don't introduce a flag to disable it, yet. Further checks may be necessary to see whether the overhead is just swamped by other overheads when scanning through a capture dissecting all frames, or if it truly is negligible.) Make the Boolean preference option controlling whether to make the top-level protocol tree item for TCP display a packet summary static to the TCP dissector (it doesn't need to be accessible outside the TCP dissector). svn path=/trunk/; revision=2751
2000-12-12print message ID in isakmp headerJun-ichiro itojun Hagino1-2/+4
svn path=/trunk/; revision=2750
2000-12-12remove incorrect bound check. the check can fail on legal packet, at theJun-ichiro itojun Hagino1-1/+3
very end of the packet. may need to revisit. svn path=/trunk/; revision=2749
2000-12-09Fix for pppdump buffer-overflow check.Gilbert Ramirez2-5/+16
From Daniel Thompson <daniel.thompson@st.com> svn path=/trunk/; revision=2748
2000-12-08When printing an address mask in hex, zero-pad it, don't blank-pad it.Guy Harris1-2/+2
svn path=/trunk/; revision=2747
2000-12-06Break out the bits in the NBIPX "connection control" field.Guy Harris1-3/+24
svn path=/trunk/; revision=2746
2000-12-04Fix egregious error with AF_ types. I relied on a Linux header file ratherRichard Sharpe1-7/+22
than checking RFC1700. svn path=/trunk/; revision=2745
2000-12-04Add a "col_clear()" routine, to clear a column; it appears (and itGuy Harris6-84/+109
doesn't just seem to be a profiling artifact) that, at least on FreeBSD 3.4, it's significantly more efficient to clear out a column by stuffing a '\0' into the first byte of the column data than to do so by copying a null string (I guess when copying one byte, the fixed overhead of the procedure call and of "strcpy()" is significant). Have the TCP dissector set the Protocol column, and clear the Info column, before doing anything that might cause an exception to be thrown, so that if we *do* get an exception thrown, the frame at least shows up as TCP. Instead of, in the TCP dissector, constructing a string and then stuffing it into the Info column, just append to the Info column, which avoids one string copy. Pass a "frame_data" pointer to dissectors for TCP and IP (and PPP) options, so they can use it to append to the Info column. svn path=/trunk/; revision=2744
2000-12-04Don't loop infinitely if we see a Host Address or unknown ForwardingGuy Harris1-1/+16
Equivalence Class. Set "pinfo->current_proto", so that if we run past the end of the data the problem is noted as being with LDP. svn path=/trunk/; revision=2743
2000-12-03Update a comment.Guy Harris1-3/+3
svn path=/trunk/; revision=2742
2000-12-03Declare "proto_malformed" in "packet-frame.h", as "packet-frame.c"Guy Harris2-6/+6
exports it. Make the pointer that points to the GMemChunk for per-frame data static to "epan/packet.c", as it's not used outside "epan/packet.c". svn path=/trunk/; revision=2741
2000-12-03Nothing in "packet.c" uses the global "cfile", so there's no need toGuy Harris1-4/+1
declare it there. svn path=/trunk/; revision=2740
2000-12-03Pull the code to set the fields in the "cfile.cinfo" structure into aGuy Harris4-18/+24
common routine to initialize a "column_info()" structure, shared by Ethereal and Tethereal. svn path=/trunk/; revision=2739
2000-12-03Put the "-s" flag into the usage message for editcap.Guy Harris1-3/+5
svn path=/trunk/; revision=2738
2000-12-03"dissect_ppp()" isn't called directly from outside of "packet-ppp.c", soGuy Harris1-2/+2
make it static. svn path=/trunk/; revision=2737
2000-12-03Add the standard "CHECK_DISPLAY_AS_DATA()" call.Guy Harris1-1/+4
svn path=/trunk/; revision=2736
2000-12-03Register "dissect_nbipx()", and have the IPX dissector look up itsGuy Harris4-41/+15
handle and call it through the handle. Make it static; this renders "packet-nbipx.h" unnecessary. Get rid of the "tvb_compat()" call in the IPX dissector - it calls all dissectors through handles or lookup tables, and thus any backwards-compatibility stuff is done by the code in libethereal. svn path=/trunk/; revision=2735
2000-12-03Stealing time again to compulsively code this beast.Richard Sharpe1-2/+107
Still more TLVs to code ... svn path=/trunk/; revision=2734
2000-12-02Dissect Common Hello Params TLV ...Richard Sharpe1-10/+82
Still more work to do though ... svn path=/trunk/; revision=2733
2000-12-02Add the relevant "CHECK_DISPLAY_AS_DATA()" call.Guy Harris1-1/+3
svn path=/trunk/; revision=2732
2000-12-02The second argument to "proto_register_protocol()" is a name to be usedGuy Harris1-2/+2
in filters, and should be all-lower-case. svn path=/trunk/; revision=2731
2000-12-02Some tvbuffified dissectors weren't setting "pinfo->current_proto", soGuy Harris9-10/+28
that if they threw an exception, the wrong protocol would be blamed. Add the missing assignments. Clean up the extraction of the null-encapsulation header. svn path=/trunk/; revision=2730
2000-12-02Clean up the handling of MIME headers.Guy Harris1-39/+195
Handle the Content-Length: MIME header, so that, if there's a Content-Length: header, we only process as RTSP payload the amount of data specified by that header. Handle frames with more than one RTSP message in them (the previous change allows us to do so). svn path=/trunk/; revision=2729
2000-12-01Comment out some unused variables.Gilbert Ramirez1-4/+4
svn path=/trunk/; revision=2728
2000-12-01Fix one small type WRT Forwarding Equivalence Classes and handle theRichard Sharpe1-1/+1
illegal padding by trying to skip it. svn path=/trunk/; revision=2727