Security Basics mailing list archives
Re: Reflexive firewalls?
From: "0x90" <secbasics () spam gagspace com>
Date: Thu, 27 Dec 2007 19:28:35 +0100
Hi, My suggestion is google://iptables+recent+exampleThis is not perfect, it might not even be working, but your solution with nf would probably look something like this:
$IPTABLES -A INPUT -p TCP --dport 1234 \ -m recent --name knock --set -j ACCEPT $IPTABLES -A INPUT -p TCP --dport 22 -m recent \ --name knock --rcheck --seconds 120 --hitcount 1 -j ACCEPT Cheers, 0x90----- Original Message ----- From: "Danilo Chilene" <dchilene () impsat com>
To: "Ong Chin Kiat" <ong.chinkiat () gmail com> Cc: <security-basics () securityfocus com> Sent: Thursday, December 27, 2007 7:02 PM Subject: Re: Reflexive firewalls?
I know how do this with PF. Don't have any idea with iptables. :( Ong Chin Kiat wrote:Hi list, I've recently used an SSH server that had an interesting authentication mechanism. You first had to telnet to the machine on a certain port. After doing this (it will just time out - no prompt), you then SSH to the server in question. The telnet step has to be carried out, if not SSH will just time out. My question is, is this called reflexive firewalling, and can I duplicate this with iptables? Thanks.-- Danilo F. Chilene Especialista SO Global Crossing Limited Tel.: (55 11) 3957-2945 Cel.: (55 11) 8231-1851 danilo.chilene () globalcrossing com www.globalcrossing.com Att,
Current thread:
- Reflexive firewalls? Ong Chin Kiat (Dec 27)
- Re: Reflexive firewalls? Danilo Chilene (Dec 27)
- RE: Reflexive firewalls? Tom Corelis (Dec 27)
- Re: Reflexive firewalls? 0x90 (Dec 27)
- RE: Reflexive firewalls? benoni.martin (Dec 28)
- Re: Reflexive firewalls? korozion (Dec 28)
- Re: Reflexive firewalls? Ansgar -59cobalt- Wiechers (Dec 27)
- RE: Reflexive firewalls? Weir, Jason (Dec 28)
- Re: Reflexive firewalls? Nick Owen (Dec 28)
- <Possible follow-ups>
- RE:Reflexive firewalls? securitylists (Dec 27)
- RE: Reflexive firewalls? Jason M. Beauford (Dec 28)
- Re: Reflexive firewalls? nobledark (Dec 28)
- RE: Reflexive firewalls? krymson (Dec 28)
- Re: Reflexive firewalls? Danilo Chilene (Dec 27)