Commit Graph

16611 Commits

Author SHA1 Message Date
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
Anders Broman 9d3228610a Further asn1 code updates and IE decoding.
svn path=/trunk/; revision=16932
2006-01-03 15:13:26 +00:00
Guy Harris 35743cded8 Fix a typo.
svn path=/trunk/; revision=16931
2006-01-02 10:52:50 +00:00
Guy Harris 9347bd2df6 That's "PIDL_FILES", not "PIDLFILES".
svn path=/trunk/; revision=16930
2006-01-02 10:37:52 +00:00
Jörg Mayer 05bf77a243 - Move pidl files into PIDL_FILES and include this info EXTRA_DIST.
- Sort files alphabetically.

svn path=/trunk/; revision=16929
2006-01-02 00:43:28 +00:00
Jörg Mayer 43189459e8 Forgot to commit Makefile.am with the samba changes
svn path=/trunk/; revision=16928
2006-01-01 23:50:47 +00:00
Jörg Mayer 6cbffe23a9 Update from samba tree revision 12488 to 12669
============================ Samba log start ============
------------------------------------------------------------------------
r12488 | jelmer | 2005-12-26 02:37:18 +0100 (Mon, 26 Dec 2005) | 2 lines

Fix MANIFEST to match recent changes

------------------------------------------------------------------------
r12490 | jelmer | 2005-12-26 03:14:18 +0100 (Mon, 26 Dec 2005) | 2 lines

Fix --warn-compat

------------------------------------------------------------------------
r12501 | jelmer | 2005-12-26 23:47:40 +0100 (Mon, 26 Dec 2005) | 4 lines

Merge EJSHeader.pm into EJS.pm and simplify smbcalls_rpc.c a bit,
now that it is guaranteed that the smbcalls modules are always
initialized
after the EJS subsystem itself.

------------------------------------------------------------------------
r12512 | jelmer | 2005-12-27 17:22:35 +0100 (Tue, 27 Dec 2005) | 3 lines

Use GUID structs in API functions everywhere rather then converting back
and
forth between GUID structs and strings in several places.

------------------------------------------------------------------------
r12515 | jelmer | 2005-12-27 18:50:53 +0100 (Tue, 27 Dec 2005) | 2 lines

Use UUID directly rather then string containing UUID

------------------------------------------------------------------------
r12517 | jelmer | 2005-12-27 20:13:18 +0100 (Tue, 27 Dec 2005) | 2 lines

Don't generate empty init functions

------------------------------------------------------------------------
r12528 | jelmer | 2005-12-27 23:51:30 +0100 (Tue, 27 Dec 2005) | 2 lines

Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server.

------------------------------------------------------------------------
r12539 | metze | 2005-12-28 10:31:43 +0100 (Wed, 28 Dec 2005) | 3 lines

fix the pidl tests

metze
------------------------------------------------------------------------
r12572 | jelmer | 2005-12-29 17:03:03 +0100 (Thu, 29 Dec 2005) | 2 lines

No longer parse coclasses as interfaces

------------------------------------------------------------------------
r12573 | jelmer | 2005-12-29 17:03:47 +0100 (Thu, 29 Dec 2005) | 2 lines

Update README to recent changes in pidls namespace

------------------------------------------------------------------------
r12574 | jelmer | 2005-12-29 17:04:34 +0100 (Thu, 29 Dec 2005) | 3 lines

Bring tables.pl back to life and move registration of interfaces
now completely to a new subsystem.

------------------------------------------------------------------------
r12651 | jelmer | 2005-12-31 15:57:43 +0100 (Sat, 31 Dec 2005) | 2 lines
Changed paths:
   M /branches/SAMBA_4_0/source/librpc/idl/idl_types.h
   M /branches/SAMBA_4_0/source/librpc/ndr/libndr.h
   M /branches/SAMBA_4_0/source/librpc/ndr/ndr_string.c

Remove STR_LARGE_SIZE as it's no longer used

------------------------------------------------------------------------
============================ Samba log end ==============


svn path=/trunk/; revision=16927
2006-01-01 23:14:44 +00:00
Ulf Lamping b4471e0195 fix #152
set the read filter dialog modal and transient to the parent window if requested. This way, it will receive input signals (solving problems with GTK2's gtk_file_chooser).

To do this, add another construct_args flag, so it will be modal only if really needed ...

svn path=/trunk/; revision=16926
2005-12-31 17:09:27 +00:00
Ulf Lamping 851692e8fb bugfix to #649: first convert to microseconds, then eventually swap byte ordering (not the other way round)
svn path=/trunk/; revision=16925
2005-12-31 11:48:32 +00:00
Ulf Lamping a2fe0e2b0a add the GCC specific attribute "noreturn" to exit_main()
add an error message if no interfaces could be found (and mention that it might be a privilege problem)

svn path=/trunk/; revision=16924
2005-12-31 10:51:15 +00:00
Ulf Lamping ad692841a8 Ooops, remove a debug message in the Win32 code part of the capturing loop.
It might (very slightly) slow down capturing in the 0.10.14 release :-(

svn path=/trunk/; revision=16923
2005-12-31 10:48:29 +00:00
Ulf Lamping d5265fd7a4 From Jaap Keuter:
Even though dumpcap isn't finished I would like this patch applied in
order to:
1. remove some compiler warnings
2. avoid a seg fault when running dumpcap without parameters as normal
user.

svn path=/trunk/; revision=16922
2005-12-31 10:22:57 +00:00
Luis Ontanon ada9131e3b Fixes Bug 531 (Incorrect Interpretation of Bit vector and RLE RTCP XR Blocks).
svn path=/trunk/; revision=16921
2005-12-31 02:19:24 +00:00
Luis Ontanon 5ff580e14f From: Graeme Hewson
Decryption of the RADIUS User-Password attribute is currently broken.


svn path=/trunk/; revision=16920
2005-12-30 18:41:56 +00:00
Ulf Lamping 9ef9cee717 remove the document version. As we are using the subversion it's no longer needed.
The former versioning didn't really worked quite well. 

add the (changed) messages section back to the user's guide appendix

svn path=/trunk/; revision=16919
2005-12-29 16:49:58 +00:00
Ulf Lamping 566ee5fa10 remove the former description of the dialog boxes, which is pretty useless as the dialogs should be (or improved to be) self explaining.
explain the messages in the packet list and packet details (e.g. [Malformed Packet])

svn path=/trunk/; revision=16918
2005-12-29 16:47:12 +00:00
Ulf Lamping 4c2add38e5 we don't have nightly builds an longer, but buildbot builds - update the text accordingly
svn path=/trunk/; revision=16917
2005-12-29 16:43:58 +00:00
Luis Ontanon eb25173d60 Change tvbparse's engine to use callbacks instead of a big switch.
add some primitives.


svn path=/trunk/; revision=16916
2005-12-28 23:57:43 +00:00
Anders Broman 40ce443b6a Updates to the ASN1 code and decode some IE:s
svn path=/trunk/; revision=16915
2005-12-28 21:32:41 +00:00
Luis Ontanon be94b45514 - Decode some more annex C fields
- Keep track of terminations (link wildcarded ones to real ones)
- Keep termination info and link aal2 terminations to alcap legs


svn path=/trunk/; revision=16914
2005-12-28 19:46:57 +00:00
Luis Ontanon 78ed00ce3a Keep a hash of call legs indexed by nsap:sugr and separate the leg tree code so that it can be called from others.
svn path=/trunk/; revision=16913
2005-12-28 19:38:33 +00:00
Gerald Combs 1b3ca88853 Fix download URLs in the release notes. Disable building release-notes.txt,
since the Windows build server doesn't have elinks.  Copy over ChangeLog and
NEWS from 0.10.14.

svn path=/trunk/; revision=16912
2005-12-28 16:19:31 +00:00
Jörg Mayer 93643c7992 As reported by Toralf Foerster in bug 647:
It should be "Authentication" (2x "t") not "Authenication"


svn path=/trunk/; revision=16911
2005-12-27 23:08:37 +00:00
Gerald Combs c09fd3c48f Add a "release-notes.txt" target.
svn path=/trunk/; revision=16910
2005-12-27 22:22:14 +00:00
Ulf Lamping 452d3af4af minor updates (URL's and such)
svn path=/trunk/; revision=16909
2005-12-27 21:56:59 +00:00
Gerald Combs 306fbc3fdb Update to Net-SNMP 5.2.2.
svn path=/trunk/; revision=16907
2005-12-27 18:33:58 +00:00