NAME
Suricata::Ping - Reads in a suricata config and sends a ping to the specifid interface.
VERSION
Version 0.0.1
SYNOPSIS
Quick summary of what the module does.
Perhaps a little code snippet.
use Suricata::Ping;
my $suricata_ping;
eval {
$suricata_ping=Suricata::Ping->new(
config_file=>'/usr/local/etc/suricata/config.yaml'
);
};
if ($@) {
print $@."\n";
exit 1;
}
$suricata_ping->ping;
SUBROUTINES/METHODS
new
Initiates the object.
- config_file :: The Suricata config to read in.
- default :: undef
- pattern :: Pattern to use with the ping.
- default :: e034o31qwe9034oldlAd31qdgf3
- ip :: The IP to ping.
- default :: 8.8.8.8
- section :: The config section of the config to use.
- default, Linux :: af_packet
- default, other :: pcap
- count :: Number of packets to send.
- default :: 5
ping
Pings each interface.
This does not return any status or the like.
This requires ping be in the current path.
$suricata_ping->ping;
AUTHOR
Zane C. Bowers-Hadley, <vvelox at vvelox.net>
BUGS
Please report any bugs or feature requests to bug-suricata-ping at rt.cpan.org, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Suricata-Ping. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Suricata::Ping
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
This software is Copyright (c) 2026 by Zane C. Bowers-Hadley.
This is free software, licensed under:
The GNU Lesser General Public License, Version 2.1, February 1999