Re: Error: interval overlaps with previous one (with previously valid configuration)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 19, 2018 at 08:42:52PM -0800, Jeff Kletsky wrote:
> With a previously valid configuration, which "includes" files into the main
> configuration, I get error messages with the HEAD of master on January 16,
> 2018 9afd72a883e391e366a1d75bb4e1705357e078e9
> 
> systemd[1]: Starting nftables...
> apu.allycomm.com nft[31431]: In file included from nftables.conf:396:6-34:
> apu.allycomm.com nft[31431]: ./dnat_targets.nft:45:9-23: Error: interval
> overlaps with previous one
> apu.allycomm.com nft[31431]:         ^^^^^^^^^^^^^^^
>
> Unfortunately, the error message both fails to identify what interval
> overlaps as well as failing to identify the location of the conflict.
> dnat_targets only has 23 lines. This feels like a similar problem to the
> "wrong-file" issues that were previously resolved.
>
> Guessing that the problem was caused by
> 
> commit 9a4b513014cfdeaad6d247b72a7924b3a536cfe9
> Author: Phil Sutter <phil@xxxxxx>
> Date:   Wed Jan 10 21:32:04 2018 +0100
> 
>     src: Don't merge adjacent/overlapping ranges
> 
>     [...]
> 
> 
> I have reverted back to the previous commit
> 
> commit 0b3ccd27e12d1df442aa3eac40a2ccb63d6c6407
> Author: Phil Sutter <phil@xxxxxx>
> Date:   Wed Jan 10 13:43:21 2018 +0100
> 
>     build: Restore per object CFLAGS
> 
> and at least have an operational system again.
> 
> 
> I don't see any commits in today's master branch after the 9a4b51 commit
> that seem to relate either to the interval regression, or to the problem
> with logging.
> 
> 
> How can I trace down this problem?

So we have two bugs here.

1) Could you make an example for us to reproduce the misleading error
reporting? Something that we can simply run here to reproduce the
issue would be great.

2) Is there really any overlap in the set that is defined in
dnat_targets, in those 23 lines, or this error is bogus?

Thanks!
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux