From: "Sebastian 'spax' Pape" <pape@rbg.informatik.tu-darmstadt.de>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Hammer protection
Date: Mon, 01 Jul 2002 17:51:06 +0000 [thread overview]
Message-ID: <marc-lartc-102554595814940@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102552716626714@msgid-missing>
hi Joachim,
> I want to deny a user who has just logged off .. for about
> 10seconds.
I think you can only limit the number of syn-pakets like you already
proposed.
> 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
I'm not sure, but I think you just mixed the parameters up. --limit
10/second allows 10 SYN pakets per second so if you only want one
paket per 10 seconds you should perhaps try 6/minute or maybe say
1/minute and set the limit-bust to 3 or so.
best regards
Sebastian
--
Sebastian 'spax' Pape | I'm like time ... u can't stop me!
mailto: sebastian@p-a-p-e.de |
gpg: http://p-a-p-e.de/gpg.asc |
--- Do you want to know more? http://www.p-a-p-e.de/ ---
_______________________________________________
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 17:51 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
2002-07-01 17:51 ` Sebastian 'spax' Pape [this message]
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-102554595814940@msgid-missing \
--to=pape@rbg.informatik.tu-darmstadt.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.