All of lore.kernel.org
 help / color / mirror / Atom feed
From: Amin Azez <azez@ufomechanic.net>
To: Jan Engelhardt <jengelh@computergmbh.de>
Cc: Patrick McHardy <kaber@trash.net>,
	Netfilter Developer Mailing List
	<netfilter-devel@vger.kernel.org>
Subject: Re: NF [PATCH 4/4] xt_gateway
Date: Mon, 03 Dec 2007 14:23:59 +0000	[thread overview]
Message-ID: <4754117F.5050806@ufomechanic.net> (raw)
In-Reply-To: <Pine.LNX.4.64.0712031517070.21880@fbirervta.pbzchgretzou.qr>

Jan Engelhardt wrote:
> On Nov 27 2007 13:33, Amin Azez wrote:
>   
>>>>> The version Jan posted doesn't match on mac but on IP address.
>>>>>           
>>>> It should be refusing to match mac if the ip's do match in the --gateway
>>>> match, because if the IP matches then the host is being addressed
>>>> directly and not as a gateway.
>>>> That's why it also checks IP.
>>>>
>>>> +    if (memcmp(&info->gateway_v4, &neigh->primary_key, tbl->key_len) != 0)
>>>> +        return false;
>>>>
>>>> It checks mac as the primary key of the neighbour table.
>>>>         
>>> The primary key is the IP address.
>>>       
>> thats true :-) Shame!
>> I can't even remember code I wrote 5 months back!
>>
>> So....
>>
>> And so unless Jan has a strong case, I think you are right that this
>> adds nothing extra that routing realms have, and possible causes some
>> surprises in some non-routing conditions.
>>
>> Although I still prefer it in routing cases, I admit there is no strong
>> case that you should prefer it.
>>     
>
> So, does this make xt_gateway "obsolete enough" for me to drop it from
> my trees?
>   

I'll still be using it. I don't think we can make a strong case for
Patrick to accept it.
Anyone with routing setup scripts can easily add realm to that.

Sam

  reply	other threads:[~2007-12-03 14:58 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-25 19:05 NF [PATCH 1/4] xt_owner Jan Engelhardt
2007-11-25 19:06 ` NF [PATCH 2/4] xt_TEE Jan Engelhardt
2007-11-25 19:39   ` Krzysztof Oledzki
2007-11-25 19:55     ` Jan Engelhardt
2007-11-25 20:22       ` Krzysztof Oledzki
2007-11-26  7:24   ` Patrick McHardy
2007-11-26 20:14     ` Jan Engelhardt
2007-11-27  0:12       ` Patrick McHardy
2007-12-05 17:24         ` nf_inet_address (was: NF [PATCH 2/4] xt_TEE) Jan Engelhardt
2007-12-05 17:35           ` Jan Engelhardt
2007-12-06  9:54             ` nf_inet_address Patrick McHardy
2007-11-25 19:06 ` NF [PATCH 3/4] xt_TCPOPTSTRIP Jan Engelhardt
2007-11-26  7:24   ` Patrick McHardy
2007-11-26 16:19     ` Jan Engelhardt
2007-11-26 16:19       ` Patrick McHardy
2007-11-26 16:25         ` Jan Engelhardt
2007-11-27 12:37           ` Patrick McHardy
2007-11-27 14:50             ` Jan Engelhardt
2007-11-27 15:25               ` Patrick McHardy
2007-11-25 19:07 ` NF [PATCH 4/4] xt_gateway Jan Engelhardt
2007-11-26  7:30   ` Patrick McHardy
2007-11-26  9:17     ` Amin Azez
2007-11-26 15:35       ` Patrick McHardy
2007-11-26 16:34         ` Amin Azez
2007-11-27  0:19           ` Patrick McHardy
2007-11-27  9:33             ` Amin Azez
2007-11-27 13:03               ` Patrick McHardy
2007-11-27 13:33                 ` Amin Azez
2007-12-03 14:19                   ` Jan Engelhardt
2007-12-03 14:23                     ` Amin Azez [this message]
2007-11-25 19:07 ` IPT [PATCH 1/4] libxt_owner Jan Engelhardt
2007-11-25 19:08   ` IPT [PATCH 2/4] libxt_TEE Jan Engelhardt
2007-11-25 19:08   ` IPT [PATCH 3/4] libxt_TCPOPTSTRIP Jan Engelhardt
2007-11-25 19:08   ` IPT [PATCH 4/4] libxt_gateway Jan Engelhardt
2007-11-26  7:12 ` NF [PATCH 1/4] xt_owner Patrick McHardy

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=4754117F.5050806@ufomechanic.net \
    --to=azez@ufomechanic.net \
    --cc=jengelh@computergmbh.de \
    --cc=kaber@trash.net \
    --cc=netfilter-devel@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.