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

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

Serving Software Downloads in 976 Categories, Downloaded 29.612.781 Times

XML::IDMEF 0.11

  Date Added: February 08, 2010  |  Visits: 573

XML::IDMEF

Report Broken Link
Printer Friendly Version


Product Homepage
Download (91 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  
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  
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  -  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  -  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  -  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  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.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...
2.73 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