Commit Graph

16836 Commits

Author SHA1 Message Date
Gerald Combs c919d31d09 Add canary values after each allocation. If our canaries values don't
match when we call {ep|se}_free_all(), throw an assertion.

svn path=/trunk/; revision=16984
2006-01-09 23:11:40 +00:00
Jaap Keuter d5649bc2de Add UDP-Lite packets to the UDP statistics
svn path=/trunk/; revision=16983
2006-01-09 23:00:20 +00:00
Ulf Lamping 37d7d13a80 complete redesign of this manpage
svn path=/trunk/; revision=16982
2006-01-09 21:22:13 +00:00
Ulf Lamping 530861faad add a new command line option "chop", which will simply cut off the last "n" bytes from each packet. This is required (at least by me) when converting from PacketGrabber files which sometimes seem to include some additional bytes.
sort the usage string, so it will be ordered alphabetically

replace appearances of "frame" and "record" with "packet"

svn path=/trunk/; revision=16981
2006-01-09 21:14:32 +00:00
Anders Broman c0d17b8845 Use col_set_fence(), not to owerwrite colinfo if more than one Camel pdu is in one TCAP message.
svn path=/trunk/; revision=16980
2006-01-09 21:12:22 +00:00
Gerald Combs efe2f4f563 Add more data types from tds.h. Fix unknown data skipping for some data
types. Fixup whitespace.

svn path=/trunk/; revision=16979
2006-01-09 17:44:02 +00:00
Jörg Mayer 5fb7e183fd First attempt to decode CCX type 4 IEs (QoS?)
svn path=/trunk/; revision=16978
2006-01-09 07:41:26 +00:00
Anders Broman baa9b5c93b Add dissection of more IE:s
svn path=/trunk/; revision=16977
2006-01-07 13:07:04 +00:00
Ulf Lamping 788cb87199 fix bug #654: precise the link to the capture filter syntax (tcpdump man page "expression")
svn path=/trunk/; revision=16976
2006-01-07 11:28:16 +00:00
Anders Broman 44784a9fe4 From Olivier Jacques,
Here is a patch that:
- Replaces the arrow labels by the beginning of the COLINFO column if available (usually containing message names/types).
- Change the comment area to be "protocol: colinfo_content"
From Anders
Added ID tag

Camel
Use col_set_str to remove TCAP info in col_info
 


svn path=/trunk/; revision=16975
2006-01-07 11:10:50 +00:00
Ulf Lamping 4e973150ea fix bug #660: we must alphabetically sort columns 0&1, not 0&2
svn path=/trunk/; revision=16974
2006-01-07 11:08:07 +00:00
Guy Harris 6f38a35500 Add some inflateEnd() calls to free up stuff associated with a stream
before freeing the stream; bug 659 mentioned one of them, but there
appear to be others.

svn path=/trunk/; revision=16973
2006-01-07 03:36:37 +00:00
Ulf Lamping 15f9051029 move output_to_pipe flag from tethereal's loop_data into capture_opts, so it can be used by dumpcap (capture_loop.c) as well
svn path=/trunk/; revision=16972
2006-01-07 01:29:45 +00:00
Ulf Lamping 76bbd4181b don't claim to be an erf file if it isn't (e.g. if the file_read call fails)
I don't know if this is the right way to fix it, but it seems at least better than before

svn path=/trunk/; revision=16971
2006-01-07 01:19:29 +00:00
Ulf Lamping 8a85fa705a add a new suite of file I/O test cases
svn path=/trunk/; revision=16970
2006-01-07 01:15:35 +00:00
Ulf Lamping b82d886798 fix a test case and some comments
svn path=/trunk/; revision=16969
2006-01-07 01:14:29 +00:00
Jörg Mayer 1e4d8c9170 Don't link dumpcap with -lm
svn path=/trunk/; revision=16968
2006-01-07 00:37:58 +00:00
Gerald Combs 20b00dd581 Don't dereference a null pointer. Fixes bug 651. Update the release notes
accordingly.

svn path=/trunk/; revision=16967
2006-01-06 20:03:52 +00:00
Jörg Mayer deeb41e08b Olivier Jacques:
Here is a very small patch against current SVN for a mem free bug in
flow graph feature.


svn path=/trunk/; revision=16966
2006-01-06 10:37:56 +00:00
Jörg Mayer 735ba01eb1 Bill Meier: More spelling fixes
svn path=/trunk/; revision=16965
2006-01-06 03:26:45 +00:00
Ulf Lamping 72560c5d1d minor cleanup
svn path=/trunk/; revision=16964
2006-01-06 01:11:31 +00:00
Ulf Lamping 0a37e62332 add a new section about checksums
svn path=/trunk/; revision=16963
2006-01-06 01:08:15 +00:00
Ulf Lamping 161d4d7efd code cleanup: use "-" for all places, where stdin/stdout is meant
tethereal internally converted the stdout capture filename "-" into "" which doesn't make any real sense and only complicated things.

To make things even more confusing, wiretap expected "" for dump output and "-" for offline reading ...

svn path=/trunk/; revision=16962
2006-01-06 01:06:46 +00:00
Guy Harris 6919c9c80f Catch a combination of "-S" and "-w -" - you'll just get
non-human-readable and non-machine-readable garbage from that
combination.

Use an exit code of 1 for command-line argument syntax errors in some
more cases.

svn path=/trunk/; revision=16961
2006-01-05 23:44:16 +00:00
Ulf Lamping 4f3c493e1d cleanup of exit_main() declaration
svn path=/trunk/; revision=16960
2006-01-05 22:27:25 +00:00
Ulf Lamping eae47c79c1 add a test case: writing the capture file to stdout: "-w -"
svn path=/trunk/; revision=16959
2006-01-05 22:26:05 +00:00
Ulf Lamping 548d44c041 Win32: set stdout to binary mode in wtap_dump_fdopen(), so tethereal is also able to write capture files to stdout using -w -
svn path=/trunk/; revision=16958
2006-01-05 22:24:09 +00:00
Jörg Mayer 368f7d87c7 Steve Karg:
I fixed fBACnetPropertyValue in the BACnet packet-bacapp.c dissector
where an optional decoding for Priority wasn't being optional.  A valid
packet with a confirmedEventNotification that did not have the optional
priority made this bug evident by indicating Malformed Packet.

Me:
Fixed some signedness warnings, #if 0'ed out unused functions.

svn path=/trunk/; revision=16957
2006-01-05 18:53:22 +00:00
Jörg Mayer f9a57f08d1 Bill Meier:
Spelling fixes.

svn path=/trunk/; revision=16956
2006-01-05 13:01:08 +00:00
Jörg Mayer 1cd8e8ca0c Reminder to clean up in case of ctrl-c etc
svn path=/trunk/; revision=16954
2006-01-05 12:43:35 +00:00
Jörg Mayer 5fb7840b04 - Undo the COL_PROTOCOL misuse introduced with rev 15115.
- Start dissection of Aironet vendor specific stuff.

svn path=/trunk/; revision=16952
2006-01-05 11:28:40 +00:00
Jörg Mayer 292eb61545 Change SVN version from date to revision
svn path=/trunk/; revision=16951
2006-01-05 09:20:08 +00:00
Jörg Mayer 30adb1d8f7 Fix for http://bugs.ethereal.com/bugzilla/show_bug.cgi?id=656
Incorrect decoding of IPMI System Software IDs


svn path=/trunk/; revision=16950
2006-01-05 08:52:06 +00:00
Jörg Mayer 3f8354909c Jaap Keuter:
I've captured a Direct Cable Connection on a WinXP machine (see
http://wiki.ethereal.com/SampleCaptures?action=AttachFile&do=get&target=PPP-config.cap).
The thing is that the capture lib(?) creates fake Ethernet headers for
the PPP LCP and NCP packets. These contain " SEND#" or " RECV#" as both
source and destination address, where "#" seems to be a session number
based on modem control signals(?).

Anyway, to make more sense of the direction these PPP frames are going
I've added them to the address resolution file, as per attached patch.


svn path=/trunk/; revision=16949
2006-01-05 08:33:53 +00:00
Jörg Mayer 131241e40a Forgot to add packet-oicq.c
svn path=/trunk/; revision=16948
2006-01-05 08:31:37 +00:00
Jörg Mayer 9d62ccefea Jaap Keuter:
>From the Debian bug database this bug:
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=342588

  The rates information element with zero tag length leads to uninitialised
  memory access, presenting bogus data for the element. The attached patch
  takes care of that.

Me:
  One space in the map listing is enough.

svn path=/trunk/; revision=16947
2006-01-05 08:23:17 +00:00
Ulf Lamping 8fcb1323e7 interface index 0 is invalid (starting with 1), check if it's rejected correctly
svn path=/trunk/; revision=16946
2006-01-05 00:29:32 +00:00
Ulf Lamping e897f0a805 add the possibility for a prepare step before doing the actual test step
svn path=/trunk/; revision=16945
2006-01-05 00:28:10 +00:00
Ulf Lamping 270561dd09 add missing keys 4-9
svn path=/trunk/; revision=16944
2006-01-05 00:26:37 +00:00
Guy Harris fe31c14685 Set "ld.save_file" when we start capturing, so we can report capture
errors.

Display output errors with either 'the file "XXX"' or 'the standard
output".

svn path=/trunk/; revision=16943
2006-01-04 09:49:18 +00:00
Guy Harris 3aef4f9dc6 Distinguish between "writing to the standard output" and "writing to a
pipe"; there's not much point in writing to the standard output if
you're *not* writing to a pipe, but....

"-b" doesn't necessarily imply a ring buffer - you can just request that
Tethereal keep switching files forever.

Standardize on an exit status of 1 for all those errors (there's a
sort-of convention, adhered to by many apps, that an exit status of 1
means a command-line argument error (as in "illegal flag" or "you
combined two flags that don't make sense together") and an exit status
of 2 is for other "run-time" errors.

svn path=/trunk/; revision=16942
2006-01-04 03:07:16 +00:00
Guy Harris d0a1b97ee7 Handle a null-string file name in "capture_loop_open_output()" - that's
what indicates that we're supposed to write to the standard output
(Tethereal turns "-" into "").

svn path=/trunk/; revision=16941
2006-01-04 02:50:56 +00:00
Jörg Mayer 4f7175aa8b Du Bingyao:
New OICQ dissector.

Me:
        removed some not needed variables and some unneeded includes.

svn path=/trunk/; revision=16940
2006-01-03 23:59:13 +00:00
Jörg Mayer 7719a3b803 Jaap Keuter:
Browsing through the wishlist I came across this old one by Steve Brown:
------8<------
The GTK1 UI wordwraps assembled TCP streams, the GTK2 UI doesn't, but
should also. Not wrapping makes reading any protocol that lacks linebreaks
virtually impossible (XML, etc.) as it all ends up on one line. I'm tired
of having to install the GTK1 UI :P
------8<------
It seems like a simple request. The oneliner patch implements this wish.
Maybe someone feels the need to make it a preference or selectable.


svn path=/trunk/; revision=16939
2006-01-03 23:45:58 +00:00
Jörg Mayer 056c408531 __attribute__ noreturn can only be used in function declations.
svn path=/trunk/; revision=16938
2006-01-03 23:43:24 +00:00
Jörg Mayer 74dc6c2d5f Jon Oberheide:
Ethereal does not take into account the protocol field of the IP header
when reassembling fragmented packets as specified in RFC791.  This can
lead to incorrect reassembly of packets with an identical src address,
dst address, and identification number, but with differing protocols.

The attached patch includes the protocol in the generation of the id
used to index into the reassembly table.


svn path=/trunk/; revision=16937
2006-01-03 23:23:46 +00:00
Jörg Mayer fc2169de53 Found by henning.treu
doc/README.malloc and  doc/README.stats_tree were missing from the
distribution.


svn path=/trunk/; revision=16936
2006-01-03 23:17:49 +00:00
Guy Harris 21c0c928b7 Fix a typo in a comment.
svn path=/trunk/; revision=16935
2006-01-03 22:49:58 +00:00
Anders Broman d74d5995e2 From Martin Mathieson
I keep finding finding traces that show new problems with this code.  This patch fixes 2 problems:
- I've seen RTCP frames containing a SR and RR with identical source info and the lsr matching the current MSW/LSW timestamp of the SR.  Don't want to do calculation without real roundtrip info
- calculating the gap between the 2 frames was still wrong (sigh)

svn path=/trunk/; revision=16934
2006-01-03 16:24:56 +00:00
Anders Broman 2c144a330c From Ravi Valmikam
Over the last year or so there have been several developments in the 3GPP2 specifications. One of the areas that saw significant changes was A11 interface between PDSN and PCF. With the introduction of QoS support on this interface, the specification includes a lot of new information elements in this protocol

svn path=/trunk/; revision=16933
2006-01-03 16:20:06 +00:00