{"action":"created","issue":{"url":"https://api.github.com/repos/thelounge/lounge/issues/686","repository_url":"https://api.github.com/repos/thelounge/lounge","labels_url":"https://api.github.com/repos/thelounge/lounge/issues/686/labels{/name}","comments_url":"https://api.github.com/repos/thelounge/lounge/issues/686/comments","events_url":"https://api.github.com/repos/thelounge/lounge/issues/686/events","html_url":"https://github.com/thelounge/lounge/issues/686","id":182368924,"number":686,"title":"Make it possible to listen to UNIX socket file","user":{"login":"ilmaisin","id":8974526,"avatar_url":"https://avatars.githubusercontent.com/u/8974526?v=3","gravatar_id":"","url":"https://api.github.com/users/ilmaisin","html_url":"https://github.com/ilmaisin","followers_url":"https://api.github.com/users/ilmaisin/followers","following_url":"https://api.github.com/users/ilmaisin/following{/other_user}","gists_url":"https://api.github.com/users/ilmaisin/gists{/gist_id}","starred_url":"https://api.github.com/users/ilmaisin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilmaisin/subscriptions","organizations_url":"https://api.github.com/users/ilmaisin/orgs","repos_url":"https://api.github.com/users/ilmaisin/repos","events_url":"https://api.github.com/users/ilmaisin/events{/privacy}","received_events_url":"https://api.github.com/users/ilmaisin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/thelounge/lounge/labels/enhancement","name":"enhancement","color":"2196F3"},{"url":"https://api.github.com/repos/thelounge/lounge/labels/security","name":"security","color":"EE3F46"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-11T20:42:18Z","updated_at":"2016-10-13T19:28:14Z","closed_at":null,"body":"Offering services to the world by listening some TCP high port is not particularly secure, since a hostile unprivileged user can replace the server with a hostile server that steals user's passwords shall the actual server crash.\r\n\r\nWhile this can be prevented with SELinux, it is quite a heavy-weight solution. My proposal is to allow listening of UNIX sockets. Then the reverse proxy or xinetd could be configured to redirect connections to that socket."},"comment":{"url":"https://api.github.com/repos/thelounge/lounge/issues/comments/253613843","html_url":"https://github.com/thelounge/lounge/issues/686#issuecomment-253613843","issue_url":"https://api.github.com/repos/thelounge/lounge/issues/686","id":253613843,"user":{"login":"ilmaisin","id":8974526,"avatar_url":"https://avatars.githubusercontent.com/u/8974526?v=3","gravatar_id":"","url":"https://api.github.com/users/ilmaisin","html_url":"https://github.com/ilmaisin","followers_url":"https://api.github.com/users/ilmaisin/followers","following_url":"https://api.github.com/users/ilmaisin/following{/other_user}","gists_url":"https://api.github.com/users/ilmaisin/gists{/gist_id}","starred_url":"https://api.github.com/users/ilmaisin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilmaisin/subscriptions","organizations_url":"https://api.github.com/users/ilmaisin/orgs","repos_url":"https://api.github.com/users/ilmaisin/repos","events_url":"https://api.github.com/users/ilmaisin/events{/privacy}","received_events_url":"https://api.github.com/users/ilmaisin/received_events","type":"User","site_admin":false},"created_at":"2016-10-13T19:28:14Z","updated_at":"2016-10-13T19:28:14Z","body":"I made a tentative request here: https://github.com/thelounge/lounge/pull/691\r\n\r\nThings that need yet to be done:\r\n\r\n- Modify the stdio output to tell when we listen to socket\r\n- Add a code to clean up old socket if the server has exited non-gracefully due to power outage or service crash\r\n- Possibly add a command line option for socket listening"}}
{"actor":{"display_login":"ilmaisin"}}