Age | Commit message (Collapse) | Author | Files | Lines |
|
http://www.wireshark.org/lists/wireshark-dev/201304/msg00009.html, change the default snaplen to 65KiB-1. While we're at it, push the max packet size to that value as well.
Also: convert the few tabs to spaces and add modelines.
svn path=/trunk/; revision=48738
|
|
Use explicit casts.
svn path=/trunk/; revision=48439
|
|
is running" mutex. Have the NSIS installer check for this mutex and ask
the user to close Wireshark if it's found. While not perfect this makes
the WinSparkle update process much less annoying.
svn path=/trunk/; revision=47758
|
|
-> Wrap all text at column 80
-> Reference http://www.tcpdump.org/linktypes.html instead of net/bpf.h
-> Other misc. wording changes.
svn path=/trunk/; revision=47234
|
|
svn path=/trunk/; revision=46911
|
|
specified.
svn path=/trunk/; revision=46910
|
|
svn path=/trunk/; revision=46901
|
|
svn path=/trunk/; revision=46900
|
|
Gives more flexibility if needed.
WRITE_DATA macro replaced and applied consistently throughout pcapio.c
svn path=/trunk/; revision=46891
|
|
Cast away some implicit 64-bit-to-32-bit conversion errors due to use of
sizeof.
Cast away some implicit 64-bit-to-32-bit conversion errors due to use of
strtol() and strtoul().
Change some data types to avoid those implicit conversion warnings.
When assigning a constant to a float, make sure the constant isn't a
double, by appending "f" to the constant.
Constify a bunch of variables, parameters, and return values to
eliminate warnings due to strings being given const qualifiers. Cast
away those warnings in some cases where an API we don't control forces
us to do so.
Enable a bunch of additional warnings by default. Note why at least
some of the other warnings aren't enabled.
randpkt.c and text2pcap.c are used to build programs, so they don't need
to be in EXTRA_DIST.
If the user specifies --enable-warnings-as-errors, add -Werror *even if
the user specified --enable-extra-gcc-flags; assume they know what
they're doing and are willing to have the compile fail due to the extra
GCC warnings being treated as errors.
svn path=/trunk/; revision=46748
|
|
an I or O indicating the direction of the packet. This
will be stored in the generated file if the pcap-ng
format is used.
Thanks to Jaap for suggesting to integrate this into
the preamble!
svn path=/trunk/; revision=46744
|
|
* it is off by default
* not documented
* makes text2pcap to coredump when used
* its goal is not clear (to me).
I'm willing to reimplement it under a different option name
if I understand what it should do. Then I can fix and test it.
svn path=/trunk/; revision=46741
|
|
svn path=/trunk/; revision=46740
|
|
svn path=/trunk/; revision=46738
|
|
svn path=/trunk/; revision=46737
|
|
to be generated.
svn path=/trunk/; revision=46736
|
|
od -Ax -tx1 -v stream | text2pcap -m1460 -T1234,1234 - stream.pcap
does work again.
svn path=/trunk/; revision=46734
|
|
svn path=/trunk/; revision=46731
|
|
Not actually used with this commit, which just brings in the
infrastructure.
svn path=/trunk/; revision=46715
|
|
svn path=/trunk/; revision=46714
|
|
svn path=/trunk/; revision=46693
|
|
svn path=/trunk/; revision=46692
|
|
Leave pcap the default file format for now. The is should be reconsidered
before the next release as it might make sense to use pcapgn as
the default as we do for dumpcap. (We can use the -P option to allow
switching back to pcap).
svn path=/trunk/; revision=46691
|
|
svn path=/trunk/; revision=46674
|
|
adding pcapng support.
svn path=/trunk/; revision=46673
|
|
svn path=/trunk/; revision=46670
|
|
svn path=/trunk/; revision=46669
|
|
then send it out at once.
This allows the usage of routines from pcapio.
svn path=/trunk/; revision=46668
|
|
svn path=/trunk/; revision=46599
|
|
svn path=/trunk/; revision=46597
|
|
svn path=/trunk/; revision=45015
|
|
(COPYING will be updated in next commit)
svn path=/trunk/; revision=43536
|
|
svn path=/trunk/; revision=42012
|
|
and r39501:
Setting _XOPEN_SOURCE to 600 is only allowed on Solaris 10 if the compiler is
set to C99 mode. Conversely (and as reported in the bug), simply defining it
(but with no value) is not allowed if the compiler *is* compiling to C99.
So, don't define _XOPEN_SOURCE at all on Solaris. Keep defining it as 600 on
other OS's as (also) requested in that bug.
Maybe there's a cleaner way to do this but all of this is a "trickery" mess
anyway...
svn path=/trunk/; revision=41182
|
|
Solaris doesn't like _XOPEN_SOURCE being defined but with no value, at least
when being compiled in C99-mode. So set it to 600 (XPG6); hopefully this
won't break any other systems.
svn path=/trunk/; revision=39501
|
|
Corrected IP address with text2pcap -i option on big endian machines.
svn path=/trunk/; revision=39215
|
|
Make ASCII text dump identification optional.
svn path=/trunk/; revision=38886
|
|
svn path=/trunk/; revision=38884
|
|
svn path=/trunk/; revision=38703
|
|
text2pcap.c: In function ‘parse_token’:
text2pcap.c:1076: warning: cast from pointer to integer of different size
text2pcap.c:1076: warning: cast from pointer to integer of different size
svn path=/trunk/; revision=38702
|
|
Enhancement of text2cap for parsing flexibility.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1723
svn path=/trunk/; revision=38679
|
|
svn path=/trunk/; revision=38449
|
|
getopt() can/should normally be found in unistd.h, so:
- When testing for getopt(), define that we HAVE_GETOPT instead of
HAVE_GETOPT_H (to avoid confusion).
- Don't attempt to include getopt.h: not all OS's have it (for example,
Solaris 9 does not).
- (All the places which need getopt already include unistd.h (if we have it).)
If this breaks things on some OS, we might need (a real) HAVE_GETOPT_H check.
svn path=/trunk/; revision=38437
|
|
Remove our local strerror implementation.
Mark strerror as locale unsafe API.
This fixes bug 5715.
svn path=/trunk/; revision=37812
|
|
svn path=/trunk/; revision=37372
|
|
Reported by Matthias Wellmeyer.
svn path=/trunk/; revision=36471
|
|
svn path=/trunk/; revision=36410
|
|
svn path=/trunk/; revision=36408
|
|
options)
g_ntohs() & friends may be (are ?) macros and may (will ?) eval args more than once ...
svn path=/trunk/; revision=36272
|
|
UTF-8 where we don't already do so. In Wireshark use g_utf16_to_utf8
instead of utf_16to8. This should fix bug 5520.
svn path=/trunk/; revision=35411
|