| |||||
FORUM HardWare.fr

Linux et OS Alternatifs

C'est quoi tout les service qui sont démarrés par défaut ? (nmap)| Dernière réponse | ||
|---|---|---|
| Sujet : C'est quoi tout les service qui sont démarrés par défaut ? (nmap) | ||
| PinG |
bah non, ce sont des "retours de connexions" schématiquement... |
|
| Aperçu |
|---|
| Vue Rapide de la discussion |
|---|
| PinG |
bah non, ce sont des "retours de connexions" schématiquement... |
| tatanka |
|
| PinG | rpc/sunrpc c'est pour des services spéciaux, par exemple NIS pour l'authentification distante pou NFS pour le partage de fichiers entre unix... pour une utilisation de base @home, tu peux les virer. |
| tatanka |
|
| tatanka |
|
| PinG |
quand tu as le nom du processus, tu tapes "killall -9 nom_du_processus"
|
| PinG |
lsof -i pour n'avoir que les connects réseau
|
| tatanka |
|
| tatanka |
|
| PinG |
non, il te dit pas quel processus a ouvert le port. |
| tatanka | up |
| tatanka |
|
| djtoz | tu peut te servir de lsof pour identifier quel service utilise tel ou tel port
voir man lsof pour la syntaxe :) |
| tatanka |
[jfdsdjhfuetppo]--Message édité par tatanka--[/jfdsdjhfuetppo] |
| tatanka | resultat de la passerelle :
client:/home/tatanka# netstat -pl 217.128.158.89 Connexions Internet actives (seulement serveurs) Proto Recv-Q Send-Q Adresse locale Adresse distante Etat PID/Program name tcp 0 0 *:32768 *:* LISTEN 343/rpc.statd tcp 0 0 *:printer *:* LISTEN 358/lpd tcp 0 0 *:time *:* LISTEN 352/inetd tcp 0 0 *:discard *:* LISTEN 352/inetd tcp 0 0 *:daytime *:* LISTEN 352/inetd tcp 0 0 *:sunrpc *:* LISTEN 100/portmap tcp 0 0 *:auth *:* LISTEN 352/inetd tcp 0 0 *:ssh *:* LISTEN 623/sshd udp 0 0 *:32768 *:* 343/rpc.statd udp 0 0 *:discard *:* 352/inetd udp 0 0 *:943 *:* 343/rpc.statd udp 0 0 *:sunrpc *:* 100/portmap Sockets du domaine UNIX actives(seulement serveurs) Proto RefCpt Indicatrs Type Etat I-Node PID/Program name Chemin unix 2 [ ACC ] STREAM LISTENING 478 358/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 568 388/X /tmp/.X11-unix/X0 |
| kadreg |
[jfdsdjhfuetppo]--Message édité par kadreg--[/jfdsdjhfuetppo] |
| tatanka | resultat du client
client:/home/tatanka# netstat -pl 127.0.0.1 Connexions Internet actives (seulement serveurs) Proto Recv-Q Send-Q Adresse locale Adresse distante Etat PID/Program name tcp 0 0 *:32768 *:* LISTEN 343/rpc.statd tcp 0 0 *:printer *:* LISTEN 358/lpd tcp 0 0 *:time *:* LISTEN 352/inetd tcp 0 0 *:discard *:* LISTEN 352/inetd tcp 0 0 *:daytime *:* LISTEN 352/inetd tcp 0 0 *:sunrpc *:* LISTEN 100/portmap tcp 0 0 *:auth *:* LISTEN 352/inetd tcp 0 0 *:ssh *:* LISTEN 623/sshd udp 0 0 *:32768 *:* 343/rpc.statd udp 0 0 *:discard *:* 352/inetd udp 0 0 *:943 *:* 343/rpc.statd udp 0 0 *:sunrpc *:* 100/portmap Sockets du domaine UNIX actives(seulement serveurs) Proto RefCpt Indicatrs Type Etat I-Node PID/Program name Chemin unix 2 [ ACC ] STREAM LISTENING 478 358/lpd /dev/printer unix 2 [ ACC ] STREAM LISTENING 568 388/X /tmp/.X11-unix/X0 |
| tatanka |
|
| kadreg |
|
| tatanka | client:/home/tatanka# nmap -p 1-65535 <ip internet>
Starting nmap V. 2.54BETA30 ( www.insecure.org/nmap/ ) Interesting ports on Internet (ip internet): (The 65527 ports scanned but not shown below are in state: closed) Port State Service 9/tcp open discard 13/tcp open daytime 22/tcp open ssh 37/tcp open time 111/tcp open sunrpc 113/tcp open auth 515/tcp open printer 1024/tcp open kdm Nmap run completed -- 1 IP address (1 host up) scanned in 15 seconds j'ai oublié de préciser que j'ai deux machine différente (la premiere c'est mon client, celle-ci, c'est ma passerelle) |
| tatanka |
|
| kadreg | sunrpc, c'est pour les partages nfs
auth est utilisé pour vérifier qu'un login existe à distance Et si tu le lance par : nmap -p 1-65535 localhost Ca donne quoi (il te manque des ports là) ? C'est quoi comme distrib ? |
| chaica | ssh est un logiciel qui te permet de prendre le contrôle d'un ordi distant, printer ca doit être ton imprimante, daytime et date on peut se douter de ce que c'est par contre le reste je sais pas ce que c'est ...
CHaiCA |
| tatanka | alors alors ? |
| tatanka | et cela aussi (y-a kdm en plus, et ej sais pas ce que c'est non plus :
client:/home/tatanka# nmap <ip> Starting nmap V. 2.54BETA30 ( www.insecure.org/nmap/ ) Interesting ports on Internet (<ip> ): (The 1541 ports scanned but not shown below are in state: closed) Port State Service 9/tcp open discard 13/tcp open daytime 22/tcp open ssh 37/tcp open time 111/tcp open sunrpc 113/tcp open auth 515/tcp open printer 1024/tcp open kdm Nmap run completed -- 1 IP address (1 host up) scanned in 1 second |
| tatanka | qu'est-ce que font chacun de ces services ?
client:/home/tatanka# nmap 127.0.0.1 Starting nmap V. 2.54BETA30 ( www.insecure.org/nmap/ ) Interesting ports on client (127.0.0.1): (The 1543 ports scanned but not shown below are in state: closed) Port State Service 9/tcp open discard 13/tcp open daytime 37/tcp open time 111/tcp open sunrpc 113/tcp open auth 515/tcp open printer Nmap run completed -- 1 IP address (1 host up) scanned in 1 second |


