Description
By default, LNet is accepting connections only from "secure" (<1024) ports. If there are clients connecting using a wider range of ports, e.g. via NAT, the server is expected to have set lnet module parameter "accept" to "all", otherwise out-of-range connections are rejected with an error similar to the following:
LNetError: 6508:0:(acceptor.c:430:lnet_acceptor()) Refusing connection from 10.49.76.116: insecure port 60694
Currently to change the value of the "accept" parameter it is required to modify the /etc/modprobe.d/lustre.conf file and reload the module. It is proposed to allow setting "accept" parameter dynamically - it is less disruptive to do so compared to having to reload LNet just because a few clients using NAT got added.