lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Sun, 5 Jan 2020 13:58:38 -0500
From:   Jon Masters <jcm@...masters.org>
To:     linux-kernel@...r.kernel.org
Subject: Re: nf_nat not running in a netns

Ignore. The below was exactly the problem.

It was broken. netns nat rules in CentOS7.7 kernel were exactly not working due to a bug. Sigh.

-- 
Computer Architect


> On Jan 4, 2020, at 10:51, Jon Masters <jcm@...masters.org> wrote:
> 
> Hi there,
> 
> Can anyone offer any reasons why the nat table chains for a netns wouldn’t be running?
> 
> Longer detail:
> 
> I’ve be playing with Kolla (containerized OpenStack) and the way they implement (virtual) routers for tenant networks is to create network namespaces with interfaces representing the ports plugged into the router. To translate addresses from internal to external networks, they apply D/SNAT rules within that netns. All of these are created and the interfaces are pingable, but the nat rules aren’t being run and the untranslated addresses are ultimately seen on the physical network once packets traverse out of the containers and to the external neutron interface.
> 
> Jon.
> 
> -- 
> Computer Architect
> 

Powered by blists - more mailing lists