Bug #3342
Capitalized dhcp hostname can't be added to host groups
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-firewall-base | |||
Target version: | v6.7 | |||
Security class: | Resolution: | |||
Affected version: | v6.7 | NEEDINFO: | No |
Description
If a dhcp hostname contains a capital letter it can't be added to a group firewall object.
Steps to reproduce:
1. create a dhcp hostname starting with a capital letter (e.g. Pc-filippo)
2. create an host group firewall object and try to add Pc-filippo to it
3. hit SUBMIT and see the error: first letter, than only lower letters, numbers and symbols like "-" and "_"
Related issues
Associated revisions
Validate host group membersas HOSTNAME. Refs #3342
History
#1 Updated by Filippo Carletti over 5 years ago
- Target version set to v6.7
#2 Updated by Filippo Carletti over 5 years ago
Both RFC 952 and RFC 1123 allow capitalized names (in a case-insensitive manner).
#3 Updated by Davide Principi over 5 years ago
- Status changed from NEW to TRIAGED
- Assignee set to Davide Principi
- % Done changed from 0 to 20
#4 Updated by Davide Principi over 5 years ago
- Status changed from TRIAGED to MODIFIED
- Assignee deleted (
Davide Principi) - % Done changed from 20 to 60
Trivial fix
#5 Updated by Davide Principi over 5 years ago
- Status changed from MODIFIED to ON_QA
- % Done changed from 60 to 70
In nethserver-testing:
nethserver-firewall-base-2.10.2-1.1.ga2c29f1.ns6.noarch.rpm
nethserver-firewall-base-ui-2.10.2-1.1.ga2c29f1.ns6.noarch.rpm
#6 Updated by Davide Principi over 5 years ago
- Related to Bug #3333: Invalid TCP port range added
#7 Updated by Giacomo Sanchietti over 5 years ago
- Assignee set to Giacomo Sanchietti
#8 Updated by Giacomo Sanchietti over 5 years ago
- Status changed from ON_QA to VERIFIED
- Assignee deleted (
Giacomo Sanchietti) - % Done changed from 70 to 90
Created new host with capitalized letters:
[root@test1 Module]# db hosts show aaA.nethesis.it aaA.nethesis.it=remote Description= IpAddress=192.168.5.246
With old package, the web interface raises this error:
Members first letter, than only lower letters, numbers and symbols like "-" and "_"
After update, the host group is created:
[root@test1 Module]# db hosts show g1 g1=host-group Description= Members=aaA.nethesis.it
#9 Updated by Giacomo Sanchietti over 5 years ago
- Status changed from VERIFIED to CLOSED
- % Done changed from 90 to 100
- nethserver-firewall-base-2.10.3-1.ns6.noarch.rpm
- nethserver-firewall-base-ui-2.10.3-1.ns6.noarch.rpm
- nethserver-firewall-base-2.10.3-1.13.g971c51f.ns7.noarch.rpm
- nethserver-firewall-base-ui-2.10.3-1.13.g971c51f.ns7.noarch.rpm