On Thu, Oct 22, 2020 at 4:47 PM David Laight <David.Laight@xxxxxxxxxx> wrote: > > From: Xin Long > > Sent: 22 October 2020 04:13 > ... > > I was thinking that by leaving it to 9899 by default users don't need to > > know the port when want to use it, and yet I didn't want to add another > > sysctl member. :D > > Could you make 1 mean 9899? still feel not good, since it's called 'udp_port'. I will add a note in ip-sysctl.rst: udp_port - INTEGER The listening port for the local UDP tunneling sock. Normally it's using the IANA-assigned UDP port number 9899 (sctp-tunneling). ... Thanks. > So: > 0 => disabled > 1 => default port > n => use port n > I doubt that disallowing port 1 is a problem! > > David > > - > Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK > Registration No: 1397386 (Wales)