{"action":"created","issue":{"url":"https://api.github.com/repos/fail2ban/fail2ban/issues/814","labels_url":"https://api.github.com/repos/fail2ban/fail2ban/issues/814/labels{/name}","comments_url":"https://api.github.com/repos/fail2ban/fail2ban/issues/814/comments","events_url":"https://api.github.com/repos/fail2ban/fail2ban/issues/814/events","html_url":"https://github.com/fail2ban/fail2ban/issues/814","id":42716500,"number":814,"title":"Hard coded path to syslog socket in server/server.py","user":{"login":"chtheis","id":1165504,"avatar_url":"https://avatars.githubusercontent.com/u/1165504?v=3","gravatar_id":"","url":"https://api.github.com/users/chtheis","html_url":"https://github.com/chtheis","followers_url":"https://api.github.com/users/chtheis/followers","following_url":"https://api.github.com/users/chtheis/following{/other_user}","gists_url":"https://api.github.com/users/chtheis/gists{/gist_id}","starred_url":"https://api.github.com/users/chtheis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chtheis/subscriptions","organizations_url":"https://api.github.com/users/chtheis/orgs","repos_url":"https://api.github.com/users/chtheis/repos","events_url":"https://api.github.com/users/chtheis/events{/privacy}","received_events_url":"https://api.github.com/users/chtheis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-09-14T09:09:56Z","updated_at":"2015-02-03T00:54:37Z","closed_at":null,"body":"server/server.py uses the hard coded path \"/dev/log\" as the path to syslog's unix socket. But that path is OS dependent, for FreeBSD it is /var/run/log and for Max OS X it is /var/run/syslog.\r\n\r\nI have no idea how to code that OS independent. For FreeBSD I patch the path during installation.\r\n"},"comment":{"url":"https://api.github.com/repos/fail2ban/fail2ban/issues/comments/72571369","html_url":"https://github.com/fail2ban/fail2ban/issues/814#issuecomment-72571369","issue_url":"https://api.github.com/repos/fail2ban/fail2ban/issues/814","id":72571369,"user":{"login":"leeclemens","id":1250267,"avatar_url":"https://avatars.githubusercontent.com/u/1250267?v=3","gravatar_id":"","url":"https://api.github.com/users/leeclemens","html_url":"https://github.com/leeclemens","followers_url":"https://api.github.com/users/leeclemens/followers","following_url":"https://api.github.com/users/leeclemens/following{/other_user}","gists_url":"https://api.github.com/users/leeclemens/gists{/gist_id}","starred_url":"https://api.github.com/users/leeclemens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leeclemens/subscriptions","organizations_url":"https://api.github.com/users/leeclemens/orgs","repos_url":"https://api.github.com/users/leeclemens/repos","events_url":"https://api.github.com/users/leeclemens/events{/privacy}","received_events_url":"https://api.github.com/users/leeclemens/received_events","type":"User","site_admin":false},"created_at":"2015-02-03T00:54:37Z","updated_at":"2015-02-03T00:54:37Z","body":"https://docs.python.org/2/library/logging.handlers.html\r\n\r\n[...] on Linux it’s usually ‘/dev/log’ but on OS/X it’s ‘/var/run/syslog’. You’ll need to check your platform and use the appropriate address (you may need to do this check at runtime if your application needs to run on several platforms)."}}