[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a7e5f770-f88f-6e93-d054-d7ce879e5569@virtuozzo.com>
Date: Sun, 5 Nov 2017 23:56:32 +0300
From: Vasily Averin <vvs@...tuozzo.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org
Subject: How to identify net namespace in kernel messages?
On 2017-11-05 15:48, David Miller wrote:
> From: Vasily Averin <vvs@...tuozzo.com>
>> I doubt that pointer to freed net have value for someone except
>> developers, on the other hand it helps to speed up the problem
>> investigation.
>
> Any kernel pointer printed has value to attackers.
David, could you please advise how to identify net namespace in kernel messages?
In OpenVz we got many requests from host admins, they need to understand
which container triggered the message. In such cases we have added our custom
Container Id, but mainline lacks it.
I expected that mainline can use net pointer for such purposes,
nfsd does it for example:
NFSD: starting 90-second grace period (net ffff880e307fe240)
Now you recommend do not use net pointer.
However could you please advise some alternative?
Powered by blists - more mailing lists