AnyEvent-Porttracker
view release on metacpan or search on metacpan
Porttracker.pm view on Meta::CPAN
These are the username and password to use when authentication is required
(which it is in almost all cases, so these keys are normally mandatory).
=item tls => $bool
Enables or disables TLS (default: disables). When enabled, then the
connection will try to handshake a TLS connection before logging in. If
unsuccessful a fatal error will be raised.
Since most Porttracker/PortIQ boxes will not have a sensible/verifiable
certificate, no attempt at verifying it will be done (which means
man-in-the-middle-attacks will be trivial). If you want some form of
verification you need to provide your own C<tls_ctx> object with C<<
verify => 1, verify_peername => [1, 1, 1] >> or whatever verification mode
you wish to use.
=item tls_ctx => $tls_ctx
The L<AnyEvent::TLS> object to use. See C<tls>, above.
=item on_XYZ => $coderef
You can specify event callbacks either by sub-classing and overriding the
respective methods or by specifying code-refs as key-value pairs when
These are the username and password to use when authentication
is required (which it is in almost all cases, so these keys are
normally mandatory).
tls => $bool
Enables or disables TLS (default: disables). When enabled, then
the connection will try to handshake a TLS connection before
logging in. If unsuccessful a fatal error will be raised.
Since most Porttracker/PortIQ boxes will not have a
sensible/verifiable certificate, no attempt at verifying it will
be done (which means man-in-the-middle-attacks will be trivial).
If you want some form of verification you need to provide your
own "tls_ctx" object with "verify => 1, verify_peername => [1,
1, 1]" or whatever verification mode you wish to use.
tls_ctx => $tls_ctx
The AnyEvent::TLS object to use. See "tls", above.
on_XYZ => $coderef
You can specify event callbacks either by sub-classing and
overriding the respective methods or by specifying code-refs as
key-value pairs when constructing the object. You add or remove
event handlers at any time with the "event" method.
( run in 0.268 second using v1.01-cache-2.11-cpan-5467b0d2c73 )