App-Bondage
view release on metacpan or search on metacpan
Global options
"listen_host"
(optional, default: *"0.0.0.0"*)
The host that Bondage accepts connections from. This is the host you use
to connect to Bondage.
"listen_port"
(required, no default)
The port Bondage binds to.
"listen_ssl"
(optional, default: *false*)
Set this to true if you want Bondage to require the use of SSL for
client connections. You'll need to have ssl.crt and ssl.key files in
Bondage's working directory. More information, see
<http://www.akadia.com/services/ssh_test_certificate.html>
"password"
networks:
freenode:
option1: value
option2: value
ircnet
option1: value
option2: value
Network-specific options
"bind_host"
(optional, default: *"0.0.0.0"*)
The host that Bondage binds to and connects to IRC from. Useful if you
have multiple IPs and want to choose which one to IRC from.
"server_host"
(required, no default)
The IRC server you want Bondage to connect to.
"server_port"
(optional, default: *6667*)
lib/App/Bondage.pm view on Meta::CPAN
$self->{resolver} = POE::Component::Client::DNS->spawn();
$self->{filter} = POE::Filter::Stackable->new(
Filters => [
POE::Filter::Line->new(),
POE::Filter::IRCD->new()
]
);
while (my ($network_name, $network) = each %{ $self->{config}{networks} }) {
my $irc = $self->{ircs}{$network_name} = POE::Component::IRC::State->spawn(
LocalAddr => $network->{bind_host},
Server => $network->{server_host},
Port => $network->{server_port},
Password => $network->{server_pass},
UseSSL => $network->{use_ssl},
Useipv6 => $network->{use_ipv6},
Nick => $network->{nickname},
Username => $network->{username},
Ircname => $network->{realname},
AwayPoll => $network->{away_poll},
Flood => $network->{flood},
lib/App/Bondage.pm view on Meta::CPAN
(optional, default: I<"0.0.0.0">)
The host that Bondage accepts connections from. This is the host you use to
connect to Bondage.
=head3 C<listen_port>
(required, no default)
The port Bondage binds to.
=head3 C<listen_ssl>
(optional, default: I<false>)
Set this to true if you want Bondage to require the use of SSL for client
connections. You'll need to have F<ssl.crt> and F<ssl.key> files in Bondage's
working directory. More information, see
L<http://www.akadia.com/services/ssh_test_certificate.html>
lib/App/Bondage.pm view on Meta::CPAN
networks:
freenode:
option1: value
option2: value
ircnet
option1: value
option2: value
=head2 Network-specific options
=head3 C<bind_host>
(optional, default: I<"0.0.0.0">)
The host that Bondage binds to and connects to IRC from. Useful if you have
multiple IPs and want to choose which one to IRC from.
=head3 C<server_host>
(required, no default)
The IRC server you want Bondage to connect to.
=head3 C<server_port>
( run in 2.675 seconds using v1.01-cache-2.11-cpan-2398b32b56e )