Commit Graph

29536 Commits

Author SHA1 Message Date
Ronnie Sahlberg 0659b21e03 update pidl to the current samba version so we can generate ndr64
compatible dissectors


svn path=/trunk/; revision=30413
2009-10-09 04:31:21 +00:00
Ronnie Sahlberg 6c7cf66046 explicitely cast a guin64 to int to avoid compile warnings
svn path=/trunk/; revision=30412
2009-10-09 04:19:45 +00:00
Ronnie Sahlberg 06cd64f64b mark the dcerpc 1632 and 3264 type dissectors exportable for windows
svn path=/trunk/; revision=30411
2009-10-09 04:11:36 +00:00
Jaap Keuter ee2043792f Tighten header field checks.
svn path=/trunk/; revision=30410
2009-10-08 21:26:26 +00:00
Kovarththanan Rajaratnam 7ab993bee7 Remove unused NEED_PACKET_PROTO_H variable
svn path=/trunk/; revision=30409
2009-10-08 17:26:57 +00:00
Kovarththanan Rajaratnam c769074ad3 Remove FindWSWIN32.cmake. It was only a temporary hack I introduced. We should add Windows support in a more clean fashion.
svn path=/trunk/; revision=30408
2009-10-08 16:54:20 +00:00
Kovarththanan Rajaratnam e981de7a99 Don't attempt to fill custom columns if we don't have a valid column expression.
svn path=/trunk/; revision=30407
2009-10-08 16:35:58 +00:00
Bill Meier 6645d6e47d Fix code so it actually pads a length to an 8 byte boundary.
svn path=/trunk/; revision=30406
2009-10-08 16:13:53 +00:00
Kovarththanan Rajaratnam ad7042d2a4 calculate_crc32c -> crc32c_calculate for proper 'namespacing'
svn path=/trunk/; revision=30405
2009-10-08 15:10:43 +00:00
Kovarththanan Rajaratnam 30cb2b9448 Add DISSECTOR_ASSERT() before dereferencing a possible NULL pointer
svn path=/trunk/; revision=30404
2009-10-08 15:01:25 +00:00
Kovarththanan Rajaratnam a8ca8d1815 Call emem_canary() immediately
svn path=/trunk/; revision=30403
2009-10-08 14:48:43 +00:00
Kovarththanan Rajaratnam 03f934d183 From Harald Welte via bug 4106:
Fix 'cast from pointer to integer of different size'

svn path=/trunk/; revision=30402
2009-10-08 14:40:23 +00:00
Jeff Morriss 3c960cd5a2 As requested by Gregory Seidman on -dev: add CRC32 functions to libwireshark.def. Use consistent indentation in crc32.c.
svn path=/trunk/; revision=30401
2009-10-08 14:28:23 +00:00
Anders Broman 5fa3b703a9 Use a "String pool" in the new packet list to reduce memory usage.
svn path=/trunk/; revision=30400
2009-10-08 13:57:19 +00:00
Kovarththanan Rajaratnam ef48a237ed Remove debug g_warning()
svn path=/trunk/; revision=30399
2009-10-08 13:24:03 +00:00
Kovarththanan Rajaratnam a9ed97b344 From Gerasimos Dimitriadis via. bug 4104:
When dissecting a h248 message, col_set_str is called with a string from the ephemeral pool and an assertion fails.

svn path=/trunk/; revision=30398
2009-10-08 13:17:51 +00:00
Anders Broman 2e3bc6bcc2 Dont use canaries for SE allocated memory as a default the owerhead
is to big when allocating lot's of memory. EP memory does not suffer as much as we seems to only allocate one chunk for EP memory.

svn path=/trunk/; revision=30397
2009-10-08 11:46:15 +00:00
Anders Broman 1f34437271 From Didier Gautheron:
conversations table leaks hash keys memory on close.
Modified by me to use g_hash_table_new_full().

svn path=/trunk/; revision=30396
2009-10-08 07:56:48 +00:00
Jaap Keuter fe2a12d423 Clean up header fields.
svn path=/trunk/; revision=30395
2009-10-08 05:43:19 +00:00
Jaap Keuter 75f1e13c12 Cleanup header fields.
svn path=/trunk/; revision=30394
2009-10-07 23:08:22 +00:00
Guy Harris 3f8748951f Fix some LLP64 issues.
svn path=/trunk/; revision=30393
2009-10-07 22:36:33 +00:00
Jeff Morriss 4c70f4fad0 Get it compiling when we don't have kerberos libraries.
svn path=/trunk/; revision=30392
2009-10-07 21:00:14 +00:00
Jeff Morriss 1bb3148350 From Gregor Jasny via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4073 :
This patch adds the functionality to decode short capabilies.

svn path=/trunk/; revision=30391
2009-10-07 19:46:28 +00:00
Anders Broman 1060fd1ede Reverting previous patch as requested by Ronnie.
svn path=/trunk/; revision=30390
2009-10-07 15:41:13 +00:00
Anders Broman 079ff0ba27 From : Didier Gautheron
gtktreeview patch for stat(not well tested, no traces).

svn path=/trunk/; revision=30389
2009-10-07 10:00:26 +00:00
Anders Broman 6de05a0476 Make the windows build compile again.
(Probably not the right fix).

svn path=/trunk/; revision=30388
2009-10-07 09:47:45 +00:00
Stig Bjørlykke 5bc9611d56 Removed a redundant prototype.
Made wrs_count_bitshift static.

svn path=/trunk/; revision=30387
2009-10-07 08:37:18 +00:00
Stig Bjørlykke b7d8cd1c6a Switch to using tvb_new_subset_remaining() in .cnf files.
svn path=/trunk/; revision=30386
2009-10-07 07:59:11 +00:00
Stig Bjørlykke 843459d075 Made dissect_pres() static.
Added changes from r29446 to .cnf file:
 Switch a bunch of dissectors over to using tvb_new_subset_remaining()

svn path=/trunk/; revision=30385
2009-10-07 07:47:41 +00:00
Ronnie Sahlberg d86f67b925 add a new function read_keytab_file_from_preferences(void)
that can be called by dissectoirs using kerberos keytab files.
This function will load a new keytab file on demand, if it is changed in 
the preferences.

The previous code had you save the preferences and then restart 
wireshark which is suboptimal from a user friendly perspective



svn path=/trunk/; revision=30384
2009-10-07 07:03:33 +00:00
Ronnie Sahlberg c177dd5a0f new samr compiled as a test by the samba4 pidl compiler from mainline
svn path=/trunk/; revision=30383
2009-10-07 07:01:55 +00:00
Stig Bjørlykke c8605cc746 Don't include config.h in header files.
svn path=/trunk/; revision=30382
2009-10-07 06:28:36 +00:00
Anders Broman f4938ecf33 From Jim Young:
Add "Drag and Drop entries..." message on Columns preferences page.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4099

svn path=/trunk/; revision=30381
2009-10-07 05:03:16 +00:00
Bill Meier c7820529f5 Fix indentation.
svn path=/trunk/; revision=30380
2009-10-07 01:08:13 +00:00
Jeff Morriss 6a5182650c malloc() and free() are prohibited APIs, use the glib equivalents instead.
svn path=/trunk/; revision=30379
2009-10-07 00:45:39 +00:00
Jaap Keuter 951c60acb8 From Andreas Becker:
Add a subdissector Table for BACnet MSTP Frames.

svn path=/trunk/; revision=30378
2009-10-06 22:59:33 +00:00
Stig Bjørlykke 1559ec3e5f Avoid dereference of null pointer.
svn path=/trunk/; revision=30377
2009-10-06 19:21:29 +00:00
Anders Broman bc9a809b65 From Didier Gautheron:
ep memory can't be used for tvbs defined as data_source.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4054

svn path=/trunk/; revision=30376
2009-10-06 19:15:58 +00:00
Anders Broman 0f4d4344dd From Gerasimos Dimitriadis:
GSM MAP: an-APDU not decoded.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4095

svn path=/trunk/; revision=30375
2009-10-06 19:04:29 +00:00
Anders Broman a926ecc9f1 Bump Kovarththanan Rajaratnam up a notch :-)
svn path=/trunk/; revision=30374
2009-10-06 19:03:32 +00:00
Stig Bjørlykke cf85342eec Build plugins with cmake on OSX.
svn path=/trunk/; revision=30373
2009-10-06 18:58:09 +00:00
Anders Broman 1ef7157d71 From Gerasimos Dimitriadis:
Mobile Classmark3 wrong dissection.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4082

svn path=/trunk/; revision=30372
2009-10-06 18:51:11 +00:00
Jeff Morriss 6a7c00894d Add some SE allocation statistics (if SHOW_MEM_STATS is defined).
Add print_alloc_stats() will show some (hopefully useful) statistics about the
memory we have allocated, the average allocation size, the amount of
overhead/waste, etc.

svn path=/trunk/; revision=30371
2009-10-06 16:20:26 +00:00
Stig Bjørlykke 98024a007f Invert check for getopt: NEED_GETOPT_H -> HAVE_GETOPT_H
Rename getopt.[ch] -> wsgetopt.[ch] to avoid name collision.

svn path=/trunk/; revision=30370
2009-10-06 16:01:18 +00:00
Kovarththanan Rajaratnam c88f493d4d Cleanup rcsids
svn path=/trunk/; revision=30369
2009-10-06 15:07:52 +00:00
Kovarththanan Rajaratnam 3d1020840a Remove $Id$
svn path=/trunk/; revision=30368
2009-10-06 14:56:43 +00:00
Kovarththanan Rajaratnam cec0e21e2b Use ep_alloc()
svn path=/trunk/; revision=30367
2009-10-06 14:20:59 +00:00
Kovarththanan Rajaratnam e02fcd3990 Remove superfluous cast
svn path=/trunk/; revision=30366
2009-10-06 14:02:01 +00:00
Kovarththanan Rajaratnam 73316149c0 Use G_SEARCHPATH_SEPARATOR_S
svn path=/trunk/; revision=30365
2009-10-06 13:58:17 +00:00
Kovarththanan Rajaratnam 4d0be14403 Make splash_destroy() return a gboolean
svn path=/trunk/; revision=30364
2009-10-06 13:54:32 +00:00