{"action":"created","issue":{"url":"https://api.github.com/repos/gelnior/pschecker/issues/6","repository_url":"https://api.github.com/repos/gelnior/pschecker","labels_url":"https://api.github.com/repos/gelnior/pschecker/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/gelnior/pschecker/issues/6/comments","events_url":"https://api.github.com/repos/gelnior/pschecker/issues/6/events","html_url":"https://github.com/gelnior/pschecker/issues/6","id":310766705,"number":6,"title":"Firewall detection KO","user":{"login":"nicofrand","id":3419050,"avatar_url":"https://avatars3.githubusercontent.com/u/3419050?v=4","gravatar_id":"","url":"https://api.github.com/users/nicofrand","html_url":"https://github.com/nicofrand","followers_url":"https://api.github.com/users/nicofrand/followers","following_url":"https://api.github.com/users/nicofrand/following{/other_user}","gists_url":"https://api.github.com/users/nicofrand/gists{/gist_id}","starred_url":"https://api.github.com/users/nicofrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicofrand/subscriptions","organizations_url":"https://api.github.com/users/nicofrand/orgs","repos_url":"https://api.github.com/users/nicofrand/repos","events_url":"https://api.github.com/users/nicofrand/events{/privacy}","received_events_url":"https://api.github.com/users/nicofrand/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-03T09:48:33Z","updated_at":"2018-04-03T10:01:25Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI can see you added a check about firewalls (\\o/):\r\n\r\n```\r\nA firewall should be up and running: KO\r\n* No firewall is running.\r\n```\r\n\r\nHowever I *do* have a firewall running (and I did launch *pschecker* with root). I use iptables, here is an extract for example:\r\n\r\n```\r\n# iptables -L                \r\nChain INPUT (policy DROP)\r\ntarget     prot opt source               destination         \r\nfail2ban-yunohost  tcp  --  anywhere             anywhere             multiport dports http,https\r\nfail2ban-nginx  tcp  --  anywhere             anywhere             multiport dports http,https\r\nfail2ban-postfix  tcp  --  anywhere             anywhere             multiport dports smtp,urd,submission\r\nfail2ban-proftpd  tcp  --  anywhere             anywhere             multiport dports ftp,ftp-data,ftps,ftps-data\r\nfail2ban-ssh  tcp  --  anywhere             anywhere             multiport dports ssh\r\nACCEPT     all  --  anywhere             anywhere             state RELATED,ESTABLISHED\r\nACCEPT     tcp  --  anywhere             anywhere             tcp dpt:ssh\r\nACCEPT     tcp  --  anywhere             anywhere             tcp dpt:smtp\r\nACCEPT     tcp  --  anywhere             anywhere             tcp dpt:domain\r\nACCEPT     tcp  --  anywhere             anywhere             tcp dpt:http\r\nACCEPT     tcp  --  anywhere             anywhere             tcp dpt:https\r\nACCEPT     tcp  --  anywhere             anywhere             tcp dpt:urd\r\nACCEPT     tcp  --  anywhere             anywhere             tcp dpt:submission\r\nACCEPT     tcp  --  anywhere             anywhere             tcp dpt:imaps\r\nACCEPT     tcp  --  anywhere             anywhere             tcp dpt:xmpp-client\r\nACCEPT     tcp  --  anywhere             anywhere             tcp dpt:xmpp-server\r\nACCEPT     tcp  --  anywhere             anywhere             tcp dpt:6697\r\nACCEPT     udp  --  anywhere             anywhere             udp dpt:domain\r\nACCEPT     udp  --  anywhere             anywhere             udp dpt:mdns\r\nACCEPT     all  --  anywhere             anywhere            \r\nACCEPT     icmp --  anywhere             anywhere            \r\n```\r\n\r\nIt does not appear in `ps` though:\r\n```\r\n# ps -ef | grep iptables\r\nroot     30478 30474  0 12:00 pts/0    00:00:00 grep iptables\r\n```"},"comment":{"url":"https://api.github.com/repos/gelnior/pschecker/issues/comments/378196831","html_url":"https://github.com/gelnior/pschecker/issues/6#issuecomment-378196831","issue_url":"https://api.github.com/repos/gelnior/pschecker/issues/6","id":378196831,"user":{"login":"gelnior","id":434526,"avatar_url":"https://avatars2.githubusercontent.com/u/434526?v=4","gravatar_id":"","url":"https://api.github.com/users/gelnior","html_url":"https://github.com/gelnior","followers_url":"https://api.github.com/users/gelnior/followers","following_url":"https://api.github.com/users/gelnior/following{/other_user}","gists_url":"https://api.github.com/users/gelnior/gists{/gist_id}","starred_url":"https://api.github.com/users/gelnior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gelnior/subscriptions","organizations_url":"https://api.github.com/users/gelnior/orgs","repos_url":"https://api.github.com/users/gelnior/repos","events_url":"https://api.github.com/users/gelnior/events{/privacy}","received_events_url":"https://api.github.com/users/gelnior/received_events","type":"User","site_admin":false},"created_at":"2018-04-03T10:01:25Z","updated_at":"2018-04-03T10:01:25Z","author_association":"OWNER","body":"Yes this check is wrong. I thought that firewalls have a daemon. I have to figure another way to find if a firewall is configured."}}
{"actor":{"display_login":"gelnior"}}