From: <mingching.tiew@redtone.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Measuring throughput
Date: Mon, 10 Feb 2003 02:50:20 +0000 [thread overview]
Message-ID: <marc-lartc-104484560216526@msgid-missing> (raw)
In-Reply-To: <marc-lartc-104455624311696@msgid-missing>
In the context of collecting stats, is there any difference between these
two ?
iptables -A udp-out
and
iptables -A udp-out -j RETURN
There is no mentioned about how to jump from existing
built-in/or predefined chains, I supposed it is something
like this ?
iptables -I FORWARD -j udp-out -p xxx -i xxx -o xxx --sport
xxx --dport xxx ....and so on
Insert is used here so that it get invoked before being handled by other
rules in the chain and
RETURN is used in the user defined chain so that existing firewall rules are
not disrupted.
Any comments ?
Rgds.
----- Original Message -----
From: "Patrik Hildingsson" <ph@kurd.nu>
To: <LARTC@mailman.ds9a.nl>
Sent: Friday, February 07, 2003 7:56 AM
Subject: Re: [LARTC] Measuring throughput
> > iptables -N udp-out
> > iptables -A udp-out -j accept
>
> Unless you really want to accept the packets, leave -j ACCEPT out (assuing
you have a rule that accepts the traffic later or your default policy is set
to ACCEPT). The packet and bytecounters will still increase.
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
prev parent reply other threads:[~2003-02-10 2:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-06 18:29 [LARTC] Measuring throughput Kenneth Porter
2003-02-06 19:04 ` Patrick Nehls
2003-02-06 20:41 ` Esteban Ribicic
2003-02-06 23:56 ` Patrik Hildingsson
2003-02-06 23:58 ` Jay Wineinger
2003-02-07 7:40 ` Stef Coene
2003-02-10 2:50 ` mingching.tiew [this message]
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-104484560216526@msgid-missing \
--to=mingching.tiew@redtone.com \
--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.