Mark Dominus on 8 Dec 2004 16:13:03 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Port 113


> What is the consensus on port 113/ident and having it running/open? 

Some IRC services in the past have required it, but I never liked it
much, so I threw away the standard identd server program and replaced
it with my own homebrewed version.  If you're not interested in
actually returning useful identification information, writing your own
identd server is trivial.  Here's mine:

        #!/usr/bin/perl

        $in = <STDIN>;
        chop($in) if $in =~ /\n$/;
        chop($in) if $in =~ /\r$/;
        ($a, $b) = split(/\s*,\s*/, $in);
        $rand = sprintf("%03d", 1000 * rand());
        $output =  "$a , $b : USERID : UNIX : nunya$rand\r\n";
        # $output =  "$a , $b : USERID : UNIX : upyours\r\n";
        print $output;
        exit;

Then you redirect any mail to nunya-whatever into the spam traps.

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug