Commit Graph

16836 Commits

Author SHA1 Message Date
Jörg Mayer 62d51e8ecc Declare -ssl_stream_cb in ssl-dlg.h
svn path=/trunk/; revision=17184
2006-02-06 12:41:58 +00:00
Jörg Mayer 76ef87393c svn eol-style and keywords
svn path=/trunk/; revision=17183
2006-02-06 12:21:31 +00:00
Guy Harris 847fe0e323 Export the new privilege-manipulation routines (not that they do
anything on Windows).

svn path=/trunk/; revision=17182
2006-02-06 11:18:38 +00:00
Guy Harris c897da2ded Move the code to relinquish set-UID and set-GID privileges to a routine
in epan/privileges.c.

svn path=/trunk/; revision=17181
2006-02-06 10:27:27 +00:00
Ronnie Sahlberg 4a2048a5ef dissect the TWrp chain element
svn path=/trunk/; revision=17180
2006-02-06 09:51:42 +00:00
Ronnie Sahlberg f1e686af86 add dissection of a few more create options
svn path=/trunk/; revision=17179
2006-02-06 09:37:56 +00:00
Ronnie Sahlberg 4d75587e25 another gtk_resize_window()
svn path=/trunk/; revision=17178
2006-02-06 09:32:27 +00:00
Guy Harris ad3cb359b6 From Paolo Abeni:
Set up to build on Windows if we have GNU TLS.

	Define "ssl_data_set()" regardless of whether we have GNU TLS or
	not, as it's used in either case.

	Get rid of an extra #include of epan/gnuc_format_check.h.

svn path=/trunk/; revision=17177
2006-02-06 09:09:06 +00:00
Ronnie Sahlberg 86309dc6b8 gtk1.x does not have gtk_window_resize()
svn path=/trunk/; revision=17176
2006-02-06 08:50:20 +00:00
Guy Harris edc7f32956 Tag some #else/#endif to make it clearer what tests they handle.
Also, remove some trailing white space.

svn path=/trunk/; revision=17175
2006-02-06 04:12:12 +00:00
Guy Harris 4c4f18eb3f Add code to check whether the app was started with special privileges
(e.g., set-UID or set-GID), and don't load user plugs if it is.

svn path=/trunk/; revision=17174
2006-02-06 03:11:34 +00:00
Luis Ontanon 41a8855e1b Lua uses the simple dialog
svn path=/trunk/; revision=17173
2006-02-06 01:29:05 +00:00
Luis Ontanon fc89f6d439 The simple dialog
svn path=/trunk/; revision=17172
2006-02-06 01:27:05 +00:00
Guy Harris 6a77df11b1 No C++/C99-style comments, please.
svn path=/trunk/; revision=17171
2006-02-06 01:17:29 +00:00
Guy Harris cc823c13aa Include <epan/gnuc_format_check.h> in packet-ssl-utils.h, not
packet-ssl-utils.c; everything else that includes it is a header file.

svn path=/trunk/; revision=17170
2006-02-06 01:14:36 +00:00
Guy Harris 60419eab20 From Paolo Abeni: fix some warnings, etc..
svn path=/trunk/; revision=17169
2006-02-06 01:01:09 +00:00
Guy Harris e61bbe3b6a "text_window_delete_event_cb()" returns a gboolean; declare it as such.
svn path=/trunk/; revision=17168
2006-02-06 00:53:05 +00:00
Luis Ontanon 3ed65a40e4 Add an example of tap,text window and menu usage
svn path=/trunk/; revision=17167
2006-02-05 20:07:19 +00:00
Luis Ontanon 2427624d5a * move all the tap functions to lua_tap
* change the way taps work (docs coming)
* add an at_close method to the textwindow that allows the user to set a callback function to be called when the window is closed


svn path=/trunk/; revision=17166
2006-02-05 20:06:05 +00:00
Luis Ontanon 50d651fe5b * add an option to funnel_register_menu to retap the packets right after been called
* add a set_close_cllback function to the textwindow mini-api to set a callback to be called when the window gets closed.
* fix few issues regarding the closing of the window


svn path=/trunk/; revision=17165
2006-02-05 20:02:41 +00:00
Jörg Mayer 2826417ef7 Trivial warning fix (no newline at end of file)
svn path=/trunk/; revision=17164
2006-02-05 11:46:00 +00:00
Luis Ontanon a2f7c569e0 H.248 over UDP
svn path=/trunk/; revision=17163
2006-02-05 04:24:51 +00:00
Luis Ontanon 174291f7f7 Allow lua to register menu items
svn path=/trunk/; revision=17162
2006-02-05 04:02:52 +00:00
Luis Ontanon 2e36cb403a - add a register_menu funnel
- remove the field_menu altoghether (It was not what I thought)
- move a declaration to the start of a function to allow VC6 to compile



svn path=/trunk/; revision=17161
2006-02-05 03:59:56 +00:00
Guy Harris c9c2b97498 Update from the current asn1/tcap code.
svn path=/trunk/; revision=17160
2006-02-05 03:56:29 +00:00
Jörg Mayer 2078d1bccd Change port define to something more readable
svn path=/trunk/; revision=17159
2006-02-05 03:38:50 +00:00
Ronnie Sahlberg 44263c63f7 from JBM
some more functions names of new procedures in Vista



svn path=/trunk/; revision=17158
2006-02-05 03:11:13 +00:00
Jörg Mayer 59c6c554ea Buildbot found:
- p_rem_proto_data has been renamed to p_remove_proto_data
- I forgot to commit the changes to Makefile.common

svn path=/trunk/; revision=17157
2006-02-05 02:33:06 +00:00
Jörg Mayer 9ba6da080a Paolo Abeni
I have developed an external plugin to enable ssl decryption in
ethereal.

Me

- Remove unnecessary $Id$ from acinclude.m4
- Added packet-ssl-utils.h to Makefile.common
- Fixed a few warnings

TODO

- Lots of warning fixes (see separate mail)
- Reformat function headers to read like the others do
  (return value<newline>function-name...)
- Test on Windows platform
- Review the patch to packet-ssl.c and new files packet-ssl-utils.[hc]


svn path=/trunk/; revision=17156
2006-02-04 23:44:05 +00:00
Luis Ontanon 14f8c316ff define funnel_register_field_menu even if it is not implemented.
svn path=/trunk/; revision=17155
2006-02-04 22:49:44 +00:00
Luis Ontanon 06f00c9c30 GTK1 buid failed, this should fix it.
s/tv/tw/


svn path=/trunk/; revision=17154
2006-02-04 22:44:31 +00:00
Luis Ontanon 47f7aeb16c Propset
svn path=/trunk/; revision=17153
2006-02-04 20:36:04 +00:00
Luis Ontanon 246dc75d35 Propset eol-style and Id for all
lua_gui.h has a licence


svn path=/trunk/; revision=17152
2006-02-04 20:34:16 +00:00
Luis Ontanon 9962b6a83c VC6 doesn't like empty structs.
svn path=/trunk/; revision=17151
2006-02-04 20:26:36 +00:00
Luis Ontanon fedb9b5c92 Give lua a minimal gui.
svn path=/trunk/; revision=17150
2006-02-04 20:00:58 +00:00
Luis Ontanon e487660dfc The funneled GUI mini API.
A very reduced set of gui ops (by now just a text window) that can be funneled to dissectors (even plugins) via epan.


svn path=/trunk/; revision=17149
2006-02-04 19:56:50 +00:00
Anders Broman 3f6e2badad Add SSN:s from 3GPP TS 23.003.
svn path=/trunk/; revision=17148
2006-02-04 10:28:28 +00:00
Anders Broman 6766a85046 Fix a faulty def and add some 3gpp AVP:s
svn path=/trunk/; revision=17147
2006-02-04 10:27:12 +00:00
Luis Ontanon 1434f575d5 * packet-lua.h
* add a shiftC() function to every class for extracting values from the stack
   
* lua_pinfo.c
   * fix pinfo.dst pinfo.dl_dst pinfo.dl_src pinfo.net_dst pinfo.net_src
   
* lua_tree.c
   * ProtoTree_add_item_any() changed to use TvbRanges, a more handy way to give it optional arguments 

* lua_tvb.c
   * get ByteArray up and running
   * create TvbRange class and use it to access the tvb (this class takes care of checking bounds so that exceptions are not thrown)



svn path=/trunk/; revision=17146
2006-02-03 21:25:26 +00:00
Jörg Mayer a5c03f490e Mike Duigou:
I noticed that when you run fuzz testing from both a root account and
a user account you can run into problems because the user account tries
to use and delete temp files created by the root account and fails. This
patch uses the same scheme as used for fuzz error files for naming the
tampered file and for the error file to prevent filename/permission
collisions between temp files from different runs.


svn path=/trunk/; revision=17145
2006-02-03 09:29:54 +00:00
Anders Broman e9b933473e From Mike Duigou:
- Fixes an off by one error which had the potential to write a 
terminating '\0' one byte past the end of the URI address being printed.

svn path=/trunk/; revision=17144
2006-02-03 06:31:01 +00:00
Anders Broman e77ec7864f gsm_a: Export needed functions
bssap: Dissect most of the IE:s

svn path=/trunk/; revision=17143
2006-02-02 15:16:51 +00:00
Ronnie Sahlberg b63bc8410a fix bug 400
the choice dissector didnt sometimes use the correct next_tvb.
based on a bogus variable    'first_pass'   that was added as a qad solution to some weird CMIP problem.





svn path=/trunk/; revision=17142
2006-02-02 08:34:59 +00:00
Anders Broman cb191e08d2 packet-gsma_a.ch Use valuestrings for Number type etc and export the value_strings
packet-bssap.c Add BSSAP+ dissection. 

svn path=/trunk/; revision=17141
2006-02-01 17:39:20 +00:00
Ronnie Sahlberg 14e0012a3b from Bill Meyer
fix for bug 714


svn path=/trunk/; revision=17140
2006-02-01 08:59:59 +00:00
Anders Broman ac54c854d4 From Greg Morris:
epan/dissectors/ncp2222.py - Fixes the NCP group values for all NCP's. Also fixes some additional return values and cleanup.

gtk/ncp_stat.c - Fixes the NCP group values for SRT.

 gtk/service_response_time_table.c:

The SRT is broken if you hit the reload button or apply a filter. The table isn't cleared so each item in the list is duplicated and the second entries remain with initial values. This patch clears the GTK_CLIST so that the redundant entries no longer appear.


svn path=/trunk/; revision=17139
2006-02-01 06:09:55 +00:00
Anders Broman e5e25269c9 From Eric Hultin:
This patch adds support for dissection of the DCC packet as defined in 
CableLab's (http://www.cablelabs.com/) DOCSIS Radio Frequency Interface 
(RFI) specification. The latest version of this specification is currently 
available at 
http://www.cablemodem.com/specifications/specifications20.html . Packet 
formats for DCC are defined in sections 8.3.20 (DCC-REQ), 8.3.21 
(DCC-RSP), and 8.3.22 (DCC-ACK) of the RFI specifications (referencing 
version CM-SP-RFIv2.0-I10-051209). In addition, this patch adds support 
for the DCD packet as defined in the DOCSIS Set-Top Gateway (DSG) 
Specification. The latest version of this specification is currently 
available at http://www.cablemodem.com/specifications/gateway.html . The 
format of the DCD packet is defined in section 5.3.1 of the DSG 
specification (referencing version CM-SP-DSG-I06-051209).

svn path=/trunk/; revision=17138
2006-02-01 05:44:20 +00:00
Luis Ontanon c8dd927e0c It was hard.. but at the end I won (or at least i believe so...).
After install hello_world.lua works.


svn path=/trunk/; revision=17137
2006-01-31 22:22:05 +00:00
Anders Broman 42bf48fa74 Export dissector_handle_t get_itu_tcap_subdissector()
svn path=/trunk/; revision=17136
2006-01-31 19:39:55 +00:00
Anders Broman f22abb2933 Fix a typo
svn path=/trunk/; revision=17135
2006-01-31 18:35:36 +00:00