From: "Dmytro O. Redchuk" <dor@ldc.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] where s filtering done?
Date: Fri, 24 Jun 2005 11:51:20 +0000 [thread overview]
Message-ID: <20050624115120.GN6128@ldc.net> (raw)
In-Reply-To: <103339c805062309076e092497@mail.gmail.com>
On Fri, Jun 24, 2005 at 02:28:26PM +0300, Fatih D?zova wrote:
> Thank you! you are really great. I m sure I m getting make u bored
> with my questions due to being a newbie in iptables tool, but I wonder
> whether it could be done on a determined IP address or a port such as
> 80, instead of icmp packets?
> Thanks,
:-)
Surely.
(Have you ever read man iptables? Or any iptables tutorial? Would be very
helpful, really)
[-s source_addr]|[-d dest_addr] -p tcp [--sport www]|[--dport www]
instead of
--protocol icmp --icmp-type [echo-reply]|[echo-request]
To drop some packets which are going outside to remote www from local
machine:
# iptables -A OUTPUT \
-d <remote_IP> --dport www \
--match random --average 10 \
-j DROP
ps linux is great :-)
--
_,-=._ /|_/|
`-.} `=._,.-=-._., @ @._,
`._ _,-. ) _,.-'
` G.m-"^m`m' Dmytro O. Redchuk
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next prev parent reply other threads:[~2005-06-24 11:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-23 16:07 [LARTC] where s filtering done? Fatih Düzova
2005-06-23 20:48 ` Kiruthika Selvamani
2005-06-24 6:47 ` Dmytro O. Redchuk
2005-06-24 10:40 ` Fatih Düzova
2005-06-24 11:15 ` Dmytro O. Redchuk
2005-06-24 11:28 ` Fatih Düzova
2005-06-24 11:51 ` Dmytro O. Redchuk [this message]
2005-06-24 12:02 ` Fatih Düzova
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=20050624115120.GN6128@ldc.net \
--to=dor@ldc.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.