Commit graph

22784 commits

Author SHA1 Message Date
Anders Broman
94859ac29b Apply yet another set of the optimization patches:
if tree is not NULL then proto_xxx_add_yyy functions can't return NULL.
Remove always true tests.

svn path=/trunk/; revision=23404
2007-11-08 22:39:01 +00:00
Anders Broman
4d07f32a41 Apply yet another set of the optimization patches:
- Move proto_tree_add_xxxx calls inside 'if (tree) {}' block

svn path=/trunk/; revision=23403
2007-11-08 22:38:06 +00:00
Anders Broman
7b3debb40d Change dissecton of address type for AVP < 256 (RADIUS address).
svn path=/trunk/; revision=23402
2007-11-08 22:36:19 +00:00
Jeff Morriss
0d07277007 Don't cast pinfo->src.data to (const mtp3_addr_pc_t *) unless we *know* it's
an MTP3 PC in there (else we get a bus error on SPARC systems).
If we don't have MTP3 PC addresses hash on address_to_str(&pinfo->src).  This
makes TCAP statistics work over SUA.

svn path=/trunk/; revision=23401
2007-11-08 19:13:51 +00:00
Anders Broman
b3aab48e2a - "Location-Information" is grouped.
- Add TS 183 033 V1.2.0 (2007-10) AVP:s

svn path=/trunk/; revision=23400
2007-11-08 17:24:17 +00:00
Gerald Combs
cd7cc1557e Move SKIP_CAPTURE from suite-capture.sh to config.sh so that we can use it
in suite-clopts as well.  Allow it to be set externally.  This should fix
the "test" failure in the Solairs builder.

svn path=/trunk/; revision=23399
2007-11-08 16:59:30 +00:00
Gerald Combs
4105173f0e Fix a couple of integer underflows.
svn path=/trunk/; revision=23398
2007-11-08 05:54:29 +00:00
Stephen Fisher
ee3d03b7ae Fix Windows builds that cannot find gtk/gtk.h from epan/prefs.c. Write out
toolbar arrow preference even in GTK < 2.4 and just don't use it unless
running GTK 2.4+.


svn path=/trunk/; revision=23397
2007-11-08 02:29:18 +00:00
Gerald Combs
544ca516b5 Add more TCP analysis struct checks.
svn path=/trunk/; revision=23396
2007-11-08 00:58:38 +00:00
Stephen Fisher
d7c1ba361f Add an arrow with drop-down menu including any toolbar buttons that do not
fit on the top of the screen.  This only works in GTK 2.4+ and there is
a layout preference setting to disable it.


svn path=/trunk/; revision=23395
2007-11-07 21:50:48 +00:00
Anders Broman
079e1446f9 Update to use the -X and -T asn2wrs flags.
svn path=/trunk/; revision=23394
2007-11-07 21:22:25 +00:00
Gerald Combs
75a21280ea Back out r23308 for the time being, since it's making hhc.exe on the Windows
builder crash.

svn path=/trunk/; revision=23393
2007-11-07 20:13:40 +00:00
Stig Bjørlykke
2e98c04584 Create a subset tvb for dissect_x411_ORName so it doesn't eat too much data.
Removed some unnecessary int casts.

svn path=/trunk/; revision=23392
2007-11-07 20:03:29 +00:00
Jörg Mayer
e47e42e10e Add VID VID_draft_ietf_ipsec_nat_t_ike_01, move
VID_draft_ietf_ipsec_nat_t_ike_03 a bit down.

svn path=/trunk/; revision=23391
2007-11-07 18:35:00 +00:00
Anders Broman
ce2a32dc6f Update to use the -X and -T asn2wrs flags.
svn path=/trunk/; revision=23390
2007-11-07 17:55:57 +00:00
Anders Broman
c822748454 Delete obsolete dissectors.
svn path=/trunk/; revision=23389
2007-11-07 17:55:06 +00:00
Jörg Mayer
9491dc16f1 Print VendorID string in payload summary line
svn path=/trunk/; revision=23388
2007-11-07 17:23:28 +00:00
Jörg Mayer
c59a75bee0 Add two sentences clarifying the license statement on pidl:
As a notable exception the pidl utility at tools/pidl is covered by a
"GPL version 3 or later" LICENSE. Note that only the tool itself
is covered by this license, not the source code generated by it. The
pidl authors do not consider that code a derived work of pidl.


svn path=/trunk/; revision=23387
2007-11-06 22:01:20 +00:00
Anders Broman
fb00aa074f as2wrs now handles EXTERNAL(direct-reference requires no special handling).
svn path=/trunk/; revision=23386
2007-11-06 21:52:26 +00:00
Gerald Combs
6e207e3f34 When checking to see if we should install WinPcap, check the installed
version directly instead of trying to divine it from its name. 

svn path=/trunk/; revision=23385
2007-11-06 20:32:30 +00:00
Anders Broman
e0937a5992 as2wrs now handles EXTERNAL(direct-reference requires no special handling).
svn path=/trunk/; revision=23384
2007-11-06 20:26:13 +00:00
Anders Broman
998eabe31f as2wrs now handles EXTERNAL(direct-reference requires no special handling).
svn path=/trunk/; revision=23383
2007-11-06 20:21:09 +00:00
Anders Broman
2555a2f6fb as2wrs now handles EXTERNAL(direct-reference requires no special handling).
svn path=/trunk/; revision=23382
2007-11-06 20:16:59 +00:00
Jörg Mayer
624b58c099 Add a remark that the code under tools/pidl/ is covered
by GPLv3 (inside the files it only says GPL).

svn path=/trunk/; revision=23381
2007-11-06 20:03:22 +00:00
Anders Broman
d3028865d3 From Keith Mercer:
CFM dissector bugfixes and code update for ITU inclusion

svn path=/trunk/; revision=23380
2007-11-06 19:47:38 +00:00
Anders Broman
5cd9fcc943 From Florent Drouin:
Fix bug Some Toshiba format files with LAPD cannot be open
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1711

svn path=/trunk/; revision=23379
2007-11-06 19:22:51 +00:00
Jörg Mayer
b349ff3e87 Update from samba tree revision 25306 to 25880
============================ Samba log start ============
------------------------------------------------------------------------
r25453 | jelmer | 2007-10-01 23:38:15 +0200 (Mon, 01 Oct 2007) | 1 line

Fix include for NTSTATUS.
------------------------------------------------------------------------
r25457 | jelmer | 2007-10-02 06:45:25 +0200 (Tue, 02 Oct 2007) | 1 line

use different location for out-of-tree builds
------------------------------------------------------------------------
r25674 | metze | 2007-10-17 10:26:55 +0200 (Wed, 17 Oct 2007) | 13 lines

fix crash bug in pidl generated client code, this
could have happend with [in,out,unique] pointers
when the clients sends a valid pointer, but the server
reponse with a NULL pointer (as samba-3.0.26a do for some calls).

I've tested with midl to see how windows handles this situation
and also the reverse case where the client sends NULL and
the server reposnse with non-NULL.

It appears that midl generated code just ignores this
and only copies the result if both pointers are non-NULL.

metze
------------------------------------------------------------------------
r25700 | jra | 2007-10-19 02:40:51 +0200 (Fri, 19 Oct 2007) | 3 lines

Now BOOL no longer exists in Samba 3.2, use bool instead.
Jeremy.

------------------------------------------------------------------------
r25745 | metze | 2007-10-27 11:57:09 +0200 (Sat, 27 Oct 2007) | 6 lines

[pidl] ndr_pull/push_error(ndr, NDR_ERR_INVALID_POINTER,..)

instead NT_STATUS_INVALID_PARAMETER_MIX

metze

------------------------------------------------------------------------
r25751 | metze | 2007-10-30 07:24:43 +0100 (Tue, 30 Oct 2007) | 4 lines

use EJS_CHECK() instead of NDR_CHECK() in ejs code

metze

------------------------------------------------------------------------
r25765 | metze | 2007-10-31 17:25:44 +0100 (Wed, 31 Oct 2007) | 3 lines

pidl: fix compiler warning in ndr_align test

metze
------------------------------------------------------------------------
r25766 | metze | 2007-10-31 17:27:21 +0100 (Wed, 31 Oct 2007) | 3 lines

pidl: fix bugs in ndr_tagtype tests found by compiler warnings

metze
------------------------------------------------------------------------
r25767 | metze | 2007-10-31 17:29:32 +0100 (Wed, 31 Oct 2007) | 5 lines

pidl: make it easier to debug errors in pidl tests

we now print the C program that we tried to compile

metze
------------------------------------------------------------------------
r25768 | metze | 2007-10-31 17:44:42 +0100 (Wed, 31 Oct 2007) | 5 lines

pidl: NT_STATUS_IS_ERR() is NOT the same as !NT_STATUS_IS_OK()

Everything but success should be handled as error in the tests.

metze
------------------------------------------------------------------------
r25795 | metze | 2007-11-02 11:35:09 +0100 (Fri, 02 Nov 2007) | 3 lines

whitespace cleanup...

metze
------------------------------------------------------------------------
r25804 | metze | 2007-11-02 14:02:25 +0100 (Fri, 02 Nov 2007) | 4 lines

move including ndr_compression.h into HeaderInterface()

metze

------------------------------------------------------------------------
r25805 | metze | 2007-11-02 14:05:43 +0100 (Fri, 02 Nov 2007) | 4 lines

pidl: include libndr.h as first header in ndr_foo.h

metze

------------------------------------------------------------------------
r25806 | metze | 2007-11-02 14:48:11 +0100 (Fri, 02 Nov 2007) | 5 lines

let libndr.h include needed stuff and remove pidl magic
for choosing common required headers

metze

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

svn path=/trunk/; revision=23378
2007-11-06 18:31:26 +00:00
Anders Broman
a1347fde05 Set up RTP conversation when PORT is known.
svn path=/trunk/; revision=23377
2007-11-06 18:11:20 +00:00
Anders Broman
e69d68f57d Fix some typos.
svn path=/trunk/; revision=23376
2007-11-06 18:10:34 +00:00
Guy Harris
d913f45ef1 Fix bug 1956 - make the bitwise-AND routine treat its arguments as being
IPv4 addresses.  Also, rename that routine to cmp_bitwise_and(), as it's
not working on bit strings.

svn path=/trunk/; revision=23375
2007-11-06 09:19:59 +00:00
Guy Harris
69ba6c7762 The "bitwise AND" display filter operator is supposed to evaluate to
TRUE if the result of the operation has any bit set; that means that the
test should stop and return TRUE as soon as it finds two bytes that when
ANDed together are non-zero, and return FALSE if no such byte was found.

The other test functions don't have "_bytes" in the routine name; don't
put it into this one.

svn path=/trunk/; revision=23374
2007-11-06 08:46:57 +00:00
Ronnie Sahlberg
7885237398 add a g_byte_array_sized_new() helper if we compile for glib < 2
svn path=/trunk/; revision=23373
2007-11-06 05:51:49 +00:00
Ronnie Sahlberg
8da1f94cca use strcasecmp instead of g_ascii_strcasecmp
svn path=/trunk/; revision=23372
2007-11-06 05:39:28 +00:00
Stephen Fisher
6785ffd796 Wake on LAN (WOL): New dissector from Chris Maynard via -dev list and
enhancement bug #1968

Me: Added entries in epan/etypes.h and epan/dissectors/packet-ethertype.c
for WOL.


svn path=/trunk/; revision=23371
2007-11-06 05:30:04 +00:00
Stephen Fisher
46e6e9ea0f Change instance of 0xCAFE to ETHERTYPE_LLT for consistency. No functional
changes.


svn path=/trunk/; revision=23370
2007-11-06 05:06:31 +00:00
Sake Blok
3c9a7b9dcd Bug 1954 From Mikael Magnusson :
This patch updates the DTLS dissector to be compatible with OpenSSL 0.9.8f in
the following ways:
* Handle both SSL version number 0xfeff (RFC 4347 and OpenSSL 0.9.8f), and
0x100 (Used by OpenSSL 0.9.8e and earlier)
* Reassemble fragmented handshake messages.





svn path=/trunk/; revision=23369
2007-11-05 23:05:20 +00:00
Anders Broman
a6850bb34e Delete generated files at distclean.
svn path=/trunk/; revision=23368
2007-11-05 20:44:10 +00:00
Anders Broman
e10e84c243 Strengthen BER and ERF heuristics to solve:
Fail to load I4B traces http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1972

svn path=/trunk/; revision=23367
2007-11-05 20:43:25 +00:00
Anders Broman
3b1f0881e2 Update to use the -X and -T asn2wrs flags.
svn path=/trunk/; revision=23366
2007-11-05 20:41:44 +00:00
Anders Broman
8676c5cd9f Update do use the -X and -T asn2wrs flags.
svn path=/trunk/; revision=23365
2007-11-04 22:18:59 +00:00
Anders Broman
f6ba48b9fc Update do use the -X and -T asn2wrs flags.
svn path=/trunk/; revision=23364
2007-11-04 22:16:28 +00:00
Anders Broman
4184ef8b8d Update do use the -X and -T asn2wrs flags.
svn path=/trunk/; revision=23363
2007-11-04 22:14:35 +00:00
Anders Broman
acb60ad0d8 Update do use the -X and -T asn2wrs flags.
svn path=/trunk/; revision=23362
2007-11-04 19:03:48 +00:00
Anders Broman
7594d473c3 Update do use the -X and -T asn2wrs flags.
svn path=/trunk/; revision=23361
2007-11-04 18:47:49 +00:00
Anders Broman
7fce345b31 Update do use the -X and -T asn2wrs flags.
svn path=/trunk/; revision=23360
2007-11-04 18:37:06 +00:00
Anders Broman
66bdd55654 Update do use the -X and -T asn2wrs flags.
svn path=/trunk/; revision=23359
2007-11-04 18:34:13 +00:00
Anders Broman
88c9802f25 Update do use the -X and -T asn2wrs flags.
svn path=/trunk/; revision=23358
2007-11-04 18:23:47 +00:00
Anders Broman
c05f17b5fe Update do use the -X and -T asn2wrs flags.
svn path=/trunk/; revision=23357
2007-11-04 18:16:41 +00:00
Anders Broman
f7804d9899 Update do use the -X and -T asn2wrs flags.
svn path=/trunk/; revision=23356
2007-11-04 17:57:31 +00:00
Stig Bjørlykke
46d0b5e076 Update do use the -X and -T asn2wrs flags.
svn path=/trunk/; revision=23354
2007-11-04 17:24:25 +00:00