1.6 KiB
1.6 KiB
title | published | private | date | taxonomy | routable | creator | blog_url | show_sidebar | show_breadcrumbs | show_pagination | content | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
whatisport | true | false | 14:45 06-04-2018 |
|
true | erreur32 | /articles | true | true | true |
|
**Connaitre les ports et services associés dans son terminal. **
Les données utilisées proviennent du site iana.org pour la récupération de la liste des ports.
Installation avec python-pip de whatportis:
$ pip install whatportis
Pour connaître le numéro de port d'un service :
$ whatportis 443
+-------+------+----------+----------------------------+
| Name | Port | Protocol | Description |
+-------+------+----------+----------------------------+
| https | 443 | tcp | http protocol over TLS/SSL |
| https | 443 | udp | http protocol over TLS/SSL |
| https | 443 | sctp | HTTPS |
+-------+------+----------+----------------------------+
Exemple avec --like
$ whatportis munin --like
+-------+------+----------+--------------------------+
| Name | Port | Protocol | Description |
+-------+------+----------+--------------------------+
| munin | 4949 | tcp | Munin Graphing Framework |
| munin | 4949 | udp | Munin Graphing Framework |
+-------+------+----------+--------------------------+