Improve IPv4 validation for Plugins and Jails in new UI
The plugin / jail creation when using a manual IPv4 / IPv6 address needs some improvement. The input box and tooltip both do not have any mention of the format expected, and unless the user happens to know its iocage in the backend, they may never guess the correct syntax.. For the record, its a syntax like the following: "igb0|192.168.0.50/24"
This needs to be fixed for 11.2. At BARE minimum we should have a tooltip that has an example. Ideally we have some regex which prevents submitting the form until the correct syntax is detected. Bonus points if we can make it "smarter" to detect different strings. I.E. if the user enters 192.168.0.50, the UI will toss on the /24 and default NIC for the user. If not, it could prompt for which network card to attach to.
#6 Updated by Timothy Moore II about 1 year ago
- Status changed from Ready for Testing to Failed Testing
Testing with FreeNAS System updated to FreeNAS-11.2-MASTER-201807160837:
Go to Jails/Add (Wizard). In “Configure Networking”, experiment with different entries in the IPv4 Address field and IPv4 Netmask field. IPv4 Address field will accept 188.8.131.52, 1234567, 1234.123, or any combination of 7 digits regardless of how many decimal points are present.