NAME

Net::P0f::Backend::Socket - Back-end for Net::P0f that links to the P0f library

VERSION

Version 0.01

SYNOPSIS

use Net::P0f;

my $p0f = Net::P0f->new(backend => 'socket', socket_path => '/var/run/p0f.sock');
...

DESCRIPTION

This module is a back-end helper for Net::P0f. It provides an interface to pilot the p0f(1) utility using its local-socket.

See Net::P0f for more general information and examples.

METHODS

init()

This method initialize the backend-specific part of the object. It is automatically called by Net::P0f during the object creation.

Options

  • socket_path - indicates the path to the socket which can be used to query a P0f process.

run()
encode_p0f_query()
decode_p0f_response()

SEE ALSO

Net::P0f

AUTHOR

Sébastien Aperghis-Tramoni <sebastien@aperghis.net>

BUGS

Please report any bugs or feature requests to bug-net-p0f-xs@rt.cpan.org, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2004 Sébastien Aperghis-Tramoni, All Rights Reserved.

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