{"action":"created","issue":{"url":"https://api.github.com/repos/opnsense/core/issues/682","labels_url":"https://api.github.com/repos/opnsense/core/issues/682/labels{/name}","comments_url":"https://api.github.com/repos/opnsense/core/issues/682/comments","events_url":"https://api.github.com/repos/opnsense/core/issues/682/events","html_url":"https://github.com/opnsense/core/issues/682","id":127435274,"number":682,"title":"illegal alias names error message","user":{"login":"andreas-p","id":7279540,"avatar_url":"https://avatars.githubusercontent.com/u/7279540?v=3","gravatar_id":"","url":"https://api.github.com/users/andreas-p","html_url":"https://github.com/andreas-p","followers_url":"https://api.github.com/users/andreas-p/followers","following_url":"https://api.github.com/users/andreas-p/following{/other_user}","gists_url":"https://api.github.com/users/andreas-p/gists{/gist_id}","starred_url":"https://api.github.com/users/andreas-p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreas-p/subscriptions","organizations_url":"https://api.github.com/users/andreas-p/orgs","repos_url":"https://api.github.com/users/andreas-p/repos","events_url":"https://api.github.com/users/andreas-p/events{/privacy}","received_events_url":"https://api.github.com/users/andreas-p/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/opnsense/core/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"fichtner","id":1915288,"avatar_url":"https://avatars.githubusercontent.com/u/1915288?v=3","gravatar_id":"","url":"https://api.github.com/users/fichtner","html_url":"https://github.com/fichtner","followers_url":"https://api.github.com/users/fichtner/followers","following_url":"https://api.github.com/users/fichtner/following{/other_user}","gists_url":"https://api.github.com/users/fichtner/gists{/gist_id}","starred_url":"https://api.github.com/users/fichtner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fichtner/subscriptions","organizations_url":"https://api.github.com/users/fichtner/orgs","repos_url":"https://api.github.com/users/fichtner/repos","events_url":"https://api.github.com/users/fichtner/events{/privacy}","received_events_url":"https://api.github.com/users/fichtner/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/opnsense/core/milestones/3","html_url":"https://github.com/opnsense/core/milestones/16.7","labels_url":"https://api.github.com/repos/opnsense/core/milestones/3/labels","id":1478374,"number":3,"title":"16.7","description":"","creator":{"login":"fichtner","id":1915288,"avatar_url":"https://avatars.githubusercontent.com/u/1915288?v=3","gravatar_id":"","url":"https://api.github.com/users/fichtner","html_url":"https://github.com/fichtner","followers_url":"https://api.github.com/users/fichtner/followers","following_url":"https://api.github.com/users/fichtner/following{/other_user}","gists_url":"https://api.github.com/users/fichtner/gists{/gist_id}","starred_url":"https://api.github.com/users/fichtner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fichtner/subscriptions","organizations_url":"https://api.github.com/users/fichtner/orgs","repos_url":"https://api.github.com/users/fichtner/repos","events_url":"https://api.github.com/users/fichtner/events{/privacy}","received_events_url":"https://api.github.com/users/fichtner/received_events","type":"User","site_admin":false},"open_issues":33,"closed_issues":8,"state":"open","created_at":"2015-12-30T17:20:32Z","updated_at":"2016-01-24T12:24:02Z","due_on":"2016-07-20T22:00:00Z","closed_at":null},"comments":1,"created_at":"2016-01-19T12:30:28Z","updated_at":"2016-01-24T12:26:12Z","closed_at":null,"body":"Apparently, the name \"monitor\" is illegal as ip host alias name. The error message says \"The alias name must be less than 32 characters long and may only consist of the characters a-z, A-Z, 0-9, _.\" which is obviously misleading. Looking at util.inc, is_validaliasname checks some reserved words, and returns NULL instead of false, so it should be easy to change the error message. Maybe a hint, what kind of words may conflict, would be nice."},"comment":{"url":"https://api.github.com/repos/opnsense/core/issues/comments/174290255","html_url":"https://github.com/opnsense/core/issues/682#issuecomment-174290255","issue_url":"https://api.github.com/repos/opnsense/core/issues/682","id":174290255,"user":{"login":"fichtner","id":1915288,"avatar_url":"https://avatars.githubusercontent.com/u/1915288?v=3","gravatar_id":"","url":"https://api.github.com/users/fichtner","html_url":"https://github.com/fichtner","followers_url":"https://api.github.com/users/fichtner/followers","following_url":"https://api.github.com/users/fichtner/following{/other_user}","gists_url":"https://api.github.com/users/fichtner/gists{/gist_id}","starred_url":"https://api.github.com/users/fichtner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fichtner/subscriptions","organizations_url":"https://api.github.com/users/fichtner/orgs","repos_url":"https://api.github.com/users/fichtner/repos","events_url":"https://api.github.com/users/fichtner/events{/privacy}","received_events_url":"https://api.github.com/users/fichtner/received_events","type":"User","site_admin":false},"created_at":"2016-01-24T12:26:12Z","updated_at":"2016-01-24T12:26:12Z","body":"it looks into a long list of protocol names in /etc/services\r\n\r\nthe whole thing seems counter-intuitive, I'll ditch the checks and prefix the alias to void (potential) namespace conflicts"}}