Commit Graph

15158 Commits

Author SHA1 Message Date
Ulf Lamping c597abee57 Win32: exported DATA must be declared with ETH_VAR_IMPORT to be available from outside the lib
fixes current Win32 buildbot problem

svn path=/trunk/; revision=15473
2005-08-20 15:19:31 +00:00
Jörg Mayer b77737650f One file missed in last checkin
svn path=/trunk/; revision=15472
2005-08-20 14:08:53 +00:00
Jörg Mayer 0edcc8920e - Declare some functions static
- Add plugins_dlg.h
- Include .h files in their respective .c files
- Include .h and remove extern declarations in .c files
- set eol-style and keywords on gui_utils.[hc]

svn path=/trunk/; revision=15471
2005-08-20 14:02:00 +00:00
Jörg Mayer 4fd9fcc639 Add some comments on the originating files of the declarations
svn path=/trunk/; revision=15470
2005-08-20 13:21:09 +00:00
Ronnie Sahlberg e6dd3c8b22 more sprintf updates
svn path=/trunk/; revision=15469
2005-08-20 13:02:08 +00:00
Jörg Mayer b55266d3c0 - Include ../ui_util.h into files that implement functions declard in
ui_util.h
- Replace one instance of ui_util.h by gui_utils.h

svn path=/trunk/; revision=15468
2005-08-20 12:57:52 +00:00
Ronnie Sahlberg e1dad35f95 remove sprintf
svn path=/trunk/; revision=15467
2005-08-20 12:38:45 +00:00
Ronnie Sahlberg a51ba4011d get rid of a whole chunk of sprintfs
svn path=/trunk/; revision=15466
2005-08-20 12:28:16 +00:00
Ulf Lamping eafbbbcabb renamed ui_util.c/.h to gui_utils.c/.h to prevent confusion with identical named ui_util.h in / dir
svn path=/trunk/; revision=15465
2005-08-20 12:09:48 +00:00
Guy Harris 5adc2b6bf1 From Gisle Vanem: export get_timedelta() for use by AFP and SMB taps.
svn path=/trunk/; revision=15464
2005-08-20 10:03:07 +00:00
Guy Harris 393366d5dd The order in which arguments to a function are evaluated isn't defined
by C.  Do decrements of arguments before passing them to a function.

svn path=/trunk/; revision=15463
2005-08-20 09:35:55 +00:00
Guy Harris 0ec73a5eff Widen some variables so the code in question can handle large files if,
as, and when Wiretap can handle them.

svn path=/trunk/; revision=15462
2005-08-20 09:08:24 +00:00
Guy Harris c58cbeba92 Export AFP's CommandCode_vals for use by the AFP taps.
svn path=/trunk/; revision=15461
2005-08-20 08:15:21 +00:00
Ronnie Sahlberg 401c07b4dd sprintf elimination
svn path=/trunk/; revision=15460
2005-08-20 05:37:08 +00:00
Ronnie Sahlberg 54b6bc0e32 sprintf removals
svn path=/trunk/; revision=15459
2005-08-20 05:31:36 +00:00
Ronnie Sahlberg 6657ebb4c9 remove some more sprintf
svn path=/trunk/; revision=15458
2005-08-20 02:51:13 +00:00
Ronnie Sahlberg a34e7e3d03 removal of even more sprintf
svn path=/trunk/; revision=15457
2005-08-20 02:33:33 +00:00
Guy Harris 2028488827 For AFP requests, add in the frame with the (last part of the) reply, if
possible, and, for AFP replies, add in the frame with the request and
the time between those two frames.

Have AFP per-request-type RTT statistics, similar to SMB's statistics.

svn path=/trunk/; revision=15456
2005-08-20 02:19:37 +00:00
Guy Harris e5c09b21aa Use get_timedelta() to get the difference between two times.
svn path=/trunk/; revision=15455
2005-08-20 02:15:02 +00:00
Guy Harris 53b54d11ed Get rid of f_len field in capture_file structure - we can just keep
the length locally. within cf_read().

svn path=/trunk/; revision=15454
2005-08-20 02:14:01 +00:00
Jörg Mayer 980b568a3d Add -Wmissing-declarations -Wwrite-strings to extra-gcc-flags
svn path=/trunk/; revision=15453
2005-08-20 02:05:02 +00:00
Jörg Mayer 4c19ac79de Trivial warning fixes
svn path=/trunk/; revision=15452
2005-08-20 02:03:40 +00:00
Ronnie Sahlberg aff31978c1 remove sprintf from mtp3
svn path=/trunk/; revision=15451
2005-08-20 01:24:23 +00:00
Ronnie Sahlberg ce65efd301 remove sprintf from pgm and x11
svn path=/trunk/; revision=15450
2005-08-20 01:10:40 +00:00
Ronnie Sahlberg 764ea4103e remove sprintf from v120 and wccp
svn path=/trunk/; revision=15449
2005-08-20 00:33:08 +00:00
Ronnie Sahlberg 0fa345fe6c remove sprintf from rpc
svn path=/trunk/; revision=15448
2005-08-20 00:27:46 +00:00
Ronnie Sahlberg 1fc2f4e72d fix buffer handling and remove sprintf
there was at least one instance where an ip address was printed in dotted decimal to a 10 byte array on the stack.
I.e. a guaranteed buffer overrun for a stack object.



svn path=/trunk/; revision=15447
2005-08-20 00:07:20 +00:00
Ronnie Sahlberg ec488447dc more sprintf removals,
replace some char arrays on the stack to ep_alloc()ed memory


svn path=/trunk/; revision=15446
2005-08-19 23:28:23 +00:00
Ronnie Sahlberg 00f45a872c remove a gmalloc and al sprintf from spnego
svn path=/trunk/; revision=15445
2005-08-19 23:03:56 +00:00
Ronnie Sahlberg 4e088df2b4 no more g_malloc or sprintf in snmp
svn path=/trunk/; revision=15444
2005-08-19 22:44:56 +00:00
Ronnie Sahlberg d0408f5583 more gmalloc sprintf removals
svn path=/trunk/; revision=15443
2005-08-19 22:34:28 +00:00
Ronnie Sahlberg 68db27d05b remove two gmalloc and some sprintf
svn path=/trunk/; revision=15442
2005-08-19 22:26:10 +00:00
Ronnie Sahlberg 23ef5de217 from Jeff Snyder
H245 updates
make multiple pdus/frame work

update to have nu limit on the max number of tappable pdus per frame


svn path=/trunk/; revision=15441
2005-08-19 21:19:49 +00:00
Ulf Lamping e93b50c820 fix #357: increment ring buffer "file names" (again?)
svn path=/trunk/; revision=15440
2005-08-19 21:13:49 +00:00
Ulf Lamping fee5244ba7 as the WinPcap installation is now longer really needed (it has become part of the main Ethereal installer) clarify things about installation
svn path=/trunk/; revision=15439
2005-08-19 21:09:38 +00:00
Guy Harris 4c43d63594 We've changed the Wiretap ABI (removed one routine), so bump the library
version number.

WinPcap 3.1 is no longer in alpha.  (Should we make WINPCAP_VERSION 3.1,
so we default to assuming WinPcap 3.1?)

svn path=/trunk/; revision=15438
2005-08-19 19:44:21 +00:00
Guy Harris 38ec1644e6 Add APIs to Wiretap to return the file of the size as supplied by the OS
(so if the file's gzipped, it's *NOT* the size of the file after
uncompressing), and an approximation of the amount of that data read
sequentially so far.

Use those for various progress bars and the like.

Make the fstat() in the Ascend trace reader directly use wth->fd, as
it's inside Wiretap; that gets rid of the last caller of wtap_fd() (as
we're no longer directly using fstat() or lseek() in Ethereal), so get
rid of wtap_fd().

svn path=/trunk/; revision=15437
2005-08-19 19:40:00 +00:00
Ulf Lamping 06823cdce8 add information about unsupported/fresh windows versions
svn path=/trunk/; revision=15436
2005-08-19 19:29:29 +00:00
Gerald Combs 88f6cd56ee Restore pinfo->private_data after calling another dissector, in case it gets
overwritten.  Fixes bug 367.

svn path=/trunk/; revision=15435
2005-08-19 18:28:50 +00:00
Luis Ontanon a883ae4b4a Add packet-alcap.h to the Makefiles.
svn path=/trunk/; revision=15434
2005-08-19 16:46:46 +00:00
Luis Ontanon 831775973a some ememification
svn path=/trunk/; revision=15433
2005-08-19 15:50:48 +00:00
Luis Ontanon 884ad17572 add the $Id:$
svn path=/trunk/; revision=15432
2005-08-19 15:46:39 +00:00
Luis Ontanon 4dd73467de some ememification
svn path=/trunk/; revision=15431
2005-08-19 15:35:42 +00:00
Luis Ontanon b197548513 Keep information about the call-leg so that all the messages of a leg can be filtered given a parameter of it.
Create the header to export the structures thyat hold that info.


svn path=/trunk/; revision=15430
2005-08-19 11:53:39 +00:00
Guy Harris 4ddd504bb4 Move the stats.[ch] stuff into epan, so plugins can use it.
svn path=/trunk/; revision=15429
2005-08-19 10:00:14 +00:00
Ronnie Sahlberg 0a1de06a24 From Matthias Drochner:
I'll attach a patch which fixes the decoding of authenticated
LDAP bind replies. The SASL credentials are always "context
specific" in terms of ASN.1.
I've tested the fix with DIGEST-MD5 authentication.
(Without the patch, ethereal complains about a wrong type
because it expects an ASN.a octet string.)
(You might also consider a stricter check of the ASN.1 header
type for the GSSAPI and GSS-SPNEGO cases, but I can't test this.)



svn path=/trunk/; revision=15428
2005-08-19 09:47:11 +00:00
Guy Harris b2807e2ab6 Move the APIs for registering and processing "-z" command-line arguments
and "Statistics" menu items into "stat.h" and "stat.c", to separate them
from the core tapping APIs.  A tap could conceivably not register as a
"-z" command-line argument or "Statistics" menu item, and a stat could
conceivably not be implemented as a tap, and dissectors that implement
tapping points don't need the UI-related stuff from "stat.h", they just
want the tap-related stuff in <epan/tap.h>.

svn path=/trunk/; revision=15427
2005-08-19 09:29:41 +00:00
Ronnie Sahlberg 3723032609 From Markus Seehofer
PTP updates


svn path=/trunk/; revision=15426
2005-08-19 09:28:58 +00:00
Ronnie Sahlberg eebed02d9d From Michael Lum:
Statistics data structure was not being passed to the draw routine.


svn path=/trunk/; revision=15425
2005-08-19 08:43:58 +00:00
Ronnie Sahlberg b7b0df514c From Michael Lum:
Fixed quite a few parameter IDs based on TIA-41-E (originally my mistakes).
Added support for filtering by DN, MIN, etc.
Moved where embedded 'Bearer Data' parameter is sub-dissected.



svn path=/trunk/; revision=15424
2005-08-19 08:39:19 +00:00