AnyEvent-Finger
view release on metacpan or search on metacpan
Start listening to finger callbacks and call the given callback for
each request. See AnyEvent::Finger::Server for details on the options
and the callback.
CAVEATS
Finger is an oldish protocol and almost nobody uses it anymore.
Most finger clients do not have a way to configure an alternate port.
Binding to the default port 79 on Unix usually requires root. Running
AnyEvent::Finger::Server as root is not recommended.
Under Linux you can use iptables to forward requests to port 79 to an
unprivileged port. I was able to use this incantation to forward port
79 to port 8079:
# iptables -t nat -A PREROUTING -p tcp --dport 79 -j REDIRECT --to-port 8079
# iptables -t nat -I OUTPUT -p tcp -d 127.0.0.1 --dport 79 -j REDIRECT --to-port 8079
The first rule is sufficient for external clients, the second rule was
lib/AnyEvent/Finger.pm view on Meta::CPAN
Start listening to finger callbacks and call the given callback
for each request. See L<AnyEvent::Finger::Server> for details
on the options and the callback.
=head1 CAVEATS
Finger is an oldish protocol and almost nobody uses it anymore.
Most finger clients do not have a way to configure an alternate port.
Binding to the default port 79 on Unix usually requires root. Running
L<AnyEvent::Finger::Server> as root is not recommended.
Under Linux you can use C<iptables> to forward requests to port 79 to
an unprivileged port. I was able to use this incantation to forward port 79
to port 8079:
# iptables -t nat -A PREROUTING -p tcp --dport 79 -j REDIRECT --to-port 8079
# iptables -t nat -I OUTPUT -p tcp -d 127.0.0.1 --dport 79 -j REDIRECT --to-port 8079
The first rule is sufficient for external clients, the second rule was required
( run in 0.665 second using v1.01-cache-2.11-cpan-39bf76dae61 )