All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Peter.Riley@hotpop.com
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: Old ip6t_REJECT.h header file in iptables include dir
Date: Thu, 23 Aug 2007 17:26:26 +0200	[thread overview]
Message-ID: <46CDA722.3040204@trash.net> (raw)
In-Reply-To: <46C56275.5080803@hotpop.com>

Peter Riley wrote:
> So the ip6tables firewall is configured to respond with tcp-reset,
> but the actual packet sent is as if it were icmp6-port-unreachable.
> 
> I traced this misbehavior to conflicting enumerations of constants in different
> header files from iptables vs netfilter:
> 
> 
> --- iptables-1.3.5/include/linux/netfilter_ipv6/ip6t_REJECT.h.REJECT6_header	2004-10-10 02:56:23.000000000 -0700
> +++ iptables-1.3.5/include/linux/netfilter_ipv6/ip6t_REJECT.h	2006-09-19 20:42:06.000000000 -0700
> @@ -4,13 +4,15 @@
>  enum ip6t_reject_with {
>  	IP6T_ICMP6_NO_ROUTE,
>  	IP6T_ICMP6_ADM_PROHIBITED,
> +	IP6T_ICMP6_NOT_NEIGHBOUR,
>  	IP6T_ICMP6_ADDR_UNREACH,
>  	IP6T_ICMP6_PORT_UNREACH,
> +	IP6T_ICMP6_ECHOREPLY,


Thanks a lot for tracking this done, seems we had an incompatible
header in iptables the entire time :(

Patch applied, thanks again.

      reply	other threads:[~2007-08-23 15:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-17  8:55 Old ip6t_REJECT.h header file in iptables include dir Peter Riley
2007-08-23 15:26 ` Patrick McHardy [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=46CDA722.3040204@trash.net \
    --to=kaber@trash.net \
    --cc=Peter.Riley@hotpop.com \
    --cc=netfilter-devel@lists.netfilter.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.