Andy Smith > IPTables-Log-0.0002 > IPTables::Log

Download:
IPTables-Log-0.0002.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.0002   Source  

NAME ^

IPTables::Log - Parse iptables/netfilter syslog messages.

SYNOPSIS ^

  use IPTables::Log;
  my $l = IPTables::Log->new;
  my $s = $l->create_set;
  my $r = $s->create_record({text => '...IN=eth0 OUT=eth1 MAC=00:...'});
  $r->parse;
  $s->add($r);

DEPENDENCIES ^

CONSTRUCTORS ^

Log->new

Creates a new IPTables::Log object.

METHODS ^

$log->create_set

Creates a new IPTables::Log::Set object.

See IPTables::Log::Set and IPTables::Log::Set::Record for further details.

CAVEATS ^

It parses log entries. It doesn't do much else, yet.

BUGS ^

None that I'm aware of ;-)

AUTHOR ^

This module was written by Andy Smith <andy.smith@netprojects.org.uk>.

COPYRIGHT ^

$Id: Log.pm 14 2009-10-20 14:08:56Z andys $

(c)2009 Andy Smith (http://andys.org.uk/)

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.