Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1444794

Re: [Nbd] [PATCH 2/2] nbd: Disallow ioctls on disconnected block device

From Alex Bligh <alex@alex.org.uk>
Newsgroups linux.kernel
Subject Re: [Nbd] [PATCH 2/2] nbd: Disallow ioctls on disconnected block device
Date 2016-07-16 11:40 +0200
Message-ID <rVueJ-25l-13@gated-at.bofh.it> (permalink)
References <rKf9o-F4-23@gated-at.bofh.it> <rNvB0-6gB-19@gated-at.bofh.it> <rNvB0-6gB-17@gated-at.bofh.it> <rVswi-YA-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 16 Jul 2016, at 08:42, Pranay Srivastava <pranjas@gmail.com> wrote:

> So instead can't we put a mechanism in place for network address + mac
> to be same
> for allowing clients to reconnect? Do let me know if this is not of concern.

MAC address?! nbd clients connect over IP, and if a router reboots
between them, you could easily see two packets from the same client
come from different MAC addresses. Similarly all clients not on
the same L2 network will carry the same MAC address. So MAC address
is a very poor indicator of 'same client'.

IP address is also a poor indicator (think NAT) but is substantially
less bad.

-- 
Alex Bligh

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH 2/2] nbd: Disallow ioctls on disconnected block device Pranay Srivastava <pranjas@gmail.com> - 2016-07-16 09:50 +0200
  Re: [Nbd] [PATCH 2/2] nbd: Disallow ioctls on disconnected block device Alex Bligh <alex@alex.org.uk> - 2016-07-16 11:40 +0200
    Re: [Nbd] [PATCH 2/2] nbd: Disallow ioctls on disconnected block device Pranay Srivastava <pranjas@gmail.com> - 2016-07-16 12:10 +0200
      Re: [Nbd] [PATCH 2/2] nbd: Disallow ioctls on disconnected block  device Wouter Verhelst <w@uter.be> - 2016-07-16 13:30 +0200
        Re: [Nbd] [PATCH 2/2] nbd: Disallow ioctls on disconnected block device Pranay Srivastava <pranjas@gmail.com> - 2016-07-16 15:40 +0200

csiph-web