aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-05-27Add cf_fake_continue_tail() which is called when real-time captureGerald Combs3-32/+45
updates are off and which sets the capture file state to a value that won't cause an assertion when the user stops capturing. Fixes bug 4035. svn path=/trunk/; revision=33005
2010-05-27Fix bug #4735: tshark returns 0 on non-valid filter and interface.Bill Meier1-3/+5
See: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4735 svn path=/trunk/; revision=33004
2010-05-27From Steven McCoy:Jaap Keuter1-7/+22
AFI fields are 2 bytes i.s.o. 1. From me, several more size changes and decode cleanup. svn path=/trunk/; revision=33003
2010-05-27fopen -> ws_fopenGerald Combs1-1/+1
svn path=/trunk/; revision=33002
2010-05-27Protocol Help requires GLib 2.6+. Add newlines. Fixup whitespace.Gerald Combs3-33/+50
svn path=/trunk/; revision=33001
2010-05-27Copy the (no longer Win32-specific) description of the -B option to the ↵Jeff Morriss1-5/+13
Wireshark man page. svn path=/trunk/; revision=33000
2010-05-27Document the maximum number of files in a ring buffer, including a warning ↵Jeff Morriss3-37/+62
about using large numbers of files. svn path=/trunk/; revision=32999
2010-05-27Set RINGBUFFER_MAX_NUM_FILES to 100000. Use it to generate file names.Gerald Combs3-6/+13
Add RINGBUFFER_WARN_NUM_FILES and use it to print a warning. Print warnings when we change the number of ringbuffer files. svn path=/trunk/; revision=32998
2010-05-27Add .11s to Sam Leffler's entry. We haven't used Alain Magloire'sGerald Combs1-3/+1
snprintf.c for almost four years. Remove the entry. svn path=/trunk/; revision=32997
2010-05-27Add string_replace to exported functions.Anders Broman1-0/+1
svn path=/trunk/; revision=32996
2010-05-27From Edgar Gladkich:Gerald Combs9-1/+900
This is an extension to the Wireshark context sensitive protocol help. Rows in TreeView window are analyzed and suitable help file (as HTML) is opened in a browser. The help part (large file, 23 MB) of the Protocol Help can be downloaded under www.inacon.com/dowload/stuff/protocol_help.tar.gz This protocol help "light" provides descriptive content for the most frequently used standard protocols, including IP, TCP or SMTP. From me: Changes: Rename "ph_" in some function names to "proto_help_". Move the protocol help code to its own module. Make a bunch of functions static. Remove unused code. Use browser_open_url() instead of a custom function. Increase the logging levels. Don't clobber the normal log handler. Update some Doxygen comments to match the format in the rest of the code base. Removed GTK version checks. We've been 2.x only for a while. Move ph_replace_string to string_replace() in epan/strutil.[ch]. Fix a bunch of memory leaks. Add a NULL pointer check. Reformat the overview menu label. Document the file format and locations. Add Edgar to AUTHORS. svn path=/trunk/; revision=32995
2010-05-27Reword two error messages as per Bug #4518.Bill Meier1-2/+2
See: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4518 svn path=/trunk/; revision=32994
2010-05-27From Pascal Quantin:Anders Broman1-18/+18
Prettify decoding of EPS NAS messages. svn path=/trunk/; revision=32993
2010-05-27Fix for the LUA part of bugJörg Mayer2-57/+30
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4788 - Don't build the wslua stuff as a (static) library, build the stuff directly into epan instead. The wspython remains to be done. svn path=/trunk/; revision=32992
2010-05-27From Tamás Regõs:Anders Broman1-1/+32
Updated Experimental-Result-Code AVP 298. svn path=/trunk/; revision=32991
2010-05-27Data frames, not management frames, can have a mesh header.Guy Harris1-57/+57
svn path=/trunk/; revision=32990
2010-05-27Remove a couple of items from the "known bugs" list.Gerald Combs1-12/+0
svn path=/trunk/; revision=32989
2010-05-27Make -q not a capture option again - it's used by tshark even when notGuy Harris4-14/+16
capturing, and thus even when we build without pcap. svn path=/trunk/; revision=32988
2010-05-27Make sure our prefix length is > 0 before lopping off the lastGerald Combs1-6/+10
character. Fixes bug 4797. svn path=/trunk/; revision=32987
2010-05-27Clean up the error reporting. An EOF from the sync pipe when capturingGuy Harris2-81/+136
is just an indication that the capture child exited; don't treat it as an error, unless the child process exits with an abnormal status. As tshark sends a "stop capture" indication to the child when it's ^C'ed, the child will exit and we'll get an EOF from the capture pipe; don't make SIGINT etc. interrupt system calls, so they don't cause reads from the capture pipe to get EINTR errors. svn path=/trunk/; revision=32986
2010-05-26Another attempt at bug 4669: Properly set the previous-displayed-packetGerald Combs1-3/+11
timestamp when we're recalculating reference times. Remove an unused variable. Add whitespace & comment fixups. svn path=/trunk/; revision=32985
2010-05-26From Jakub Zawadzki:Anders Broman1-2/+1
One more change from wtap_seek_read to cf_read_frame. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4666 svn path=/trunk/; revision=32984
2010-05-26From Brian Woodard:Jaap Keuter1-1/+1
User Defined CIGI packets with a packet size greater than 127 bytes are displayed as Malformed. Instead, treat size as unsigned integers. svn path=/trunk/; revision=32983
2010-05-26From Hadar Shoham:Jaap Keuter1-11/+42
Change DHCPv6 option 17.8 to be the same as BOOTP option 43.8 CableLabs specs treat 43.8\17.8 inconsistently as either binary (3 byte) or string (6 byte) Additional cleanup and extension of interface ID presentation by me. svn path=/trunk/; revision=32982
2010-05-26Have new_packet_list_queue_draw() redraw the packet detail as well. CallGerald Combs1-1/+12
new_packet_list_queue_draw() whenever we mark/unmark frames. Fixes bug 4669. svn path=/trunk/; revision=32981
2010-05-26From Jakub Zawadzki:Anders Broman10-26/+35
New functions: cf_read_frame_r, cf_read_frame It's much easier to write: cf_read_frame (cf, fdata, &err, &err_info) Than: wtap_seek_read (cf->wth, fdata->file_off, &cf->pseudo_header, cf->pd, fdata->cap_len, &err, &err_info) svn path=/trunk/; revision=32980
2010-05-26Update name resolving description.Jaap Keuter1-44/+45
svn path=/trunk/; revision=32979
2010-05-26Reference the 'interlink' plugin dir as an example (rather than agentxBill Meier1-2/+2
which is no longer a plugin). Fix a typo. svn path=/trunk/; revision=32978
2010-05-26Add a tooltip.Martin Mathieson1-0/+4
svn path=/trunk/; revision=32977
2010-05-26Add some tooltips.Martin Mathieson1-2/+19
svn path=/trunk/; revision=32976
2010-05-26proto_registrar_dump_fields: output "" for blurb if blurb is a zero-length ↵Bill Meier1-0/+2
string. svn path=/trunk/; revision=32975
2010-05-26Expert severity was still overlapping with bits length, so separate them.Martin Mathieson1-5/+5
svn path=/trunk/; revision=32974
2010-05-26Try to optimize a bit.Anders Broman1-21/+10
svn path=/trunk/; revision=32973
2010-05-26Fix indentation.Anders Broman1-17/+17
svn path=/trunk/; revision=32972
2010-05-26Export value_string_ext related functionsTomas Kukosa1-0/+3
svn path=/trunk/; revision=32971
2010-05-26Untabify.Stig Bjørlykke1-35/+35
svn path=/trunk/; revision=32970
2010-05-26Don't report EINTR - it might be from a ^C.Guy Harris1-6/+24
Do report the error string for other read errors, though. svn path=/trunk/; revision=32969
2010-05-26Don't send ^T output to the standard error if we're a capture child.Guy Harris2-7/+11
Make SIGINFO a restart-the-system-call signal, so reads etc. don't return an error. svn path=/trunk/; revision=32968
2010-05-26Remember the default value of each protocol preference.Jeff Morriss2-75/+107
If, when we're writing the preferences file, the current value of the preference is the same as the default, write out the preference (since the preference file is also the documentation for the preferences) but comment it out (so that if, for example, you go back to an older version of Wireshark you won't get warnings about non-existant preferences that you didn't change--and thus probably don't care too much about). It might be interesting to, in the future, add a UI to restore the default values. svn path=/trunk/; revision=32967
2010-05-26g_error -> expert_add_info_format. Fixup whitespace.Gerald Combs1-31/+33
svn path=/trunk/; revision=32966
2010-05-26Use the right system call name.Guy Harris1-2/+2
svn path=/trunk/; revision=32965
2010-05-26If dumpcap exits abnormally, report the error.Guy Harris4-7/+17
svn path=/trunk/; revision=32964
2010-05-26More <stdarg.h> cleanup; some are real bugs, some are just "don't doGuy Harris4-11/+17
va_start and va_end unless you're actually going to use the va_list" (those bring the va_start and va_end closer to the use point, which makes it a little more obvious that we're using <stdarg.h> correctly and makes it a little harder to use it incorrectly). svn path=/trunk/; revision=32963
2010-05-26Put in a warning about the <stdarg.h> problem that I just found andGuy Harris1-0/+20
fixed in one place (and am now fixing in some other places). svn path=/trunk/; revision=32962
2010-05-26Once you've used a va_list, you can't use it again until youGuy Harris1-6/+6
reinitialize it with va_start(). (Yes, there are platforms where reusing the va_arg fails, e.g. Mac OS X on x86-64.) svn path=/trunk/; revision=32961
2010-05-26Reindent a bitJeff Morriss1-20/+26
svn path=/trunk/; revision=32960
2010-05-26Fix build without pcap.Guy Harris1-1/+1
svn path=/trunk/; revision=32959
2010-05-26Add a -q flag to dumpcap, to squelch its reporting of the packet count,Guy Harris5-14/+112
and add support for SIGINFO, so, if your OS supports SIGINFO, you can get the packet count by typing ^T. svn path=/trunk/; revision=32958
2010-05-25r32323 broke packet detail tree expansion using the left/right keys onGerald Combs1-4/+18
X11. Add back the removed code and add checks for expandable items. svn path=/trunk/; revision=32957
2010-05-25Handle lines ending in \r\n.Bill Meier1-2/+2
Fixes Bug #4780 See: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4780 svn path=/trunk/; revision=32956