github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

bingos / parse-iaslog

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 1
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (2)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (2)
    • 1.10
    • 1.08
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

(perl) A parser for Microsoft IAS-formatted log entries — Read more

  cancel

http://search.cpan.org/dist/Parse-IASLog/

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Makefile.PL: auto_license, auto_provides and githubmeta 
Chris Williams (author)
Mon May 25 14:26:24 -0700 2009
commit  bd6409c7369c42f73f2dc7365b16f329efaf9903
tree    d3767c67cf8401c42ce0d60bd451c116d411cec2
parent  a7a7dbf54db8ec337fe5397145f81a72ffd9683e
parse-iaslog /
name age
history
message
file Changes Loading commit data...
file MANIFEST
file Makefile.PL
file README
directory examples/
directory lib/
directory t/
directory xt/
README
NAME
    Parse::IASLog - A parser for Microsoft IAS-formatted log entries.

SYNOPSIS
    Function Interface:

      use strict;
      use Data::Dumper;
      use Parse::IASLog;

      while (<>) {
            chomp;
            my $record = parse_ias( $_ );
            next unless $record;
            print Dumper( $record );
      }

    Object Interface:

      use strict;
      use Data::Dumper;
      use Parse::IASLog;

      my $ias = Parse::IASLog->new();

      while (<>) {
            chomp;
            my $record = $ias->parse( $_ );
            next unless $record;
            print Dumper( $record );
      }

DESCRIPTION
    Parse::IASLog provides a convenient way of parsing lines of text that
    are formatted in Microsoft Internet Authentication Service (IAS) log
    format, where attributes are logged as attribute-value pairs.

    The parser takes lines of IAS-formatted text and returns on successful
    parsing a hashref record containing the applicable RADIUS attributes and
    values.

    The module provides a perl implementation of the Iasparse tool.

FUNCTION INTERFACE
    Using the module automagically imports 'parse_ias' into your namespace.

    parse_ias
        Takes a string of IAS-formatted text. Returns a hashref on success
        or undef on failure. See below for the format of the hashref
        returned.

OBJECT INTERFACE
  CONSTRUCTOR
    new Creates a new Parse::IASLog object.

  METHODS
    parse
        Takes a string of IAS-formatted text. Returns a hashref on success
        or undef on failure.

        The hashref will contain RADIUS attributes as keys. The following
        'header' attributes should always be present:

          'NAS-IP-Address', The IP address of the NAS sending the request;
          'User-Name', The user name that is requesting access;
          'Record-Date', The date that the log was written;
          'Record-Time', The time that the log was written;
          'Service-Name', The name of the service that is running in the RADIUS server;
          'Computer-Name', The name of the RADIUS server;

AUTHOR
    Chris "BinGOs" Williams <chris@bingosnet.co.uk>

SEE ALSO
    <http://technet.microsoft.com/en-us/network/bb643123.aspx>

    <http://en.wikipedia.org/wiki/RADIUS>

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server