Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.320.358 Times

XML::IDMEF 0.11

  Date Added: February 08, 2010  |  Visits: 738

XML::IDMEF

Report Broken Link
Printer Friendly Version


Product Homepage
Download (114 downloads)



XML::IDMEF is a module for building/parsing IDMEF messages. QUICK START Below is an example of an Alert IDMEF message. < ?xml version="1.0" encoding="UTF-8"? > < !DOCTYPE IDMEF-Message PUBLIC "-//IETF//DTD RFC XXXX IDMEF v1.0//EN" "idmef-message.dtd" > < IDMEF-Message > < Alert > < Analyzer model="myids"/ > < Target > < Node > < name >mynode< /name > < /Node > < /Target > < AdditionalData meaning="data2" type="string" >value2< /AdditionalData > < AdditionalData meaning="data1" type="string" >value1< /AdditionalData > < /Alert > < /IDMEF-Message > The previous IDMEF message can be built with the following code snipset: use XML::IDMEF; my $idmef = new XML::IDMEF(); $idmef->add("AlertTargetNodename", "mynode"); $idmef->add("AlertAdditionalData", "value1", "data1"); $idmef->add("AlertAdditionalData", "value2", "data2"); $idmef->add("AlertAnalyzermodel", "myids"); print $idmef->out(); To automatically insert an Alert ident tag and set the CreateTime class to the current time, add the 2 lines: $idmef->create_ident(); $idmef->create_time(); and you will get (for example): < ?xml version="1.0" encoding="UTF-8"?> < !DOCTYPE IDMEF-Message PUBLIC "-//IETF//DTD RFC XXXX IDMEF v1.0//EN" "idmef-message.dtd"> < IDMEF-Message> < Alert ident="00003EDDDB4F10115110000780D0002"> < Analyzer model="myids"/> < CreateTime ntpstamp="0xc28859cf.0x0">2003-06-04-T11:43:11Z < Target> < Node> < name>mynode< /name> < /Node> < /Target> < AdditionalData meaning="data2" type="string">value2 < AdditionalData meaning="data1" type="string">value1 < /Alert> < /IDMEF-Message>.

Requirements: No special requirements
Platforms: Linux
Keyword: Additionaldata Alert Idmef Libraries Meaning Module Programming String Type Xml Xmlidmef
Users rating: 0/10

License: Freeware Size: 25.6 KB
USER REVIEWS
More Reviews or Write Review


XML::IDMEF RELATED
Libraries  -  XML::WBXML 0.03
XML::WBXML is a Perl module to convert between XML and WBXML using libwbxml2. SYNOPSIS use XML::WBXML; $wbxml = XML::WBXML::xml_to_wbxml($xml); $xml = XML::WBXML::wbxml_to_xml($wbxml); This module is a wrapper around Aymerick Jehannes...
52.22 KB  
Libraries  -  Convert::EBCDIC 0.06
Convert::EBCDIC, ascii2ebcdic, ebcdic2ascii is a Perl module for string conversion between EBCDIC and ASCII. SYNOPSIS use Convert::EBCDIC; $ascii_string = ebcdic2ascii($ebcdic_string); $ebcdic_string = ascci2ebcdic($ascii_string);...
5.12 KB  
Utilities  -  String Utilities 1.0
A module of string functions: Chop, Contains, various quoted/RegEx versions of NthField and Split, EditDistance, EndsWith, Hash, HexB, InStrReverse, padding, SoundEx, and much more.
30.72 KB  
Libraries  -  Convert::Translit 1.03
Convert::Translit, transliterate, build_substitutes is a Perl module for string conversion among numerous character sets. SYNOPSIS use Convert::Translit; $translator = new Convert::Translit($result_chset); $translator = new...
79.87 KB  
Libraries  -  Better String Library 7222006
Better String Library is an abstraction of a string data type which is superior to the C library char buffer string type and C++s std::string. The library is totally stand alone, portable (known to work with gcc/g++, MSVC++, Intel C++, WATCOM...
112.64 KB  
Libraries  -  XML::Code 0.04
XML::Diff is a Perl module for XML DOM-Tree based Diff & Patch Module. SYNOPSIS my $diff = XML::Diff->new(); # to generate a diffgram of two XML files, use compare. # $old and $new can be filepaths, XML as a string, # XML::LibXML::Document...
17.41 KB  
Libraries  -  XML::Diff 0.04
XML::Diff is a Perl module for XML DOM-Tree based Diff & Patch Module. SYNOPSIS my $diff = XML::Diff->new(); # to generate a diffgram of two XML files, use compare. # $old and $new can be filepaths, XML as a string, # XML::LibXML::Document...
17.41 KB  
Libraries  -  XML::Rules 0.18
XML::Rules is a Perl module that can parse XML & process tags by rules starting from leaves. SYNOPSIS use XML::Rules; $xml = ... ... ... ...
38.91 KB  
Libraries  -  Test::Unit::Runner::XML 0.1
Test::Unit::Runner::XML is a Perl module that can generate XML reports from unit test results. SYNOPSIS use Test::Unit::Runner::XML; mkdir("test_reports"); my $runner = Test::Unit::Runner::XML->new("test-reports"); $runner->start($test);...
3.07 KB  
Libraries  -  XML::Descent 0.0.4
XML::Descent is a Perl module for recursive descent XML parsing. SYNOPSIS use XML::Descent; # Create parser my $p = XML::Descent->new({ Input => $xml }); # Setup handlers $p->on(folder => sub { my ($elem, $attr) = @_; $p->on(url =>...
9.22 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB