Commit graph

89 commits

Author SHA1 Message Date
Gerald Combs
92802883a6 Change the "--enable-setuid-install" option to install dumpcap and TShark
setuid instead of Wireshark.  Remove the "DANGEROUS" notices, but leave it
disabled by default.  Whine if the user runs Wireshark or TShark as root.
Add a preference to disable the whining.  Add a "setuid-root" script that
can be used to switch dumpcap and TShark's setuid-ness on and off for
development and testing.  Update the release notes and README.packaging.

svn path=/trunk/; revision=22733
2007-08-30 00:24:40 +00:00
Luis Ontanon
873dd9585d add the new oid_* functions
svn path=/trunk/; revision=22663
2007-08-26 03:11:27 +00:00
Anders Broman
f2e1c5cb7d Get rid of now unused:
add_oid_name
 add_oid_str_name
l get_oid_name
 get_oid_str_name

svn path=/trunk/; revision=22652
2007-08-25 07:44:01 +00:00
Richard van der Hoff
8c39917b53 add remaining golay_* functions
svn path=/trunk/; revision=22614
2007-08-23 23:33:23 +00:00
Jeff Morriss
6f9a2673c6 Export golay_errors() to get the Windows builds going again
svn path=/trunk/; revision=22608
2007-08-23 21:11:47 +00:00
Gerald Combs
72daa58e19 Instead of converting between 802.11 frequencies and channels umpteen
different ways, add a set of common conversion routines.  Add a
"Frequency/Channel" column and fill it in where we can.  Fix RSSI column
printing in PPI.

Fix up whitespace along the way.

svn path=/trunk/; revision=22538
2007-08-17 19:34:14 +00:00
Ulf Lamping
4b215597ae experimental feature: dissector filters
add the possibility, that a dissector writer can provide (usually non-trivial) display filters specific for the protocol in question (with an example in packet-dcerpc-pn-io.c), that will appear in the GUI


svn path=/trunk/; revision=22530
2007-08-16 22:03:10 +00:00
Luis Ontanon
282e5005d2 +prefs_add_uat_preference
svn path=/trunk/; revision=22484
2007-08-10 21:07:18 +00:00
Luis Ontanon
bc50d5ceb7 Export the entire uat api
svn path=/trunk/; revision=22462
2007-08-07 20:09:18 +00:00
Guy Harris
3d18eafe0a Export dfilter_macro_build_ftv_cache() for use by Wireshark.
svn path=/trunk/; revision=22429
2007-07-31 01:32:47 +00:00
Jeff Morriss
0c6ea016ea Add fetch_tapped_data
svn path=/trunk/; revision=22412
2007-07-27 14:22:47 +00:00
Tomas Kukosa
82ea2908f1 - export some ASN.1 functions from libwireshark
- fill-in actx->created_item in dissect_ber_object_identifier()

svn path=/trunk/; revision=22406
2007-07-26 14:00:48 +00:00
Tomas Kukosa
3b5c406f8c QSIG fully implemented
svn path=/trunk/; revision=22361
2007-07-20 09:54:47 +00:00
Tomas Kukosa
b08ff956bc export prefs_register_static_text_preference()
svn path=/trunk/; revision=22201
2007-06-27 06:54:48 +00:00
Gerald Combs
0c4cb64c57 Add capture counts for PPI.
svn path=/trunk/; revision=22195
2007-06-26 19:38:44 +00:00
Stephen Fisher
de9f69f58a From Frank Stratemeier:
I added rval_to_str, match_strrval and match_strrval_idx to
libwireshark.def for being available in plugins.


svn path=/trunk/; revision=22189
2007-06-25 19:29:02 +00:00
Anders Broman
c9e31101a1 Export fragment_end_seq_next to get the Windows buildbot going again.
svn path=/trunk/; revision=22177
2007-06-24 08:13:11 +00:00
Stephen Fisher
99234c5e03 Get the Windows builds going again after my last check-in
svn path=/trunk/; revision=22039
2007-06-04 21:18:19 +00:00
Anders Broman
3aabc51db4 Add dissect_per_enumerated
svn path=/trunk/; revision=22033
2007-06-03 22:06:19 +00:00
Tomas Kukosa
6a6895fafa export dissect_ber_old_... functions
can be removed when migration to new BER is finished

svn path=/trunk/; revision=21981
2007-05-29 14:13:33 +00:00
Guy Harris
85ab07f287 init_plugin_dir() is now just internal to epan/filesystem.c.
svn path=/trunk/; revision=21946
2007-05-26 00:12:28 +00:00
Luis Ontanon
869732d121 Prepare wireshark and tshark for wiretap plugins
svn path=/trunk/; revision=21928
2007-05-24 22:26:51 +00:00
Bill Meier
4082012683 add empty_tcp_stream
svn path=/trunk/; revision=21877
2007-05-22 02:25:37 +00:00
Stephen Fisher
ea0bed2b17 Add new functions from SVN revision 21867 to libwireshark.def to get Windows builds going again
svn path=/trunk/; revision=21871
2007-05-22 00:14:39 +00:00
Graeme Lunt
cf56e76be9 Updated splash screen for Wireshark that shows the initialisation progress.
The splash screen shows a progress bar and a percentage complete - like the progress dialog.
As dissectors are initialised and handed off the name is shown. However, the names of plugin dissectors are not shown.
The update to the make-dissector-reg shell script has been tested, though I think generally the python version is used.


svn path=/trunk/; revision=21716
2007-05-07 17:55:42 +00:00
Tomas Kukosa
cfa43d6daa generate T.38 dissector from ASN.1 source
svn path=/trunk/; revision=21676
2007-05-04 07:10:15 +00:00
Tomas Kukosa
b3fedb67fa new Q.932 and QSIG dissectors
svn path=/trunk/; revision=21602
2007-04-27 08:10:18 +00:00
Tomas Kukosa
1bf555aa2f export dissect_ber_tagged_type()
svn path=/trunk/; revision=21474
2007-04-19 12:57:23 +00:00
Anders Broman
a17051ebbb Add wtap_nstime_to_sec.
svn path=/trunk/; revision=21333
2007-04-04 06:56:04 +00:00
Jaap Keuter
39517d2dbb Make some more string conversions available to plugins
svn path=/trunk/; revision=21163
2007-03-24 07:05:39 +00:00
Luis Ontanon
7f3e4fea48 Mine:
* add SUA to the "VoIP Calls" tap.
* propagate changes to packet-sccp.h to other dissectors

From Neil Piercy:
* add SLR, DLR and CAUSE to COL_INFO

svn path=/trunk/; revision=21126
2007-03-22 22:59:20 +00:00
Luis Ontanon
5fa8e75149 packet_info.c and packet.c
add sccp_info to struct _packet_info (Sorry but the way private_data works and the fact that TCAP uses it and BSSAP/RANAP can be tunnelled on GSMMAP over TCAP makes it impossible to avoid)

SCCP
- Have SCCP to have a TAP,
- Fix associations so that every message belongs to the association.
- Export message type values so that they can be used by a tap listener

RANAP
 - Have RANAP information attached to the sccp_info 

BSSAP + GSM_A
- Have DTAP, BSSMAP and BSSAP info attached to the sccp_info

svn path=/trunk/; revision=21076
2007-03-21 00:48:46 +00:00
Ulf Lamping
7366ae37a0 as requested by "John T. Haller" for PortableApps.com:
add new WS command line option -P to be able to change some of the path settings

this is experimental, please report bugs

svn path=/trunk/; revision=21022
2007-03-14 02:55:54 +00:00
Stephen Fisher
b740e4528d Fix for bug #1408:
Add proto_tree_add_bitmask to epan/libwireshark.def


svn path=/trunk/; revision=20946
2007-02-28 00:08:23 +00:00
Ulf Lamping
7887d478cc add a new function dissect_dcom_HRESULT_item() for some more flexibility, use it in the CBA-ACCO dissector - as the value_strings from dcom can't be used in hf_register_info from a plugin
svn path=/trunk/; revision=20926
2007-02-25 15:48:43 +00:00
Ulf Lamping
d6e22b2d9a major code cleanup:
- move dcom-cba and pn-rt files into profinet plugin (where they really belong)
- move some common pn functionality into new packet-pn.c/h instead of having duplicate code

svn path=/trunk/; revision=20825
2007-02-16 21:53:36 +00:00
Stephen Fisher
0ebc01dc03 From Sebastien Tandel:
Create two new files (ws_strsplit.[ch]) that use GTK2 code to override
the buggy g_strsplit() function when compiling for GTK1.  Include this
work-around function (ws_strsplit) in libwireshark.def.  Add notes on usage
to README.developer.  Include epan/ws_strsplit.h in all files that use
g_strsplit().


svn path=/trunk/; revision=20804
2007-02-13 20:57:22 +00:00
Anders Broman
766f209edc Add uat_clear and uat_load.
svn path=/trunk/; revision=20792
2007-02-12 08:12:32 +00:00
Luis Ontanon
7c57c05ed5 * Add a Submenu (/Views/User Tables) where UATs can be accessed.
* Remove macros_dlg, the DFMacros UAT goes in the menu with all the rest
* in packet-user_encap.c WTAP_ENCAP=XXX has become useless information for the user leave just the DLT#



svn path=/trunk/; revision=20753
2007-02-09 03:11:14 +00:00
Guy Harris
7de24ea51b Add dissect_nt_64bit_time to the list of exported routines.
svn path=/trunk/; revision=20752
2007-02-08 21:55:57 +00:00
Ulf Lamping
98f2412a6f various major enhancements to the PROFINET-IO dissector (including some new TLV blocks)
svn path=/trunk/; revision=20751
2007-02-08 18:29:47 +00:00
Luis Ontanon
92fd73681d From: Gisle Vanem
The file epan/dissectors/packet-k12.c uses the function
strcasestr() which is not available on e.g. Windows. So I cooked
up a patch to epan/strutil.c to add epan_strcasestr() (is there a more
suited place for such a function?)





svn path=/trunk/; revision=20734
2007-02-07 13:45:28 +00:00
Luis Ontanon
30e64813e4 add uat_swap() to libwireshark.def
svn path=/trunk/; revision=20712
2007-02-04 13:47:58 +00:00
Anders Broman
028e49cde1 Add some missing defines for uat_gui.c
svn path=/trunk/; revision=20611
2007-01-29 21:27:48 +00:00
Jaap Keuter
762a652866 Trying to get buildbot Windows-XP-x86 to build again.
svn path=/trunk/; revision=20486
2007-01-18 20:21:35 +00:00
Jaap Keuter
67b3be67a7 Export the split fvalue_get_integer as fvalue_get_uinteger and fvalue_get_sinteger
svn path=/trunk/; revision=20483
2007-01-18 16:36:10 +00:00
Ulf Lamping
47aaf7d9b7 on my way to fix #301:
add a function get_persdatafile_dir() that will return the users personal default data dir Win32:"My Documents" UNIX:"" (for the current dir)

svn path=/trunk/; revision=20431
2007-01-14 22:25:22 +00:00
Graeme Lunt
2fd7d2c620 New "decode as ..." feature for BER-encoded files (WTAP_FILE_BER).
A BER-encoded file can be dissected as one of a number of registered syntaxes (registered using register_ber_syntax_dissector()). 
Syntaxes may also be associated with OIDs (or other strings) using register_ber_oid_syntax(). 

A default syntax with which to dissect a BER-encoded file is determined from its filename (extension). For example, ".cer" and ".crt" files will be dissected as "Certificate".


svn path=/trunk/; revision=20414
2007-01-13 12:59:27 +00:00
Gerald Combs
def1f435fc Fix compilation problems under Windows. In the GTK code, convert SSIDs
to GByteArrays.  Add format_uri() to strutil, which formats a byte string
with percent-escapes.  Fixup whitespace and indentation.

svn path=/trunk/; revision=20397
2007-01-11 22:12:33 +00:00
Tomas Kukosa
084bbf692c make airpcap_loader.c compileable and linkable under Windows
svn path=/trunk/; revision=20391
2007-01-11 07:56:37 +00:00