This module is a unified framework to craft, send and receive packets at
layers 2, 3, 4 and 7.
Basically, you forge each layer of a frame (Net::Packet::IPv4 for layer 3,
Net::Packet::TCP for layer 4 ; for example), and pack all of this into a
Net::Packet::Frame object. Then, you can send the frame to the network, and
receive it easily, since the response is automatically searched for and
matched against the request.
Net::RabbitFoot is an AMQP(Advanced Message Queuing Protocol) client library,
that is intended to allow you to interact with AMQP-compliant message
brokers/servers such as RabbitMQ in an asynchronous fashion.
You can use Net::RabbitFoot to -
* Declare and delete exchanges
* Declare, delete, bind and unbind queues
* Set QoS
* Publish, consume, get, ack, recover and reject messages
* Select, commit and rollback transactions
Net::RabbitFoot is known to work with RabbitMQ versions 2.4.0 and version 0-8
of the AMQP specification.
This package sends wake-on-lan packets to turn on machines
that are wake-on-lan capable.
For now there is only one function in this package:
Net::Wake::by_udp(host, mac_address, [port]);
You can power on PCs by
perl -e 'use Net::Wake; Net::Wake::by_udp("192.168.0.1", "xx:xx:xx:xx:xx:xx");'
You can also specify broadcast address for `host'. It is useful in a
intelligent network.
Net::ARP can be used to create and send ARP packets and to get the mac address
of an ethernet interface or IP address.
Net::Analysis is a suite of modules that parse tcpdump files,
reconstruct TCP sessions from the packets, and provide a very
lightweight framework for writing protocol anaylsers.
Net::DLookup performs domain lookups for 2-letter and 3-letter top level
domains. It also verifies the validity of domain names by checking
punctuation, length, metacharacters, etc..
Net::Write provides a portable interface to open a network interface, and be
able to write raw data directly to the network.
The net-ping library provides a ping interface for Ruby. It includes separate
TCP, HTTP, LDAP, ICMP, UDP, WMI (for Windows) and external ping classes.
Corkscrew is a simple utility to help tunnel SSH connections through
web proxies.
Add the following line to your ~/.ssh/config file (replacing HOST and
PORT with your web proxy settings):
ProxyCommand /usr/local/bin/corkscrew HOST PORT %h %p
Net::Server is an extensible, generic Perl server engine. Net::Server combines
the good properties from Net::Daemon (0.34), NetServer::Generic (1.03), and
Net::FTPServer (1.0), and also from various concepts in the Apache Webserver.
Net::Server attempts to be a generic server as in Net::Daemon and
NetServer::Generic. It includes with it the ability to run as an inetd process
(Net::Server::INET), a single connection server (Net::Server or
Net::Server::Single), a forking server (Net::Server::Fork), or as a preforking
server (Net::Server::PreFork). In all but the inetd type, the server provides
the ability to connect to one or to multiple server ports.