Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Ray Leach <raymondl@knowledgefactory.co.za>
To: Fritz Mesedilla <fritz.mesedilla@overturemedia.com>
Cc: "Netfilter Mailing List (E-mail)" <netfilter@lists.netfilter.org>
Subject: RE: anti-dos
Date: Thu, 29 Jan 2004 07:55:25 +0200	[thread overview]
Message-ID: <1075355725.1999.73.camel@raylinux.internal> (raw)
In-Reply-To: <F22386C3FEB012449238672E38ED61E71642B6@overlord.overturemedia.com>

[-- Attachment #1: Type: text/plain, Size: 2901 bytes --]

On Thu, 2004-01-29 at 05:34, Fritz Mesedilla wrote:
> I forgot to ask.
> I am putting this before the rest of my rules, right? Will this allow legit transaction to get through?
> 
Yes, the rules to redirect to the syn-flood chain must be the first
rules of each chain.
> Thanks.
> 
> 
> Cheers,
> 
> fritz <www.mesedilla.com>
> ---
> + Basta Ikaw Lord
> 
> 
> 
> 
> -----Original Message-----
> From: Ray Leach [mailto:raymondl@knowledgefactory.co.za]
> Sent: Wednesday, January 28, 2004 4:14 PM
> To: Netfilter Mailing List (E-mail)
> Subject: Re: anti-dos
> 
> 
> On Wed, 2004-01-28 at 09:18, Fritz Mesedilla wrote:
> > in preparation to sco's feb 1. dos attack, is there any special iptables rules that i can use to avoid dos attacks?
> > all i have right now is i blocked all ports then opened the mail and internet.
> > 
> > what else can i do for rules?
> > 
> You can use the limit support to limit packet rates:
> 
> ### syn-flood chain
> $IPTABLES -N syn-flood
> $IPTABLES -A syn-flood -i $IFACE_INET -m limit --limit 75/s
> --limit-burst 100 -j RETURN
> $IPTABLES -A syn-flood -i $IFACE_DMZ -m limit --limit 75/s --limit-burst
> 100 -j RETURN
> $IPTABLES -A syn-flood -i $IFACE_INT -j RETURN
> $IPTABLES -A syn-flood -j LOG --log-prefix "SYN-FLOOD: "
> $IPTABLES -A syn-flood -j DROP
> 
> $IPTABLES -A INPUT -i $IFACE_INT -p tcp --syn -j syn-flood
> $IPTABLES -A INPUT -i $IFACE_DMZ -p tcp --syn -j syn-flood
> $IPTABLES -A INPUT -i $IFACE_INET -p tcp --syn -j syn-flood
> 
> 
> > thanks.
> > 
> > 
> > Cheers,
> > 
> > fritz <www.mesedilla.com>
> > ---
> > + Basta Ikaw Lord
> > 
> > 
> > 
> > 
> > ----------------------------------------------------------------------
> > This email and any files transmitted with it are confidential and
> > intended solely for the use of the individual or entity to whom they
> > are addressed. If you have received this email in error please notify
> > the sender immediately by e-mail and delete this e-mail from your
> > system. Please note that any views or opinions presented in this
> > email are solely those of the author and do not necessarily represent
> > those of the company. Finally, the recipient should check this email
> > and any attachments for the presence of viruses. The company accepts
> > no liability for any damage caused by any virus transmitted by this
> > email. 
> > 
> > Overture Media, Inc.
> > Direct Line: (632) 635-4785
> > Trunkline:   (632) 631-8971 Local 146
> > Fax: (632) 637-2206
> > Level 1 Summit Media Offices, Robinsons Galleria EDSA Cor. Ortigas Ave., Quezon City 1100
-- 
--
Raymond Leach <raymondl@knowledgefactory.co.za>
Network Support Specialist
http://www.knowledgefactory.co.za
"lynx -source http://www.rchq.co.za/raymondl.asc | gpg --import"
Key fingerprint = 7209 A695 9EE0 E971 A9AD  00EE 8757 EE47 F06F FB28
--

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-01-29  5:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-29  3:34 anti-dos Fritz Mesedilla
2004-01-29  5:55 ` Ray Leach [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-01-29  3:30 anti-dos Fritz Mesedilla
2004-01-28  7:18 anti-dos Fritz Mesedilla
2004-01-28  8:14 ` anti-dos Ray Leach
2004-01-28 10:08   ` anti-dos Axel Heinrici
2004-01-28 10:35     ` anti-dos Ray Leach
2004-01-28 10:42       ` anti-dos Nilesh
2004-01-28 11:14         ` anti-dos Rob Sterenborg

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=1075355725.1999.73.camel@raylinux.internal \
    --to=raymondl@knowledgefactory.co.za \
    --cc=fritz.mesedilla@overturemedia.com \
    --cc=netfilter@lists.netfilter.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox