Thread (12 messages) flat view 12 messages, 5 authors, 2015-12-17

Re: [PATCH v7 0/4] Support administratively closing application sockets

From: Eric Dumazet <hidden>
Date: 2015-12-16 23:35:37

On Wed, 2015-12-16 at 14:55 -0500, Jamal Hadi Salim wrote:
On 15-12-16 10:50 AM, Eric Dumazet wrote:
quoted
On Wed, 2015-12-16 at 07:43 -0800, Stephen Hemminger wrote:
quoted
I see no security checks in the diag infrastructure.
Up until now diag has been read-only access and therefore has been
allowed for all users.
It is still allowed to all users.

Only the 'destroy' operation is restricted.
The question i had was the opposite when i saw this: why are
regular users allowed to read admin (and any other users) details?;->
On this specific feature: why, as a regular user, I cant close
connections attributed to me (and have to use CAP_NET_ADMIN)?
I guess that we need to be careful here.

socket can be shared by fd passing to multiple users.

Who really owns it ?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help