Ulf Lamping
a1dc531677
replace all appearances of 'fprintf(stderr, "tethereal: ' with 'cmdarg_err("', this is:
...
a) smaller
b) makes it possible to use some functions for Ethereal too
c) is the wrong name now, as some outputs are not command line related :-(
use capture_opts_trim()
svn path=/trunk/; revision=16685
2005-12-05 21:32:12 +00:00
Ulf Lamping
792584c211
no more usage of Ethereal.lib in dumpcap any longer :-)
...
use capture_opts_trim()
output of command line usage and version "enhanced"
svn path=/trunk/; revision=16684
2005-12-05 21:28:34 +00:00
Ulf Lamping
e1ee12bc71
add capture_opts_trim(), as this sequence is used three times now (will replace the other appearances later) ...
...
svn path=/trunk/; revision=16683
2005-12-05 21:26:01 +00:00
Ronnie Sahlberg
7e5f31b6a0
updates for FILE_OBJECTID_BUFFER and have smb call this (no more unknown bytes in smb for objectid)
...
svn path=/trunk/; revision=16682
2005-12-05 21:22:06 +00:00
Ronnie Sahlberg
e6dd4f9631
From Kyle J Harms
...
New protocol : CIGI (with minor updates to make it heuristic)
Hi,
This patch is for a CIGI dissector (complete versions 2 and 3). It has
been [fuzz] tested on GNU/Linux using the Ethereal 0.10.13 codebase.
However, the patch here is against the svn repository.
More information about CIGI can be found at http://cigi.sourceforge.net/
Kyle Harms
svn path=/trunk/; revision=16681
2005-12-05 20:54:42 +00:00
Anders Broman
e74a09cd01
If we don't have the OID name let the SNMP dissector try to get it from the MIB:s
...
svn path=/trunk/; revision=16680
2005-12-05 17:24:19 +00:00
Ulf Lamping
56f1f421bd
I've forgot to put one line under _WIN32, should fix the unix build
...
svn path=/trunk/; revision=16679
2005-12-05 02:30:04 +00:00
Luis Ontanon
906eb93fd7
Analysis starts to work
...
svn path=/trunk/; revision=16678
2005-12-05 01:46:07 +00:00
Ulf Lamping
61c8c42aef
Win32: fix signal_pipe handling if we run dumpcap as a standalone application (no signal_pipe)
...
svn path=/trunk/; revision=16677
2005-12-05 01:23:18 +00:00
Jörg Mayer
d8c09f7f2e
We need AF_INET6 on linux, so include netdb.h if available.
...
Add dumpcap to svn:ignore.
svn path=/trunk/; revision=16676
2005-12-04 23:50:57 +00:00
Anders Broman
0b02bdbb43
Connection and name manager uses data type hdr
...
svn path=/trunk/; revision=16675
2005-12-04 21:50:31 +00:00
Anders Broman
223506c537
Work in progress an asn2eth generated snmp dissector.
...
svn path=/trunk/; revision=16674
2005-12-04 21:45:38 +00:00
Jörg Mayer
d3970d3674
Update to samba svn revision 12055:
...
========== Samba changelog start ========================
r11959 | jelmer | 2005-11-29 14:54:51 +0100 (Tue, 29 Nov 2005) | 2 lines
Use DOS_errors array for displaying WERROR values
------------------------------------------------------------------------
r11972 | metze | 2005-11-30 13:40:26 +0100 (Wed, 30 Nov 2005) | 3 lines
handle [noejs] property also on functions
metze
------------------------------------------------------------------------
r11974 | metze | 2005-11-30 18:07:02 +0100 (Wed, 30 Nov 2005) | 3 lines
only look at $pl->{POINTER_TYPE} when $pl is defined
metze
------------------------------------------------------------------------
r11997 | metze | 2005-12-01 13:39:33 +0100 (Thu, 01 Dec 2005) | 14 lines
for multidimentional array like this:
uint32 [num_level2][num_level1][num_level0]
fix the order they're pushed and pulled, it should be like this
for (l2=0; l2 < num_level2; l2++) {
for (l1=0; l1 < num_level1; l1++) {
for (l0=0; l0 < num_level0; l0++) {
ndr_pull_uint32(...);
}
}
}
metze
========== Samba changelog end ========================
svn path=/trunk/; revision=16673
2005-12-04 08:48:38 +00:00
Guy Harris
46325167d9
Check for a null blurb pointer for a field, as is done in some other
...
locations, and initialize the blurb field to NULL for protocols, now
that we support the blurb being a null pointer.
svn path=/trunk/; revision=16672
2005-12-04 04:22:43 +00:00
Guy Harris
2e6b1ac3b3
Declare "capture_info_packet()"'s as static, to match the definition.
...
Declare the "pd" argument to be "const guchar *", to match the way
packet data is declared elsewhere, and so that if the headers
"capture_info.c" includes don't define "u_char" it still compiles.
svn path=/trunk/; revision=16671
2005-12-04 04:20:18 +00:00
Guy Harris
02d9de5a5d
Squelch a GCC complaint.
...
svn path=/trunk/; revision=16670
2005-12-04 04:13:07 +00:00
Ulf Lamping
e829856c0c
move the complete functionality of the capture info dialog from capture_loop.c to capture_info.c and call it from capture.c (instead of capture_loop.c).
...
This way, the capture child don't need to now any of the packet_counter things (no epan/packet.h and all alike).
Currently the capture_info code will always open another wiretap file instance to build it's own counter values. This isn't optimized for now (next step: use data from cf_continue_tail() somehow).
svn path=/trunk/; revision=16669
2005-12-04 02:04:18 +00:00
Ulf Lamping
f856dbafa8
split some parts of the packet counting functions into their own files capture_info(.c/.h),
...
so we can use it from the main program
svn path=/trunk/; revision=16668
2005-12-03 22:38:50 +00:00
Ulf Lamping
8fdb9b2df9
clarify a comment
...
svn path=/trunk/; revision=16667
2005-12-03 21:12:59 +00:00
Ulf Lamping
cbf34eb9bd
forgot to checkin that file ... so buildbot became unhappy!
...
svn path=/trunk/; revision=16666
2005-12-03 21:09:56 +00:00
Luis Ontanon
d573677bc6
Escape non ascii characters
...
svn path=/trunk/; revision=16665
2005-12-03 19:41:18 +00:00
Ulf Lamping
d2a024af60
split capture.h into capture.h, capture_loop.h and capture_opts.h and place the parts into the corresponding files
...
svn path=/trunk/; revision=16664
2005-12-03 19:32:54 +00:00
Ulf Lamping
0a2188eed6
add missing functions (to complete/cleanup of interface):
...
capture_input_drops
capture_input_error_message
and move the functionality from capture_sync.c to capture.c (just where it belongs)
svn path=/trunk/; revision=16663
2005-12-03 18:15:02 +00:00
Ulf Lamping
6674e5bf12
the function capture_loop_popup_errmsg seems to be useless and misleading,
...
simply call sync_pipe_errmsg_to_parent directly instead
svn path=/trunk/; revision=16662
2005-12-03 12:56:57 +00:00
Ulf Lamping
6137748c05
add the (Win32 only) signal pipe
...
svn path=/trunk/; revision=16661
2005-12-03 12:42:25 +00:00
Ulf Lamping
97d5241c60
precise some pipe message comments
...
svn path=/trunk/; revision=16660
2005-12-03 12:32:41 +00:00
Ulf Lamping
68a611a3d1
the capture child don't use capture.c, remove it from the drawing
...
svn path=/trunk/; revision=16659
2005-12-03 11:47:48 +00:00
Luis Ontanon
e622f903f9
Rewrite of the analisys and summary code.
...
Analysis code is still not working so it is disabled.
svn path=/trunk/; revision=16658
2005-12-03 11:43:19 +00:00
Ronnie Sahlberg
7efbafb6e5
from Stig B:
...
I have made a small change in packet-x411-template.c to make the X.
411 message heading in CDT look like in COTP.
svn path=/trunk/; revision=16657
2005-12-02 22:01:00 +00:00
Ronnie Sahlberg
e93abb6669
rtcp fix for sdes_prefix_string
...
svn path=/trunk/; revision=16656
2005-12-02 21:12:22 +00:00
Anders Broman
cd7147c0b8
From Lukasz Apiecionek
...
Add Vendor id
0x8a000003, "Teldat H. Kruszynski, M. Cichocki Sp. J." } ,
svn path=/trunk/; revision=16655
2005-12-02 19:33:40 +00:00
Luis Ontanon
976804af94
Add #line directives to the genertated dissector.
...
Now the compiler knows where a line comes from and errors point to the .cnf or -template.[ch] file instead of the generated code.
svn path=/trunk/; revision=16654
2005-12-02 17:49:47 +00:00
Tomas Kukosa
2b4785f93e
PER dissectors regenerated with FT_OID
...
svn path=/trunk/; revision=16653
2005-12-02 13:21:43 +00:00
Tomas Kukosa
dcae7d303f
new field type FT_OID for OBJECT IDENTIFIERs
...
svn path=/trunk/; revision=16652
2005-12-02 13:16:58 +00:00
Ronnie Sahlberg
a809b11b2b
check in a version of wkssvc that contains all the constructs of the etehreal dissector.
...
the generated dissector is still "ugly" compared to the handwritten one so there needs a bit of conformance file magic and maybe pidl enhancements before it can go in.
svn path=/trunk/; revision=16651
2005-12-02 11:33:34 +00:00
Ronnie Sahlberg
063d484334
regenerate the pidl dissectors with the latest version of pidl so it will put the text representation of DOS errors in the decode as well.
...
(the hf field for doserrors did not come with the value_string)
svn path=/trunk/; revision=16650
2005-12-02 10:54:05 +00:00
Ronnie Sahlberg
30a69454db
add work in progress asn2eth generated ldap dissector from AndersB's email of
...
Nov 15
it is checked in but not copied to epan/dissectors so that those interested can work on it until it gets ready to replace the old one.
svn path=/trunk/; revision=16649
2005-12-02 10:41:46 +00:00
Ronnie Sahlberg
5c8675fe7d
add two new ip protocol numbers
...
from Jaap K
svn path=/trunk/; revision=16648
2005-12-02 10:25:05 +00:00
Ulf Lamping
c85fb9fcb4
performance improvement: if the packet info dialog is hidden, we don't need to call the capture_... packet count functions
...
svn path=/trunk/; revision=16647
2005-12-02 09:24:55 +00:00
Ronnie Sahlberg
9edeb85cba
add some more ioctls
...
svn path=/trunk/; revision=16646
2005-12-02 09:19:05 +00:00
Ronnie Sahlberg
bc21123474
add dissection of
...
FSCTL_CREATE_OR_GET_OBJECT_ID
svn path=/trunk/; revision=16645
2005-12-02 06:49:52 +00:00
Anders Broman
fa3b1f1424
Handle empty APM message
...
svn path=/trunk/; revision=16644
2005-12-01 20:29:24 +00:00
Ulf Lamping
a11d07e3f4
fix OPTINIT string, help output and add an exit_main function
...
svn path=/trunk/; revision=16643
2005-12-01 20:19:30 +00:00
Ulf Lamping
ca14992672
fix alphabetical order of OPTINIT string, v seems to be a controversial character :-)
...
svn path=/trunk/; revision=16642
2005-12-01 20:04:55 +00:00
Anders Broman
f07dd2bfcf
Add TIPC address as address type and use it in TIPC.
...
svn path=/trunk/; revision=16641
2005-12-01 20:02:45 +00:00
Anders Broman
d31575ea74
From Thomas Steffen:
...
Add chargecontrol.xml
svn path=/trunk/; revision=16640
2005-12-01 18:43:26 +00:00
Michael Tüxen
fd7caa4b84
Bug fixes from Irene.
...
svn path=/trunk/; revision=16639
2005-12-01 15:15:42 +00:00
Ronnie Sahlberg
1f39289cce
add dissection of FSCTL_GET_SHADOW_COPY_DATA
...
svn path=/trunk/; revision=16638
2005-12-01 13:06:20 +00:00
Ronnie Sahlberg
c8ff130c27
swap in/out to be more consistent with sane naming conventions
...
svn path=/trunk/; revision=16637
2005-12-01 12:34:53 +00:00
Ronnie Sahlberg
1b2e68397a
start implementing an ioctl dispatcher for different ioctl functions
...
svn path=/trunk/; revision=16636
2005-12-01 10:34:00 +00:00