From: "raptor@tvskat.net" <raptor@tvskat.net>
To: lartc@vger.kernel.org
Subject: [LARTC] Multiply targets ?
Date: Tue, 30 Nov 2004 08:59:11 +0000 [thread overview]
Message-ID: <20041130105911.3032a686@bugs> (raw)
hi,
I have two situation where I need two targets in one rule .......
First one
iptables -N syn-flood
iptables -A syn-flood -m limit --limit ${synConns} --limit-burst ${synBurst} -j RETURN
iptables -A syn-flood -j DROP
iptables -A protect -p tcp --syn -j syn-flood
Now I want to be able to say :
iptables -A syn-flood -m limit --limit ${synConns} --limit-burst ${synBurst} -j LOG --log-prefix Synflood -j RETURN
i.e. I want to return and log the event of syn flooding.... Next I want to be able for this rule to handle per-IP syn-floods automaticaly
but not globaly as it is now. How do u do this ?!!
And as a side effect view which one is the flooder in the syslog..
The next thing I want to do is instead :
iptables -A FORWARD -t mangle -s x.x.x.0/24 -j MARK --set-mark 7
I want it to act like this :
iptables -A FORWARD -t mangle -s x.x.x.0/24 -j MARK --set-mark 7 -j RETURN
i.e. mark and return, 'cause I have hundred of such rules and it is useless to scan them all for all packets .....
tia
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
reply other threads:[~2004-11-30 8:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20041130105911.3032a686@bugs \
--to=raptor@tvskat.net \
--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.