Commit graph

16833 commits

Author SHA1 Message Date
Jörg Mayer
122671b36c Jaap Keuter:
I'm not too fond of using pointer arithmetic in such cases. How about
this:


svn path=/trunk/; revision=17031
2006-01-14 23:09:44 +00:00
Jörg Mayer
0bfcf705cd We may not work with the length returned by g_snprintf, as this is
the number of bytes that would have been used if the buffer was long
enough.
Fixes http://bugs.ethereal.com/bugzilla/show_bug.cgi?id=686

svn path=/trunk/; revision=17030
2006-01-14 11:29:24 +00:00
Anders Broman
6c822ae0e6 MTP3 standard in SCCP MTP3 and M3UA will be determined by Preference setting in MTP3.
svn path=/trunk/; revision=17029
2006-01-14 09:52:04 +00:00
Jörg Mayer
59bccbee5e - Change Cisco QBSS V2 to be part of the Aironet IE dissection.
- Change proto_tree_add_uint ( ...., tvb_get_guint8(...)) to
  proto_tree_add_item ( ....) for all qbss dissection code
- Change all qbss occurrences scount to be 16 bits (I may have
  gotten endianess wrong! Testers / sample captures needed)
- Change wlan_mgt.tag.aironet... filter to wlan_mgt.aironet...

svn path=/trunk/; revision=17028
2006-01-13 18:30:12 +00:00
Jaap Keuter
343b357b0e From Patrik Olsson
Attached is a patch that fixes several decoding problem is the gsm_a
dissector. The bugs are also submitted to bugzilla id #684 and #687.

svn path=/trunk/; revision=17027
2006-01-13 15:17:50 +00:00
Jörg Mayer
96576bbb3e Add code to verify the shared secret for documentation purposes.
#if 0 that code.


svn path=/trunk/; revision=17026
2006-01-13 04:35:10 +00:00
Ulf Lamping
545110c939 fix #661
Win32: convert filenames coming in from command line parameters from locale (current code page) into utf8 encoding

This must also be done for the other command line tools like tethereal, editcap and alike ...

svn path=/trunk/; revision=17025
2006-01-12 22:38:37 +00:00
Ulf Lamping
a9f4ae4f99 fix #648:
Win32 only: reading a pathname from an environment var requires us to read it in as unicode somehow and convert it to utf8. Using _wgetenv should work under all circumstances on NT, using getenv and g_locale_to_utf8 on Windows OT is the best we can do in this case.


svn path=/trunk/; revision=17024
2006-01-12 22:32:29 +00:00
Jaap Keuter
6e80585275 Add warning when UDP length field is too large.
Patch by Graeme Hewson

svn path=/trunk/; revision=17023
2006-01-12 22:16:20 +00:00
Gerald Combs
62a3709da3 Reset h245_pi using CLEANUP_PUSH/CLEANUP_CALL_AND_POP so that we don't leave
ep_alloc()ated memory lying around.  Fixes bug 667.

Fixup whitespace.

svn path=/trunk/; revision=17022
2006-01-12 21:53:02 +00:00
Anders Broman
e3e5ea61c2 Backup the latest edits
svn path=/trunk/; revision=17021
2006-01-12 19:27:56 +00:00
Jaap Keuter
055d695edc Fixes bug 679.
The offset wasn't passed to the PDU dissector so it always started dissection
from the start of the TVB.

svn path=/trunk/; revision=17020
2006-01-12 16:17:07 +00:00
Jaap Keuter
ca4000cbaf The attached patch to fix bug 663 allows Ethereal to read Windows
Sniffer V2 format capture files with captyp=5, timeunit=0.
The ticks_per_sec for this case apparently is 1e6.

Bill Meier

svn path=/trunk/; revision=17019
2006-01-12 15:02:25 +00:00
Ulf Lamping
963539f1bd we have 2006 in the meantime ...
I've also added "and contributors" to the copyright string

svn path=/trunk/; revision=17018
2006-01-12 11:21:07 +00:00
Tomas Kukosa
7ab60e33cc oid_to_str_buf() keep enough speace before appending next part of string (Bug 669)
svn path=/trunk/; revision=17017
2006-01-12 09:29:41 +00:00
Anders Broman
3096dc2686 FromHannes Gredler
-rework the GGSN dissector to proper parse meta extensions -more graceful magic-number detection - for better (JUNOS 6.4)
   downwards compatability
-correct calculate the offset to ATM cookies when there
   are meta-extensions present

svn path=/trunk/; revision=17016
2006-01-12 06:09:48 +00:00
Gerald Combs
faef737b31 Before we begin dissection, NULLify some global variables that might
contain ep_alloc()ed data from a previous dissection.  Correctly fixes
bug 651 (the previous fix was incorrect).

svn path=/trunk/; revision=17015
2006-01-12 02:06:34 +00:00
Ulf Lamping
92c7c05242 update usage output
svn path=/trunk/; revision=17014
2006-01-12 01:32:06 +00:00
Ulf Lamping
23a594c070 minor changes
svn path=/trunk/; revision=17013
2006-01-12 01:31:22 +00:00
Ulf Lamping
a556628ece minor changes
svn path=/trunk/; revision=17012
2006-01-12 01:29:20 +00:00
Ulf Lamping
5a0037d568 fix usage output
fix -F command option handling (output list of available formats if missing of invalid)

svn path=/trunk/; revision=17011
2006-01-12 00:13:40 +00:00
Ulf Lamping
9bd96f6cba fix sequence of time stamp ordering: from most to least information content
svn path=/trunk/; revision=17010
2006-01-12 00:10:46 +00:00
Ulf Lamping
0ce310bd86 minor changes to the usage output
svn path=/trunk/; revision=17009
2006-01-12 00:09:15 +00:00
Jaap Keuter
356cbd3a5a From Thomas Sillaber
here is the Patch for:
    - AVA (Alcatel Automatic VLAN Assignment)
    - QBSS ( QOS Basic Service Set)

svn path=/trunk/; revision=17008
2006-01-11 22:05:43 +00:00
Ulf Lamping
57772cd844 add <> to the option parameters
add some minor enhancements

svn path=/trunk/; revision=17007
2006-01-11 21:36:00 +00:00
Ulf Lamping
ab1a84d177 note that "-i -" doesn't work on Win32
svn path=/trunk/; revision=17006
2006-01-11 21:34:52 +00:00
Ulf Lamping
6accf60a31 add <>add <> to the option parameters
rephrase some sentences

svn path=/trunk/; revision=17005
2006-01-11 21:00:54 +00:00
Ulf Lamping
351befac24 add <> to the option parameters
svn path=/trunk/; revision=17004
2006-01-11 20:57:29 +00:00
Jörg Mayer
3245c72141 set: The first 4 bytes seem to be the salt
svn path=/trunk/; revision=17003
2006-01-11 18:43:17 +00:00
Gerald Combs
24bd796553 Pass the correct arguments to fopen().
svn path=/trunk/; revision=17002
2006-01-11 17:18:33 +00:00
Gerald Combs
2b4380fba9 If we pass a short length to unicode_to_bytes(), return an empty string
instead of clobbering a canary.  This replicates its pre-canarification
behavior (which may not be correct).

Fixup whitespace.

svn path=/trunk/; revision=17001
2006-01-11 15:39:03 +00:00
Jaap Keuter
846f069180 This patch fixes a couple of bind replies to report proper session id.
Greg Morris


svn path=/trunk/; revision=17000
2006-01-11 11:35:25 +00:00
Ulf Lamping
7a0e7d12d2 update usage text
svn path=/trunk/; revision=16999
2006-01-11 10:14:32 +00:00
Gerald Combs
6d3b121deb Fix compiling under GLib 1, squelch a gcc warning.
svn path=/trunk/; revision=16998
2006-01-11 02:05:05 +00:00
Ulf Lamping
34f4ff7bae instead of repeating the capture file format description over and over again (this list also tends to become outdated), just give a small description and refer to the Ethereal man page
svn path=/trunk/; revision=16997
2006-01-11 01:53:46 +00:00
Ulf Lamping
a5c90d377c same command line related changes as recently done with editcap
svn path=/trunk/; revision=16996
2006-01-11 01:38:16 +00:00
Gerald Combs
12331f9cb4 Make sure last_dn is big enough, and set it to NULL when we're
finished with it.  This should fix the current menagerie failure
in Buildbot.

Fix up whitespace.

svn path=/trunk/; revision=16995
2006-01-10 23:28:16 +00:00
Ulf Lamping
41c3bca696 same command line related changes as recently done with editcap
svn path=/trunk/; revision=16994
2006-01-10 23:06:05 +00:00
Ulf Lamping
ae477dc44f print the list of available types also if the given type is invalid
svn path=/trunk/; revision=16993
2006-01-10 22:00:37 +00:00
Ulf Lamping
c38f10aec7 added <>: [-c packets per file] -> [-c <packets per file>]
update to my latest command line changes

svn path=/trunk/; revision=16992
2006-01-10 21:39:21 +00:00
Ulf Lamping
4d9839c0d6 redesign of the usage output (displayed with -h or an unknown option):
option explanation is more detailed now, I've added the option parameters to the description

added version information to the usage output

instead of using the usage page to display the available file and encapsulation types (which makes the usage page almost unreadable), use empty options -F or -T to print the available types. I've used optopt for this, it seems to be portable that way ...


svn path=/trunk/; revision=16991
2006-01-10 21:37:36 +00:00
Gerald Combs
0c66b4dff9 Close "/dev/urandom" if we manage to open it.
svn path=/trunk/; revision=16990
2006-01-10 21:31:33 +00:00
Gerald Combs
10c86094e5 Allocate memory on 8-byte boundaries again. Tweak the way we
fill the canary data.

svn path=/trunk/; revision=16989
2006-01-10 21:12:48 +00:00
Anders Broman
496e4be980 Handle <application id="4294967295" name="Relay"/>
svn path=/trunk/; revision=16988
2006-01-10 19:57:15 +00:00
Anders Broman
4e6fe7346b Update with AVP:s from the dictionary Joost Yervante Damad sent.
svn path=/trunk/; revision=16987
2006-01-10 19:56:03 +00:00
Jörg Mayer
b446d51eb1 Didier Gautheron:
proto.c uses the wrong pointer in error msg.

Me:
        Be more verbose in case of illegal characters when
        registering filter names.

svn path=/trunk/; revision=16986
2006-01-10 16:19:56 +00:00
Guy Harris
c38b12da6d Allowing pointer arithmetic on "void *"s is a GCCism; cast "void *"s to
"char *" before adding an offset to them.

svn path=/trunk/; revision=16985
2006-01-10 09:01:35 +00:00
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