{"action":"opened","issue":{"url":"https://api.github.com/repos/baudev/ZONNY_API/issues/4","repository_url":"https://api.github.com/repos/baudev/ZONNY_API","labels_url":"https://api.github.com/repos/baudev/ZONNY_API/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/baudev/ZONNY_API/issues/4/comments","events_url":"https://api.github.com/repos/baudev/ZONNY_API/issues/4/events","html_url":"https://github.com/baudev/ZONNY_API/issues/4","id":331358251,"node_id":"MDU6SXNzdWUzMzEzNTgyNTE=","number":4,"title":"Check the open ports on the server","user":{"login":"baudev","id":29781702,"node_id":"MDQ6VXNlcjI5NzgxNzAy","avatar_url":"https://avatars3.githubusercontent.com/u/29781702?v=4","gravatar_id":"","url":"https://api.github.com/users/baudev","html_url":"https://github.com/baudev","followers_url":"https://api.github.com/users/baudev/followers","following_url":"https://api.github.com/users/baudev/following{/other_user}","gists_url":"https://api.github.com/users/baudev/gists{/gist_id}","starred_url":"https://api.github.com/users/baudev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baudev/subscriptions","organizations_url":"https://api.github.com/users/baudev/orgs","repos_url":"https://api.github.com/users/baudev/repos","events_url":"https://api.github.com/users/baudev/events{/privacy}","received_events_url":"https://api.github.com/users/baudev/received_events","type":"User","site_admin":false},"labels":[{"id":961567348,"node_id":"MDU6TGFiZWw5NjE1NjczNDg=","url":"https://api.github.com/repos/baudev/ZONNY_API/labels/help%20wanted","name":"help wanted","color":"008672","default":true},{"id":961567354,"node_id":"MDU6TGFiZWw5NjE1NjczNTQ=","url":"https://api.github.com/repos/baudev/ZONNY_API/labels/question","name":"question","color":"d876e3","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-11T21:33:29Z","updated_at":"2018-06-11T21:33:29Z","closed_at":null,"author_association":"OWNER","body":"It is necessary to check the different ports open on the server. Some may have no reason to be open. It may also be that services are not necessary.\r\n\r\nThe result of the `netstat -nlp` command is :\r\n\r\n|Proto | Recv-Q |Send-Q | Adresse locale     |     Adresse distante  |      Etat     |  PID/Program name  |\r\n|:-----|:-------|:------|:-------------------|:----------------------|:--------------|:-------------------|\r\n|tcp   |     0  |    0 | 185.13.38.239:53    |    0.0.0.0:*          |     LISTEN    |  404/named |\r\n|tcp   |     0  |    0 | 127.0.0.1:53        |    0.0.0.0:*          |     LISTEN    |  404/named |\r\n|tcp   |     0  |    0 | 0.0.0.0:22          |    0.0.0.0:*          |     LISTEN    |  401/sshd |\r\n|tcp   |     0  |    0 | 127.0.0.1:5432      |    0.0.0.0:*          |     LISTEN    |  510/postgres|\r\n|tcp   |     0  |    0 | 127.0.0.1:25        |    0.0.0.0:*          |     LISTEN    |  838/exim4|\r\n|tcp   |     0  |    0 | 127.0.0.1:953       |    0.0.0.0:*          |     LISTEN    |  404/named|\r\n|tcp6  |     0  |    0 | :::53               |    :::*               |     LISTEN    |  404/named|\r\n|tcp6  |     0  |    0 |:::22                |   :::*                |    LISTEN     | 401/sshd|\r\n|tcp6  |     0  |    0 |::1:5432             |   :::*                |    LISTEN     | 510/postgres|\r\n|tcp6  |     0  |    0 |::1:25               |   :::*                |    LISTEN     | 838/exim4|\r\n|tcp6  |     0  |    0 |::1:953              |   :::*                |    LISTEN     | 404/named|\r\n|tcp6  |     0  |    0 |:::443               |   :::*                |    LISTEN     | 540/apache2|\r\n|tcp6  |     0  |    0 |:::80                |   :::*                |    LISTEN     | 540/apache2|\r\n|udp   |     0  |    0 |185.13.38.239:53     |   0.0.0.0:*           |               | 404/named|\r\n|udp   |     0  |    0 |127.0.0.1:53         |   0.0.0.0:*           |               | 404/named|\r\n|udp   |     0  |    0 |185.13.38.239:123    |   0.0.0.0:*           |               | 14103/ntpd|\r\n|udp   |     0  |    0 |127.0.0.1:123        |   0.0.0.0:*           |               | 14103/ntpd|\r\n|udp   |     0  |    0 |0.0.0.0:123          |   0.0.0.0:*           |               | 14103/ntpd|\r\n|udp6  |     0  |    0 |:::53                |   :::*                |               | 404/named|\r\n|udp6  |     0  |    0 |2a03:75c0:21:6945:::123| :::*                |               | 14103/ntpd|\r\n|udp6  |     0  |    0 |fe80::27c:93ff:fec6:123| :::*                |               | 14103/ntpd|\r\n|udp6  |     0   |   0 | ::1:123           |      :::*            |              |      14103/ntpd|\r\n|udp6    |   0     | 0 | :::123                |  :::*                 |             |  14103/ntpd|\r\n\r\n**Note**: There are no security holes, it is just interesting to check the true necessity of each process and perhaps close some unnecessary ports."}}
{"actor":{"display_login":"baudev"}}