Re: [PATCH v2 1/1] Add check of clientaddr argument

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/05/2018 09:05 AM, Olga Kornievskaia wrote:
On Tue, Jun 5, 2018 at 11:53 AM, Ben Greear <greearb@xxxxxxxxxxxxxxx> wrote:
On 06/05/2018 08:51 AM, Olga Kornievskaia wrote:

If the user supplies a clientaddr value, it should be either
a special value of either IPv4/IPv6 any address or one of the
machine's network addresses. Otherwise, the use of an arbitrary
value of the clientaddr value is not allowed.


Is this finally going to let one bind to a local IP address?

No this patch only checks for the validity of the arguments for the
callback channel.

I have patches to do this for years now, would love to get that
feature upstream!

Have you posted those patches to the mailing list?

Yes, several times, years ago.

https://www.spinics.net/lists/linux-nfs/msg34811.html

My current trees are here, and the NFS patches are near the bottom of my
patch set.  I am not sure we specifically tested this with 4.16 kernel yet, but
we tested it on the 4.13 kernel:

https://github.com/greearb?tab=repositories

The nfs-utils-ct repo has the patches to make nfs-utils support this.

If you or anyone else would like to shepherd these into the kernel
it would be appreciated.

Thanks,
Ben

--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com

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



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux