Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Security-Basics
[Top] [All Lists]

Re: Reflexive firewalls?

Subject: Re: Reflexive firewalls?
Date: Thu, 27 Dec 2007 19:28:35 +0100

Hi,

My suggestion is google://iptables+recent+example

This 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,




<Prev in Thread] Current Thread [Next in Thread>