{"action":"closed","issue":{"url":"https://api.github.com/repos/opnsense/core/issues/1553","repository_url":"https://api.github.com/repos/opnsense/core","labels_url":"https://api.github.com/repos/opnsense/core/issues/1553/labels{/name}","comments_url":"https://api.github.com/repos/opnsense/core/issues/1553/comments","events_url":"https://api.github.com/repos/opnsense/core/issues/1553/events","html_url":"https://github.com/opnsense/core/issues/1553","id":223593286,"number":1553,"title":"Adding valid hostname as firewall alias returns as invalid","user":{"login":"darkfires","id":4041530,"avatar_url":"https://avatars2.githubusercontent.com/u/4041530?v=4","gravatar_id":"","url":"https://api.github.com/users/darkfires","html_url":"https://github.com/darkfires","followers_url":"https://api.github.com/users/darkfires/followers","following_url":"https://api.github.com/users/darkfires/following{/other_user}","gists_url":"https://api.github.com/users/darkfires/gists{/gist_id}","starred_url":"https://api.github.com/users/darkfires/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkfires/subscriptions","organizations_url":"https://api.github.com/users/darkfires/orgs","repos_url":"https://api.github.com/users/darkfires/repos","events_url":"https://api.github.com/users/darkfires/events{/privacy}","received_events_url":"https://api.github.com/users/darkfires/received_events","type":"User","site_admin":false},"labels":[{"id":321637474,"url":"https://api.github.com/repos/opnsense/core/labels/cleanup","name":"cleanup","color":"5319e7","default":false}],"state":"closed","locked":false,"assignee":{"login":"fichtner","id":1915288,"avatar_url":"https://avatars3.githubusercontent.com/u/1915288?v=4","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},"assignees":[{"login":"fichtner","id":1915288,"avatar_url":"https://avatars3.githubusercontent.com/u/1915288?v=4","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/7","html_url":"https://github.com/opnsense/core/milestone/7","labels_url":"https://api.github.com/repos/opnsense/core/milestones/7/labels","id":2639517,"number":7,"title":"18.1","description":"","creator":{"login":"fichtner","id":1915288,"avatar_url":"https://avatars3.githubusercontent.com/u/1915288?v=4","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":40,"closed_issues":14,"state":"open","created_at":"2017-07-13T15:47:42Z","updated_at":"2017-08-05T22:35:31Z","due_on":"2018-01-25T08:00:00Z","closed_at":null},"comments":1,"created_at":"2017-04-22T21:14:04Z","updated_at":"2017-08-05T22:35:31Z","closed_at":"2017-08-05T22:35:31Z","body":"Adding a firewall alias with the hostname \"venus\" returns The alias name must be less than 32 etc.\r\n\r\nI tracked the problem down to etc/inc/util.inc is_validaliasname(), it calls getprotobyname($name), and because \"venus\" is in /etc/services it fails, but \"Venus\" works.  I feel this should be handled differently for names unless it could actually conflict with a protocol/service name (which hostnames cannot)."}}
{"actor":{"display_login":"fichtner"}}