aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2005-02-04Fix a couple of distcheck problems:Gerald Combs6-9/+9
Update conversation_new and find_conversation in plugin_api_list.c and associated files. Add packet-dcerpc-butc.h to the distribution. svn path=/trunk/; revision=13288
2005-02-04HFILL can't be used to initialize at run time.Guy Harris1-1/+1
svn path=/trunk/; revision=13286
2005-02-04albert chin:Jörg Mayer1-11/+14
The HP-UX compilers don't like non-constant initializers (C99'ism). Patch attached for plugins/mate/mate_setup.c. Fix a few warnings (change some () to (void)) svn path=/trunk/; revision=13274
2005-02-02From Jon Ringle:Anders Broman1-6/+6
1) Added a setup_frame parameter to conversation_t 2) Used the conversation_t next to maintain a list of conversations with the same src/dest tuple but different setup_frame number. 3) Changed the signature of find_conversation() and conversation_new() to pass in the frame number. 4) Adjusted packet-sdp to select RTP conversation if both m=audio and m=image are present, and T.38 conversation if only m=image is present. I expect that RTP/T.38 dissecting to be better, but I don't have a way to generate T.38 packets. svn path=/trunk/; revision=13245
2005-02-02From Jon Ringle:Anders Broman1-6/+6
1) Added a setup_frame parameter to conversation_t 2) Used the conversation_t next to maintain a list of conversations with the same src/dest tuple but different setup_frame number. 3) Changed the signature of find_conversation() and conversation_new() to pass in the frame number. 4) Adjusted packet-sdp to select RTP conversation if both m=audio and m=image are present, and T.38 conversation if only m=image is present. I expect that RTP/T.38 dissecting to be better, but I don't have a way to generate T.38 packets. svn path=/trunk/; revision=13244
2005-01-28use MATE (not mate) for protocol name and protocol treeUlf Lamping1-2/+2
svn path=/trunk/; revision=13191
2005-01-28A new patch for mate from Luis Ontanon:Lars Roland3-13/+19
- move mate_packet into packet-mate.c and remove it frome mate.h - supressed some warnings svn path=/trunk/; revision=13190
2005-01-28From Yoshihiro Oyama: get rid of _U_s in prototype declarations thatGuy Harris1-1/+1
lack variable names. svn path=/trunk/; revision=13188
2005-01-21From Luis Ontanon for Mate:Lars Roland4-10/+48
- supress some solaris compiler warnings - adds GopExpiration, GopIdleTimeout and GopLifetime parameters svn path=/trunk/; revision=13154
2005-01-17Add mate to the clean and distclean targetLars Roland1-0/+4
svn path=/trunk/; revision=13094
2005-01-17Add MATE to the list of plugins.Guy Harris1-1/+6
svn path=/trunk/; revision=13093
2005-01-16Some trivial warning fixes in mateJörg Mayer3-4/+4
svn path=/trunk/; revision=13073
2005-01-15Set fp to NULL before "load_loal_error()" is called, so we don't pass anGuy Harris1-1/+1
uninitalized variable to it. svn path=/trunk/; revision=13054
2005-01-15Add mate to the build process (plus a few whitespace changes)Jörg Mayer1-1/+1
svn path=/trunk/; revision=13051
2005-01-15Use -1 as a length value for "to the end of the tvbuff".Guy Harris2-2/+2
svn path=/trunk/; revision=13046
2005-01-13Welcome to the wonderful world of "make", wherein a command in a set ofGuy Harris1-1/+1
make rules must be indented with one or more tabs - no spaces, just tabs. I seem to remember a Stu Feldman quote somewhere in which he apologized for that requirement.... svn path=/trunk/; revision=13011
2005-01-12add some of the DCE/RPC functions to the plugin APIUlf Lamping7-6/+51
svn path=/trunk/; revision=13010
2005-01-12cleanup old files before generating xyzzy target (it drove me almost crazy ↵Ulf Lamping2-2/+9
to find out the right way to build this target correctly, so be a bit more "automatically" the next time) svn path=/trunk/; revision=13008
2005-01-12clarify text and describe libethereal.defUlf Lamping1-1/+10
Could someone have a look at this, as I'm not 100% sure if it's correct. svn path=/trunk/; revision=13005
2005-01-12From Tomer Shani :register_dissector callAnders Broman1-1/+3
svn path=/trunk/; revision=13004
2005-01-10One more patch for mate:Lars Roland6-192/+111
- renamed analyze_frame() into mate_analyze_frame(). - prepare mate to be statically linked - use report_open_failure() , report_read_failure() and report_failure() in case there's an error while loading the config - some cleanup in mate_util.c - some fixes and cleanup in examples and matelib svn path=/trunk/; revision=13001
2005-01-07Fix the signature of proto_register_subtree_array().Guy Harris1-2/+2
svn path=/trunk/; revision=12989
2005-01-07Fix the signature of proto_register_subtree_array().Guy Harris1-1/+1
svn path=/trunk/; revision=12988
2005-01-07From Luis Ontanon:Lars Roland6-150/+144
A new patch for mate - changed the default config file name to "" - avoid trying to confgure mate when the config filename is "" - add filename and line to config errors, that way one can actually find errors in config files - teady up the config error strings ( made them uniform ) - fixed a crash when missing index AVPs (Name,For,On etc) in config AVPLS - make sure we do not delete the config AVPs and AVPLs to avoid references to unsubscribed strings been left arround - fixed the len on LoALs - changed the way loal_from_file reports an error. - matelib/sip.mate was missing the Name in a PduDef (from Julien Leproust) - matelib/h225_ras had a wrong field name (from Julien Leproust) At this point mate is silent when it's not expressely configured by the user. From me: reduce compiler noise on MSVC svn path=/trunk/; revision=12985
2005-01-06From Luis Ontanon:Lars Roland5-8/+9
Fix some MSVC warnings in MATE svn path=/trunk/; revision=12969
2005-01-06From Luis Ontanon:Lars Roland4-49/+85
Another patch for mate: - adds a "GopTree={TRUE|FALSE}" attribute to Gogs - changes "ShowPduTree={NoTree|PduTree|FrameTree}" - adds "implicit stop" to Gops with no Stop declared svn path=/trunk/; revision=12968
2005-01-05From Chris Maynard: free a string obtained with "tvb_get_string()".Guy Harris1-1/+1
svn path=/trunk/; revision=12958
2005-01-02Cast the values passed to the <ctype.h> macros so as to avoidGuy Harris1-2/+2
sign-extending 8-bit characters. svn path=/trunk/; revision=12922
2005-01-01When computing a hash value based on, among other things, aGuy Harris1-1/+1
conversation, use the "index" member of the conversation_t - that lets you get a value that fits in a guint, but without provoking the warning you might get from a compiler if you cast a pointer to the conversation to a guint. svn path=/trunk/; revision=12916
2004-12-31Update some function declarations in the plugin apiLars Roland2-5/+5
svn path=/trunk/; revision=12903
2004-12-31From Luis Ontanon for Mate:Lars Roland7-134/+265
- moved gop and gog indexes into gopcfgs, which is a propedeutic change for upcoming changes in the way gops are to be grouped - changed the way gog-keys are kept in memory - every gopkey attribute is copied into the gop->extras to avoid redundancy in the configuration - added timers to gogs mate.gog_type.StartTime and mate.gog_type.Time - fixed a bug in scs_subscribe that mangled some strings - minor interface improvement to scs propedeutic to having types avp values in a future - changed medium and large into mate_medium and mate_large in the scs_collection - fixed Mode=Replace in Transforms, now it works - fixed a crash at reinit due to impropper initialization of mate_items svn path=/trunk/; revision=12902
2004-12-30We now require gint64/guint64 support to build Ethereal, so get rid ofGuy Harris1-56/+2
the #ifdefs. Don't use "%ll[doux]" - not all platforms use "ll" as the length specifier for 64-bit integers in formats. Use PRI[doux]64 instead, to handle platforms where some other length specifier is used. svn path=/trunk/; revision=12874
2004-12-30Regenerate.Guy Harris5-6/+6
svn path=/trunk/; revision=12870
2004-12-30Fix the declaration of "tap_queue_packet()" to match its new signature.Guy Harris1-1/+1
svn path=/trunk/; revision=12869
2004-12-25a lot of warnings removed, most of them about pointer to int casts without ↵Ulf Lamping2-33/+33
using the appropriate GLib macros svn path=/trunk/; revision=12832
2004-12-23Fixes for Mate from Luis Ontanon:Lars Roland9-136/+210
- fixes crash at reinit when DiscardPduData=TRUE: check if there's an avpl before deleting it. - mate.pdu_type.RelativeTime had a dual use, add mate.pdu_type.TimeInGop and leave the other alone. - other fixes related to times (they now seem to be right) - scs_subscribe doesn't use g_malloc anymore. it uses GMemChunks (I had to rename two GMemChunks to make MSVC happy) - fixes crash at reinit when DiscardPduData=TRUE: check if there's an avpl before deleting it. - mate.pdu_type.RelativeTime had a dual use, add mate.pdu_type.TimeInGop and leave the other alone. - other fixes related to times (they now seem to be right) - fixed few things at reinit: - reset last_id - remove the nodes in the items hash tables svn path=/trunk/; revision=12820
2004-12-16Patch for Mate Plugin.Lars Roland7-132/+152
From Luis Ontanon: - moves mate configuration from proto_register to proto_register_handoff - add the config file protocol preference - every item (gop,gog,pdu) has it's own ett - the tap doesn't do nothing, it just primes the tree - analyze_frame() what once was the tap now is called by the dissector - should work with tethereal now (to be tested) svn path=/trunk/; revision=12763
2004-12-13Update Xplugin_table.h, too. (Just by regenerating the X-files of the plugin ↵Lars Roland1-3/+3
api) svn path=/trunk/; revision=12747
2004-12-13change some signatures for some ber helpers from unsigned to signedRonnie Sahlberg1-3/+3
svn path=/trunk/; revision=12746
2004-12-13update of the asn2eth compiler to use the types ber_[choice|sequence]_t ↵Ronnie Sahlberg2-8/+8
instead of ber_[choice|sequence] regenerated all dissectors fixed the choice/sequence struct to use unsigned entities for class and tag (to reduce some compiler warning and because it should be signed quantities) svn path=/trunk/; revision=12740
2004-12-13yet another plugin update for GeneralizedTimeRonnie Sahlberg1-1/+1
svn path=/trunk/; revision=12738
2004-12-13rename generalized_time to the new name GeneralizedTime in the plugin directory.Ronnie Sahlberg5-5/+5
I didnt notice it since i never comple with plugins. svn path=/trunk/; revision=12737
2004-12-12Update for Mate from Luis Ontanon:Lars Roland6-52/+171
- make rd static (no purpose for it to be global) - remove outdated comments - add "PduCriteria" feature (as already stated in the wiki) - add "DiscardUnassignedPdu" feature (as already stated in the wiki) - removed ".Id" from abbrev for "mate.item_name" - in radius.mate: Don't use the port to determine the Gop key. svn path=/trunk/; revision=12735
2004-12-12Update the declaration of dissect_ber_integer() in the plugin apiLars Roland2-3/+2
svn path=/trunk/; revision=12729
2004-12-12Fixes for Mate Plugin:Lars Roland16-144/+140
As suggested by Martin Regner: - Use strtod() instead of strtof() From Luis Ontanon: - changes the id of mate items to be integer (the old string ID imposed a lenght limit and as mate fileds had become dynamic it makes no more sense anymore) - fixes a huge avp leak on reinit (every avp object was leaked when a new file was loaded) - adds the "Lib" AVP to the Action=Include AVPL to include definitions >from matelib - rename mate.[dll/so] to zzmate.[dll/so] so it gets initialized as the very last protocol (so that fields from every dissector can be used). svn path=/trunk/; revision=12728
2004-12-11New Plugin from Luis Ontanon:Lars Roland32-0/+6268
MATE -- Meta Analysis and Tracing Engine Won't be compiled by default. It is still not possible to link the plugin on Win32. svn path=/trunk/; revision=12716
2004-12-11Add functions to the old and the new plugin api for the MATE Plugin.Lars Roland6-7/+46
svn path=/trunk/; revision=12715
2004-12-10Get rid of C++/C99-style comments - not all C compilers accept them.Guy Harris1-1/+1
Fix some indentation. svn path=/trunk/; revision=12710
2004-11-29Make rtnet plugin compile again with MSVCLars Roland1-10/+15
and some white space cleanup. svn path=/trunk/; revision=12622
2004-11-24Export two versions of the Ethereal dissector, for use with encapsulatedGuy Harris1-3/+3
Ethernet frames, one for encapsulated frames that include an FCS and one for encapsulated frames that don't include an FCS. Use the appropriate versions. In the ISL dissector, do the same sort of processing we do in the Ethernet dissector to figure out whether the frame has a trailer or not and whether it has an FCS or not. svn path=/trunk/; revision=12593