TCP::Rebuild - Rebuild TCP streams to files on disk.
Version 0.01
Rebuilds TCP streams to plain text files on disk, one file per connection.
use TCP::Rebuild; my $r = TCP::Rebuild->new(); $r->rebuild('/path/to/file.pcap');
$r->rebuild('/path/to/file.pcap');
This method rebuilds a specific pcap file using the currently set options.
Will die if the file is not readable or if Net::LibNIDS cannot be initialised.
my $r = TCP::Rebuild->new;
This method constructs a new TCP::Rebuild object.
David Cannings <david at edeca.net>
Please report any bugs or feature requests to bug-tcp-rebuild at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=TCP-Rebuild. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-tcp-rebuild at rt.cpan.org
Things that would be nice to implement
Dump packet data to XML format
Allow caller to supply a filename template
Allow caller to supply a separator template
Optional encoding of packet data (e.g. Base64)
Introduce stream/packet statistics
You can find documentation for this module with the perldoc command.
perldoc TCP::Rebuild
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=TCP-Rebuild
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/TCP-Rebuild
CPAN Ratings
http://cpanratings.perl.org/d/TCP-Rebuild
Search CPAN
http://search.cpan.org/dist/TCP-Rebuild/
Many thanks to CPAN::Mini, which provided many ideas as I packaged this code into a module and shell script.
Copyright 2010 David Cannings.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install TCP::Rebuild, copy and paste the appropriate command in to your terminal.
cpanm
cpanm TCP::Rebuild
CPAN shell
perl -MCPAN -e shell install TCP::Rebuild
For more information on module installation, please visit the detailed CPAN module installation guide.