Re: [PATCH net-next] net: Fail explicit bind to local reserved ports

2019-09-03 Thread Subash Abhinov Kasiviswanathan
I don't know how happy I am about this. Whatever sets up the transparent proxy business can block any attempt to communicate over these ports. Also, protocols like SCTP need the new handling too. Hi David The purpose of this patch was to allow the transparent proxy application to block the s

Re: [PATCH net-next] net: Fail explicit bind to local reserved ports

2019-08-30 Thread David Miller
From: Subash Abhinov Kasiviswanathan Date: Wed, 28 Aug 2019 21:26:54 -0600 > Reserved ports may have some special use cases which are not suitable > for use by general userspace applications. Currently, ports specified > in ip_local_reserved_ports will not be returned only in case of > automatic

[PATCH net-next] net: Fail explicit bind to local reserved ports

2019-08-29 Thread Subash Abhinov Kasiviswanathan
Reserved ports may have some special use cases which are not suitable for use by general userspace applications. Currently, ports specified in ip_local_reserved_ports will not be returned only in case of automatic port assignment. In some cases, it maybe required to prevent the host from assigning