AnyEvent-Ident
view release on metacpan or search on metacpan
Most of the time a client wanting to use the ident protocol expects to
find ident listening to port 113, which on many platforms (such as
UNIX) requires special privileges (such as root).
Under Linux you can use iptables to forward requests from port 113 to
an unprivileged port. I was able to use this incantation to forward
port 113 to port 8113:
# iptables -t nat -A PREROUTING -p tcp --dport 113 -j REDIRECT --to-port 8113
# iptables -t nat -I OUTPUT -p tcp -d 127.0.0.1 --dport 113 -j REDIRECT --to-port 8113
The first rule is sufficient for external clients, the second rule was
required for clients connecting via the loopback interface (localhost).
SEE ALSO
AnyEvent::Ident::Client
Client OO Interface
lib/AnyEvent/Ident.pm view on Meta::CPAN
Most of the time a client wanting to use the ident protocol expects to find
ident listening to port 113, which on many platforms (such as UNIX) requires
special privileges (such as root).
Under Linux you can use C<iptables> to forward requests from port 113 to
an unprivileged port. I was able to use this incantation to forward port 113
to port 8113:
# iptables -t nat -A PREROUTING -p tcp --dport 113 -j REDIRECT --to-port 8113
# iptables -t nat -I OUTPUT -p tcp -d 127.0.0.1 --dport 113 -j REDIRECT --to-port 8113
The first rule is sufficient for external clients, the second rule was required
for clients connecting via the loopback interface (localhost).
=head1 SEE ALSO
=over 4
=item L<AnyEvent::Ident::Client>
( run in 0.334 second using v1.01-cache-2.11-cpan-4e96b696675 )