Librenix  
(Show all Tutorial articles . . .
)  
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

Tutorial: Make a Stealth Server with Port Knocking

Up
vote
Down

Hide your secret SSH server (or whatever) and only open the port after the secret knock. This is a clever solution for private or login-required servers. [This article has been up a few months but is well worth a look. -Ed.]
Open ports remain a necessary vulnerability: they allow connections to applications but also may turn into open doors for attack. This article presents a new security system, termed port knocking, in which trusted users manipulate firewall rules by transmitting information across closed ports.

Briefly, users make connection attempts to sequences of closed ports. The failed connections are logged by the server-side packet filtering firewall and detected by a dæmon that monitors the firewall log file. When a properly formatted knock sequence, playing the role of the secret used in the authentication, is received, firewall rules are manipulated based on the information content of the sequence. This user-based authentication system is both robust, being mediated by the kernel firewall, and stealthy--it's not possible to detect whether a networked machine is listening for port knocks. Port knocking does not require any open ports, and it can be extended to transmit any type of information encoded in a port sequence.
 read more | mail this link | score:8198 | -Ray, February 6, 2004
More Sysadmin articles...

admin headlines

Tutorial: Build a Multiserver Web, Email, DNS and MySQL Database System on Debian 5.0

Set up software RAID1 on running LVM Ubuntu 10.04

KVM Virtualization on Fedora 13

Set up virt-install with Xen 4.0 guests on Ubuntu 10.04

mod_chroot: Chroot Apache2 on Fedora 12

Free book: GNU/Linux Advanced Administration

Linux/BSD physical security

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search


T-shirt gallery:  I Love Horses T-shirts
 

Articles are owned by their authors.   © 2000-2010 Ray Yeargin