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  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <55FA0F4A.3010105@hp.com>
Date:	Wed, 16 Sep 2015 17:54:34 -0700
From:	Rick Jones <rick.jones2@...com>
To:	Ani Sinha <ani@...sta.com>,
	"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: list of all network namespaces

On 09/16/2015 05:46 PM, Ani Sinha wrote:
> Hi guys
>
> just a stupid question. Is it possible to get a list of all active
> network namespaces in the kernel through /proc or some other
> interface?

Presumably you could copy what "ip netns" does, which appears to be to 
look in /var/run/netns .  At least that is what an strace of that 
command suggests.

rick jones

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ