NIWPI/pages/03.Articles/01.admin-tools/09.whatisport/item.md

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
category tag
blog
tools
port
ssh
shell
true erreur32 /articles true true true
items limit order pagination url_taxonomy_filters
@self.children 5
by dir
date desc
1 1

**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 |
+-------+------+----------+--------------------------+