Mobile
tumbler.txt
Associated article: Practical Secure Port Knocking
Tags: Mobile Design
Published source code accompanying the article by John Graham-Cumming in which he examines port knocking, a security technique that allows access to sensitive ports if you know the secret knock. John implements it using the Tumbler protocol. Also see TUMBLER.ZIP.
Practical Secure Port Knocking
by John Graham-Cumming
Listing One
#!/usr/bin/perl -w
use strict;
my @knocks;
while ( <> ) {
my $packet = $_;
$packet =~ /^((d+.){3}d+).(d+) > ((d+.){3}d+).(d+)/;
my ($src_ip,$src_port,$dest_ip,$dest_port ) = ($1,$3,$4,$6);
if ( $...


