From: Santiago Vila <sanvila@unex.es>
To: John Lauro <johnalauro@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: iptables rules still working after being flushed (?)
Date: Sun, 15 Mar 2015 17:41:05 +0100 [thread overview]
Message-ID: <20150315164105.GA13867@cantor.unex.es> (raw)
In-Reply-To: <CADGd2Dr=g9KH91jeJt3a_HSsObrYOQszmaaxvUDHjO=k9-YjpQ@mail.gmail.com>
On Sun, Mar 15, 2015 at 12:21:19PM -0400, John Lauro wrote:
> As far as I know, when there is version coupling, it's only impacted those
> rules out of sync or missing between versions, and it's been pretty good
> about complaining.
>
> iptables -L -n will not show all the tables (just the filter tables, and so
> you probably didn't flush all the tables. There is also tables for nat,
> security, raw, and mangle.)
> Try running
> iptables-save (it just goes to stdout so it doesn't save it anywhere
> besides your terminal unless you tell it to)
Thanks a lot for trying, but no, that's not the problem.
I have never used any of those tables, so I would not need to flush
them, but in either case, and to be sure:
for t in nat security raw mangle; do iptables -t $t -L -n; done
Output:
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
and still I can't make more than 19 ssh connections in a row.
Where are the old tables stored and why do they work after I deleted them?
See what I said this is an X-File?
next prev parent reply other threads:[~2015-03-15 16:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-15 13:16 iptables rules still working after being flushed (?) Santiago Vila
[not found] ` <CADGd2Dr=g9KH91jeJt3a_HSsObrYOQszmaaxvUDHjO=k9-YjpQ@mail.gmail.com>
2015-03-15 16:41 ` Santiago Vila [this message]
2015-03-15 19:36 ` Bastian Bittorf
2015-03-15 18:21 ` Santiago Vila
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=20150315164105.GA13867@cantor.unex.es \
--to=sanvila@unex.es \
--cc=johnalauro@gmail.com \
--cc=netfilter@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox