netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Dâniel Fraga" <fragabr@gmail.com>
To: Noel Kuntze <noel@familie-kuntze.de>
Cc: "Jozsef Kadlecsik" <kadlec@blackhole.kfki.hu>,
	"Remzi AKYÜZ" <linuxliste@gmail.com>,
	netfilter@vger.kernel.org, netfilter-devel@vger.kernel.org
Subject: Re: Linux 4.3.1 regression: -m state returns "Protocol wrong type for socket"
Date: Sat, 12 Dec 2015 14:06:55 -0200	[thread overview]
Message-ID: <566c4622.936d810a.ece67.ffffdfc9@mx.google.com> (raw)
In-Reply-To: <566C0E75.6080800@familie-kuntze.de>

On Sat, 12 Dec 2015 13:09:25 +0100
Noel Kuntze <noel@familie-kuntze.de> wrote:

> - -m state has been deprecated for some time though.
> Please try using -m conntrack instead. It offers more
> functionality and is not considered deprecated.
> Translation of -m state to --m conntrack:
> - -m state --state foo,bar -> -m conntrack --ctstate foo,bar

	I tried this:

iptables -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT

	And I got the same error:

iptables: Protocol wrong type for socket.

	I'm afraid something has changed between 4.3.0 and 4.3.1 kernel
and some module isn't loading correctly. Here are the loaded modules:

xt_conntrack            3401  0 
x_tables               15108  7 xt_comment,ip_tables,xt_tcpudp,xt_conntrack,xt_LOG,iptable_filter,ipt_REJECT
nf_conntrack_ftp        6750  0 
nf_conntrack           56108  2 xt_conntrack,nf_conntrack_ftp

	Is there something missing?

-- 
Linux 4.3.2: Blurry Fish Butt
http://www.youtube.com/DanielFragaBR
http://exchangewar.info
Bitcoin: 12H6661yoLDUZaYPdah6urZS5WiXwTAUgL

  reply	other threads:[~2015-12-12 16:07 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <n4g4s8$4pr$1@ger.gmane.org>
     [not found] ` <566BEF33.7090501@gmail.com>
2015-12-12 10:18   ` Linux 4.3.1 regression: -m state returns "Protocol wrong type for socket" Jozsef Kadlecsik
2015-12-12 11:50     ` Remzi AKYÜZ
2015-12-12 12:04       ` Jozsef Kadlecsik
2015-12-12 12:09         ` Noel Kuntze
2015-12-12 16:06           ` Dâniel Fraga [this message]
2015-12-12 19:32             ` Pablo Neira Ayuso
2015-12-12 19:35               ` Dâniel Fraga
2015-12-12 19:42               ` Dâniel Fraga
2015-12-12 23:20             ` Florian Westphal
2015-12-12 23:31               ` Dâniel Fraga
2015-12-12 23:34                 ` Jan Engelhardt
2015-12-13  0:05                   ` Dâniel Fraga
2015-12-13  0:30                     ` Jan Engelhardt
2015-12-13  0:32                       ` Dâniel Fraga
2015-12-13  0:47                         ` Jan Engelhardt
2015-12-14 20:47                           ` Jozsef Kadlecsik
2015-12-14 20:55                             ` Pablo Neira Ayuso
2015-12-14 21:19                               ` Jozsef Kadlecsik
2015-12-14 21:21                                 ` Jozsef Kadlecsik
2015-12-12 19:10           ` Pablo Neira Ayuso
2015-12-12 19:22             ` Noel Kuntze
2015-12-12 19:22               ` Noel Kuntze
2015-12-12 19:38               ` Pablo Neira Ayuso
2015-12-12 19:34             ` Dâniel Fraga

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=566c4622.936d810a.ece67.ffffdfc9@mx.google.com \
    --to=fragabr@gmail.com \
    --cc=kadlec@blackhole.kfki.hu \
    --cc=linuxliste@gmail.com \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=netfilter@vger.kernel.org \
    --cc=noel@familie-kuntze.de \
    /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;
as well as URLs for NNTP newsgroup(s).