From: " Tobias Geiger" <tobias.geiger@web.de>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Hammer protection
Date: Mon, 01 Jul 2002 13:00:16 +0000 [thread overview]
Message-ID: <marc-lartc-102552848627928@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102552716626714@msgid-missing>
> Hi,
>
> Is it possible to use iptables as hammeprotection ?
>
> I want to deny a user who has just logged off .. for about 10seconds.
>
i think this is a application-logic-thing which can't be implemented that
easy only by one iptables-line
> I tried with this, but that didn't work. Maybe my mind is going
> completely in the wrong direction today? =)
>
> iptables -I INPUT -i eth0 -p tcp -s 0/0 -d $my_ip --dport 21 -m limit
> --limit 10/second --limit-burst 1 --tcp-flags ALL SYN -j ACCEPT
>
this rule blocks (afaik) every request after the 10th/second, no matter
s.o logged off or on ...
i think what u want must be done on application-level
or with an "magic) (and dirty) script which watches the ftp-log if s.o
loggs off, grep's it's ip and then blocks it for 10 seconds
but that not only sounds ugly :)
> Greetings,
>
> Joachim
>
>
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2002-07-01 13:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-01 12:40 [LARTC] Hammer protection Joachim Wickman
2002-07-01 13:00 ` Tobias Geiger [this message]
2002-07-01 17:51 ` Sebastian 'spax' Pape
2002-07-01 20:12 ` Joachim Wickman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-102552848627928@msgid-missing \
--to=tobias.geiger@web.de \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.