FREE Subscription to Dr. Dobb’s Digest: Same Great Content, New Digital Edition
Site Archive (Complete)
Security
Email
Print
Reprint

add to:
Del.icio.us
Digg
Google
Furl
Slashdot
Y! MyWeb
Blink
November 01, 2004

Practical Secure Port Knocking

(Page 4 of 4)
November, 2004: Practical Secure Port Knocking

my ($sec,$min,$hour,$mday,$mon,$year) = gmtime(time);
my ($my_port,$my_ip) = sockaddr_in($socket->sockname);
my $me = inet_ntoa($my_ip);
my $hash = sha256_hex("$year$mon$mday$hour$min:$me:$secret");
$socket->send( "TUMBLER1: $hash" );

Example 3: A script named "tumbler" sends the knock.

Previous Page | 1 | 2 | 3 | 4
TOP 5 ARTICLES
No Top Articles.



MICROSITES
FEATURED TOPIC

ADDITIONAL TOPICS

INFO-LINK