aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2000-12-01A much more complete LDP dissector.Richard Sharpe1-31/+220
Still more work to do though, as I want to dissect the various message types correctly, and to dissect TLVs much more as well. The dissector currently handles multiple messages in a PDU, as the trace file I have has some of those. I think that the equipment that generated the LDP trace I have has a bug. It seems to think that TLVs must be alligned on 4-byte boundaries, while the spec (draft) says that there are no alignment requirements :-) Don't know what generated the trace :-) svn path=/trunk/; revision=2726
2000-12-01NFS V4 support, from Mike Frisch.Guy Harris4-6/+1837
svn path=/trunk/; revision=2725
2000-11-30Step-wise improvement on this thing ... next to dissect each message typeRichard Sharpe1-53/+105
more fully. Apparently, LDP allows multiple messages per PDU. Has anyone seen such an implementation? svn path=/trunk/; revision=2724
2000-11-30Small code optimization to make it possible to compile on ReliantUNIX.Uwe Girlich1-59/+9
svn path=/trunk/; revision=2723
2000-11-30Fix up the handling of type/length fields in ATMARP.Guy Harris1-30/+116
svn path=/trunk/; revision=2722
2000-11-30GVRP dissector, from Kevin Shi.Guy Harris7-4/+435
svn path=/trunk/; revision=2721
2000-11-30More work in progress on the Label Distribution Protocol dissector ...Richard Sharpe1-12/+150
Bit more work to do, and a list of TLV values, and I am away :-) svn path=/trunk/; revision=2720
2000-11-30In "tvb_find_guint8()" and "tvb_pbrk_guint8()", correctly set the limitGuy Harris1-4/+14
of the search if the caller-supplied limit goes past the end of the tvbuff - the limit should just be what remains in the tvbuff after the specified starting offset. In "tvb_find_line_end_unquoted()", after searching for the next interesting character, check the value we got back from that search, in "char_offset", not whatever happens to be in "cur_offset", to see if we found a character. svn path=/trunk/; revision=2719
2000-11-30In tvb_set_reported_length(), don't assert onGilbert Ramirez1-2/+4
reported_length <= tvb->reported_length, but throw a ReportedBoundsError if that condition is not met. svn path=/trunk/; revision=2718
2000-11-30Rename "proto_reg_handoff_iee380211()"[sic] toGuy Harris1-3/+3
"proto_reg_handoff_wlan()", to match "proto_register_wlan()". Call it "IEEE 802.11 wireless LAN", not "Wireless ethernet" - that makes it clearer what type of wireless LAN it is (which *isn't* Ethernet at the MAC layer, although I suspect many of the drivers make it look like Ethernet to the rest of the system). svn path=/trunk/; revision=2717
2000-11-30Clean up the handling of the RTSP payload a bit.Guy Harris1-6/+7
svn path=/trunk/; revision=2716
2000-11-29Add LDP dissector to NMake makefile.Gilbert Ramirez1-1/+2
svn path=/trunk/; revision=2715
2000-11-29Initial coding of the dissector for the Label Distribution Protocol.Richard Sharpe2-1/+254
It registers the same dissector for the LDP port for both TCP and UDP. Still a lot of work to do, but we can see the header now. svn path=/trunk/; revision=2714