[successivo] [precedente] [inizio] [fine] [indice generale] [indice ridotto] [indice analitico] [volume] [parte]


Capitolo 374.   Verifica sommativa sull'uso elementare delle reti TCP/IP

tempo a disposizione: 3 600 s punteggio massimo: 10
quantità di domande: 36 punti di penalità per ogni secondo di ritardo: 0,016 666
data:
cognome e nome:
classe e sezione (corso):

374.1) [-0.27777777778..0.27777777778] In base all'estensione, che tipo di rete è Internet?

  1. WAN;
  2. MAN;
  3. LAN.

374.2) [-0.27777777778..0.27777777778] In base all'estensione, che tipo di rete è una rete locale?

  1. WAN;
  2. MAN;
  3. LAN.

374.3) [-0.27777777778..0.27777777778] In base all'estensione, che tipo di rete è una rete cittadina?

  1. WAN;
  2. MAN;
  3. LAN.

374.4) [-0.27777777778..0.27777777778] In quale posizione si collocano i cavi e le interfacce di rete nell'ambito del modello ISO-OSI?

  1. 7 applicazione;
  2. 6 presentazione;
  3. 5 sessione;
  4. 4 trasporto;
  5. 3 rete;
  6. 2 collegamento dati;
  7. 1 fisico.

374.5) [-0.27777777778..0.27777777778] In quale posizione si colloca un ripetitore (hub passivo) nell'ambito del modello ISO-OSI? Si risponda rammentando che il commutatore di pacchetto, ovvero lo switch è un componente simile che però si colloca in un livello superiore.

  1. 7 applicazione;
  2. 6 presentazione;
  3. 5 sessione;
  4. 4 trasporto;
  5. 3 rete;
  6. 2 collegamento dati;
  7. 1 fisico.

374.6) [-0.27777777778..0.27777777778] In quale posizione si colloca un commutatore di pacchetto, ovvero uno switch. nell'ambito del modello ISO-OSI? Si risponda rammentando che il ripetitore (hub passivo) è un componente simile che però si colloca in un livello inferiore.

  1. 7 applicazione;
  2. 6 presentazione;
  3. 5 sessione;
  4. 4 trasporto;
  5. 3 rete;
  6. 2 collegamento dati;
  7. 1 fisico.

374.7) [-0.27777777778..0.27777777778] A quale livello del modello ISO-OSI si collocano gli indirizzi fisici delle interfacce di rete?

  1. 7 applicazione;
  2. 6 presentazione;
  3. 5 sessione;
  4. 4 trasporto;
  5. 3 rete;
  6. 2 collegamento dati;
  7. 1 fisico.

374.8) [-0.27777777778..0.27777777778] In quale posizione si colloca un router? Si risponda rammentando che nell'ambito dei protocolli TCP/IP, il router individua gli indirizzi IP.

  1. 7 applicazione;
  2. 6 presentazione;
  3. 5 sessione;
  4. 4 trasporto;
  5. 3 rete;
  6. 2 collegamento dati;
  7. 1 fisico.

374.9) [-0.27777777778..0.27777777778] A quale livello del modello ISO-OSI si collocano gli indirizzi IP dei protocolli TCP/IP?

  1. 7 applicazione;
  2. 6 presentazione;
  3. 5 sessione;
  4. 4 trasporto;
  5. 3 rete;
  6. 2 collegamento dati;
  7. 1 fisico.

374.10) [-0.27777777778..0.27777777778] A quale livello del modello ISO-OSI si colloca il protocollo IP?

  1. 7 applicazione;
  2. 6 presentazione;
  3. 5 sessione;
  4. 4 trasporto;
  5. 3 rete;
  6. 2 collegamento dati;
  7. 1 fisico.

374.11) [-0.27777777778..0.27777777778] A quale livello del modello ISO-OSI si collocano i protocolli TCP e UDP?

  1. 7 applicazione;
  2. 6 presentazione;
  3. 5 sessione;
  4. 4 trasporto;
  5. 3 rete;
  6. 2 collegamento dati;
  7. 1 fisico.

374.12) [-0.27777777778..0.27777777778] A quale livello del modello ISO-OSI si collocano le porte dei protocolli TCP e UDP?

  1. 7 applicazione;
  2. 6 presentazione;
  3. 5 sessione;
  4. 4 trasporto;
  5. 3 rete;
  6. 2 collegamento dati;
  7. 1 fisico.

374.13) [-0.27777777778..0.27777777778] A quale livello del modello ISO-OSI si collocano i protocolli HTTP, FTP, SMTP, POP3, IMAP?

  1. 7 applicazione;
  2. 6 presentazione;
  3. 5 sessione;
  4. 4 trasporto;
  5. 3 rete;
  6. 2 collegamento dati;
  7. 1 fisico.

Riquadro 374.2. Esempio di cosa potrebbe apparire nella configurazione di un'interfaccia Ethernet in un sistema GNU/Linux.

ifconfig eth0[Invio]

eth0      Link encap:Ethernet  HWaddr 00:50:BA:71:D9:C1  
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::250:baff:fe71:d9c1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3756 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2143 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:357615 (349.2 KiB)  TX bytes:200184 (195.4 KiB)
          Interrupt:11 Base address:0xd800 

374.14) [-0.27777777778..0.27777777778] Si conosce l'indirizzo IPv4 194.195.196.197 e la sua maschera di rete, che corrisponde a 255.255.255.0. Si indichi l'indirizzo di rete.

  1. 255.255.255.255;
  2. 194.255.255.255;
  3. 194.195.255.255;
  4. 194.195.196.255;
  5. 194.195.196.197;
  6. 194.195.196.0;
  7. 194.195.0.0;
  8. 194.0.0.0;
  9. 0.0.0.0.

374.15) [-0.27777777778..0.27777777778] Si conosce l'indirizzo IPv4 194.195.196.197 e la sua maschera di rete, che corrisponde a 255.255.255.0. Si indichi l'indirizzo broadcast.

  1. 255.255.255.255;
  2. 194.255.255.255;
  3. 194.195.255.255;
  4. 194.195.196.255;
  5. 194.195.196.197;
  6. 194.195.196.0;
  7. 194.195.0.0;
  8. 194.0.0.0;
  9. 0.0.0.0.

374.16) [-0.27777777778..0.27777777778] Si conosce l'indirizzo IPv4 194.195.196.197 e la sua maschera di rete, che corrisponde a 255.255.0.0. Si indichi l'indirizzo di rete.

  1. 255.255.255.255;
  2. 194.255.255.255;
  3. 194.195.255.255;
  4. 194.195.196.255;
  5. 194.195.196.197;
  6. 194.195.196.0;
  7. 194.195.0.0;
  8. 194.0.0.0;
  9. 0.0.0.0.

374.17) [-0.27777777778..0.27777777778] Si conosce l'indirizzo IPv4 194.195.196.197 e la sua maschera di rete, che corrisponde a 255.255.0.0. Si indichi l'indirizzo broadcast.

  1. 255.255.255.255;
  2. 194.255.255.255;
  3. 194.195.255.255;
  4. 194.195.196.255;
  5. 194.195.196.197;
  6. 194.195.196.0;
  7. 194.195.0.0;
  8. 194.0.0.0;
  9. 0.0.0.0.

374.18) [-0.27777777778..0.27777777778] Si conosce l'indirizzo IPv4 194.195.196.197 e la sua maschera di rete, che corrisponde a 255.0.0.0. Si indichi l'indirizzo di rete.

  1. 255.255.255.255;
  2. 194.255.255.255;
  3. 194.195.255.255;
  4. 194.195.196.255;
  5. 194.195.196.197;
  6. 194.195.196.0;
  7. 194.195.0.0;
  8. 194.0.0.0;
  9. 0.0.0.0.

374.19) [-0.27777777778..0.27777777778] Si conosce l'indirizzo IPv4 194.195.196.197 e la sua maschera di rete, che corrisponde a 255.0.0.0. Si indichi l'indirizzo broadcast.

  1. 255.255.255.255;
  2. 194.255.255.255;
  3. 194.195.255.255;
  4. 194.195.196.255;
  5. 194.195.196.197;
  6. 194.195.196.0;
  7. 194.195.0.0;
  8. 194.0.0.0;
  9. 0.0.0.0.

Figura 374.4. Configurazione delle interfacce e instradamento.

configurazione delle interfacce e degli instradamenti IPv4

374.20) [-0.27777777778..0.27777777778] Indicare il comando di configurazione dell'interfaccia eth0 del nodo «y», da usare con un sistema GNU/Linux.

  1. ifconfig eth0 192.168.9.7 netmask 255.255.255.0[Invio]
  2. ifconfig eth1 192.168.9.7 netmask 255.255.255.0[Invio]
  3. ifconfig eth0 192.168.7.51 netmask 255.255.255.0[Invio]
  4. ifconfig eth1 192.168.7.51 netmask 255.255.255.0[Invio]
  5. ifconfig eth0 192.168.9.254 netmask 255.255.255.0[Invio]
  6. ifconfig eth1 192.168.9.254 netmask 255.255.255.0[Invio]
  7. ifconfig eth0 192.168.7.253 netmask 255.255.255.0[Invio]
  8. ifconfig eth1 192.168.7.253 netmask 255.255.255.0[Invio]
  9. ifconfig eth0 192.168.7.254 netmask 255.255.255.0[Invio]
  10. ifconfig eth1 192.168.7.254 netmask 255.255.255.0[Invio]

374.21) [-0.27777777778..0.27777777778] Indicare il comando di configurazione dell'interfaccia eth0 del nodo «x», da usare con un sistema GNU/Linux.

  1. ifconfig eth0 192.168.9.7 netmask 255.255.255.0[Invio]
  2. ifconfig eth1 192.168.9.7 netmask 255.255.255.0[Invio]
  3. ifconfig eth0 192.168.7.51 netmask 255.255.255.0[Invio]
  4. ifconfig eth1 192.168.7.51 netmask 255.255.255.0[Invio]
  5. ifconfig eth0 192.168.9.254 netmask 255.255.255.0[Invio]
  6. ifconfig eth1 192.168.9.254 netmask 255.255.255.0[Invio]
  7. ifconfig eth0 192.168.7.253 netmask 255.255.255.0[Invio]
  8. ifconfig eth1 192.168.7.253 netmask 255.255.255.0[Invio]
  9. ifconfig eth0 192.168.7.254 netmask 255.255.255.0[Invio]
  10. ifconfig eth1 192.168.7.254 netmask 255.255.255.0[Invio]

374.22) [-0.27777777778..0.27777777778] Indicare il comando di configurazione dell'interfaccia eth0 del nodo «B», da usare con un sistema GNU/Linux.

  1. ifconfig eth0 192.168.9.7 netmask 255.255.255.0[Invio]
  2. ifconfig eth1 192.168.9.7 netmask 255.255.255.0[Invio]
  3. ifconfig eth0 192.168.7.51 netmask 255.255.255.0[Invio]
  4. ifconfig eth1 192.168.7.51 netmask 255.255.255.0[Invio]
  5. ifconfig eth0 192.168.9.254 netmask 255.255.255.0[Invio]
  6. ifconfig eth1 192.168.9.254 netmask 255.255.255.0[Invio]
  7. ifconfig eth0 192.168.7.253 netmask 255.255.255.0[Invio]
  8. ifconfig eth1 192.168.7.253 netmask 255.255.255.0[Invio]
  9. ifconfig eth0 192.168.7.254 netmask 255.255.255.0[Invio]
  10. ifconfig eth1 192.168.7.254 netmask 255.255.255.0[Invio]

374.23) [-0.27777777778..0.27777777778] Indicare il comando di configurazione dell'interfaccia eth1 del nodo «B», da usare con un sistema GNU/Linux.

  1. ifconfig eth0 192.168.9.7 netmask 255.255.255.0[Invio]
  2. ifconfig eth1 192.168.9.7 netmask 255.255.255.0[Invio]
  3. ifconfig eth0 192.168.7.51 netmask 255.255.255.0[Invio]
  4. ifconfig eth1 192.168.7.51 netmask 255.255.255.0[Invio]
  5. ifconfig eth0 192.168.9.254 netmask 255.255.255.0[Invio]
  6. ifconfig eth1 192.168.9.254 netmask 255.255.255.0[Invio]
  7. ifconfig eth0 192.168.7.253 netmask 255.255.255.0[Invio]
  8. ifconfig eth1 192.168.7.253 netmask 255.255.255.0[Invio]
  9. ifconfig eth0 192.168.7.254 netmask 255.255.255.0[Invio]
  10. ifconfig eth1 192.168.7.254 netmask 255.255.255.0[Invio]

374.24) [-0.27777777778..0.27777777778] Indicare il comando di configurazione dell'interfaccia eth0 del nodo «A», da usare con un sistema GNU/Linux.

  1. ifconfig eth0 192.168.9.7 netmask 255.255.255.0[Invio]
  2. ifconfig eth1 192.168.9.7 netmask 255.255.255.0[Invio]
  3. ifconfig eth0 192.168.7.51 netmask 255.255.255.0[Invio]
  4. ifconfig eth1 192.168.7.51 netmask 255.255.255.0[Invio]
  5. ifconfig eth0 192.168.9.254 netmask 255.255.255.0[Invio]
  6. ifconfig eth1 192.168.9.254 netmask 255.255.255.0[Invio]
  7. ifconfig eth0 192.168.7.253 netmask 255.255.255.0[Invio]
  8. ifconfig eth1 192.168.7.253 netmask 255.255.255.0[Invio]
  9. ifconfig eth0 192.168.7.254 netmask 255.255.255.0[Invio]
  10. ifconfig eth1 192.168.7.254 netmask 255.255.255.0[Invio]

374.25) [-0.27777777778..0.27777777778] Indicare il comando per dichiarare l'instradamento verso la rete 192.168.7.0 nel nodo «y», con un sistema GNU/Linux.

  1. route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.9.254[Invio]
  2. route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.7.253[Invio]
  3. route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.7.254[Invio]
  4. route add -net 192.168.9.0 netmask 255.255.255.0 gw 192.168.9.254[Invio]
  5. route add -net 192.168.9.0 netmask 255.255.255.0 gw 192.168.7.253[Invio]
  6. route add -net 192.168.9.0 netmask 255.255.255.0 gw 192.168.7.254[Invio]
  7. route add -net 192.168.7.0 netmask 255.255.255.0 gw 192.168.9.254[Invio]
  8. route add -net 192.168.7.0 netmask 255.255.255.0 gw 192.168.7.253[Invio]
  9. route add -net 192.168.7.0 netmask 255.255.255.0 gw 192.168.7.254[Invio]

374.26) [-0.27777777778..0.27777777778] Indicare il comando per dichiarare l'instradamento verso la rete 192.168.9.0 nel nodo «x», con un sistema GNU/Linux.

  1. route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.9.254[Invio]
  2. route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.7.253[Invio]
  3. route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.7.254[Invio]
  4. route add -net 192.168.9.0 netmask 255.255.255.0 gw 192.168.9.254[Invio]
  5. route add -net 192.168.9.0 netmask 255.255.255.0 gw 192.168.7.253[Invio]
  6. route add -net 192.168.9.0 netmask 255.255.255.0 gw 192.168.7.254[Invio]
  7. route add -net 192.168.7.0 netmask 255.255.255.0 gw 192.168.9.254[Invio]
  8. route add -net 192.168.7.0 netmask 255.255.255.0 gw 192.168.7.253[Invio]
  9. route add -net 192.168.7.0 netmask 255.255.255.0 gw 192.168.7.254[Invio]

374.27) [-0.27777777778..0.27777777778] Indicare il comando per dichiarare l'instradamento verso la rete 192.168.9.0 nel nodo «A», con un sistema GNU/Linux.

  1. route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.9.254[Invio]
  2. route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.7.253[Invio]
  3. route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.7.254[Invio]
  4. route add -net 192.168.9.0 netmask 255.255.255.0 gw 192.168.9.254[Invio]
  5. route add -net 192.168.9.0 netmask 255.255.255.0 gw 192.168.7.253[Invio]
  6. route add -net 192.168.9.0 netmask 255.255.255.0 gw 192.168.7.254[Invio]
  7. route add -net 192.168.7.0 netmask 255.255.255.0 gw 192.168.9.254[Invio]
  8. route add -net 192.168.7.0 netmask 255.255.255.0 gw 192.168.7.253[Invio]
  9. route add -net 192.168.7.0 netmask 255.255.255.0 gw 192.168.7.254[Invio]

374.28) [-0.27777777778..0.27777777778] Indicare il comando per dichiarare l'instradamento verso la rete esterna (Internet) nel nodo «y», con un sistema GNU/Linux.

  1. route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.9.254[Invio]
  2. route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.7.253[Invio]
  3. route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.7.254[Invio]
  4. route add -net 192.168.9.0 netmask 255.255.255.0 gw 192.168.9.254[Invio]
  5. route add -net 192.168.9.0 netmask 255.255.255.0 gw 192.168.7.253[Invio]
  6. route add -net 192.168.9.0 netmask 255.255.255.0 gw 192.168.7.254[Invio]
  7. route add -net 192.168.7.0 netmask 255.255.255.0 gw 192.168.9.254[Invio]
  8. route add -net 192.168.7.0 netmask 255.255.255.0 gw 192.168.7.253[Invio]
  9. route add -net 192.168.7.0 netmask 255.255.255.0 gw 192.168.7.254[Invio]

374.29) [-0.27777777778..0.27777777778] Indicare il comando per dichiarare l'instradamento verso la rete esterna (Internet) nel nodo «x», con un sistema GNU/Linux.

  1. route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.9.254[Invio]
  2. route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.7.253[Invio]
  3. route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.7.254[Invio]
  4. route add -net 192.168.9.0 netmask 255.255.255.0 gw 192.168.9.254[Invio]
  5. route add -net 192.168.9.0 netmask 255.255.255.0 gw 192.168.7.253[Invio]
  6. route add -net 192.168.9.0 netmask 255.255.255.0 gw 192.168.7.254[Invio]
  7. route add -net 192.168.7.0 netmask 255.255.255.0 gw 192.168.9.254[Invio]
  8. route add -net 192.168.7.0 netmask 255.255.255.0 gw 192.168.7.253[Invio]
  9. route add -net 192.168.7.0 netmask 255.255.255.0 gw 192.168.7.254[Invio]

374.30) [-0.27777777778..0.27777777778] Indicare il comando per dichiarare l'instradamento verso la rete esterna (Internet) nel nodo «B», con un sistema GNU/Linux.

  1. route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.9.254[Invio]
  2. route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.7.253[Invio]
  3. route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.7.254[Invio]
  4. route add -net 192.168.9.0 netmask 255.255.255.0 gw 192.168.9.254[Invio]
  5. route add -net 192.168.9.0 netmask 255.255.255.0 gw 192.168.7.253[Invio]
  6. route add -net 192.168.9.0 netmask 255.255.255.0 gw 192.168.7.254[Invio]
  7. route add -net 192.168.7.0 netmask 255.255.255.0 gw 192.168.9.254[Invio]
  8. route add -net 192.168.7.0 netmask 255.255.255.0 gw 192.168.7.253[Invio]
  9. route add -net 192.168.7.0 netmask 255.255.255.0 gw 192.168.7.254[Invio]

Figura 374.5. Firewall.

firewall

374.31) [-2.22222222224..0.27777777776] Indicare i due comandi con cui si consente espressamente l'attraversamento dei pacchetti TCP relativi alla porta 53 (DNS) in un sistema GNU/Linux.

  1. iptables -t filter -A FORWARD -p udp -j DROP[Invio]
  2. iptables -t filter -A FORWARD -p icmp -j ACCEPT[Invio]
  3. iptables -t filter -A FORWARD -p tcp --sport 53 -j ACCEPT[Invio]
  4. iptables -t filter -A FORWARD -p tcp --dport 53 -j ACCEPT[Invio]
  5. iptables -t filter -A FORWARD -p udp --sport 53 -j ACCEPT[Invio]
  6. iptables -t filter -A FORWARD -p udp --dport 53 -j ACCEPT[Invio]
  7. iptables -t filter -A FORWARD -p tcp --sport 25 -j DROP[Invio]
  8. iptables -t filter -A FORWARD -p tcp --dport 25 -j DROP[Invio]
  9. iptables -t filter -A FORWARD -p tcp --sport 110 -j DROP[Invio]
  10. iptables -t filter -A FORWARD -p tcp --dport 110 -j DROP[Invio]

374.32) [-2.22222222224..0.27777777776] Indicare i due comandi con cui si consente espressamente l'attraversamento dei pacchetti UDP relativi alla porta 53 (DNS) in un sistema GNU/Linux.

  1. iptables -t filter -A FORWARD -p udp -j DROP[Invio]
  2. iptables -t filter -A FORWARD -p icmp -j ACCEPT[Invio]
  3. iptables -t filter -A FORWARD -p tcp --sport 53 -j ACCEPT[Invio]
  4. iptables -t filter -A FORWARD -p tcp --dport 53 -j ACCEPT[Invio]
  5. iptables -t filter -A FORWARD -p udp --sport 53 -j ACCEPT[Invio]
  6. iptables -t filter -A FORWARD -p udp --dport 53 -j ACCEPT[Invio]
  7. iptables -t filter -A FORWARD -p tcp --sport 25 -j DROP[Invio]
  8. iptables -t filter -A FORWARD -p tcp --dport 25 -j DROP[Invio]
  9. iptables -t filter -A FORWARD -p tcp --sport 110 -j DROP[Invio]
  10. iptables -t filter -A FORWARD -p tcp --dport 110 -j DROP[Invio]

374.33) [-0.27777777778..0.27777777778] Indicare il comando con cui si consente espressamente l'attraversamento di tutti i pacchetti ICMP in un sistema GNU/Linux.

  1. iptables -t filter -A FORWARD -p udp -j DROP[Invio]
  2. iptables -t filter -A FORWARD -p icmp -j ACCEPT[Invio]
  3. iptables -t filter -A FORWARD -p tcp --sport 53 -j ACCEPT[Invio]
  4. iptables -t filter -A FORWARD -p tcp --dport 53 -j ACCEPT[Invio]
  5. iptables -t filter -A FORWARD -p udp --sport 53 -j ACCEPT[Invio]
  6. iptables -t filter -A FORWARD -p udp --dport 53 -j ACCEPT[Invio]
  7. iptables -t filter -A FORWARD -p tcp --sport 25 -j DROP[Invio]
  8. iptables -t filter -A FORWARD -p tcp --dport 25 -j DROP[Invio]
  9. iptables -t filter -A FORWARD -p tcp --sport 110 -j DROP[Invio]
  10. iptables -t filter -A FORWARD -p tcp --dport 110 -j DROP[Invio]

374.34) [-0.27777777778..0.27777777778] Indicare il comando con cui si impedisce l'attraversamento di tutti i pacchetti UDP in un sistema GNU/Linux.

  1. iptables -t filter -A FORWARD -p udp -j DROP[Invio]
  2. iptables -t filter -A FORWARD -p icmp -j ACCEPT[Invio]
  3. iptables -t filter -A FORWARD -p tcp --sport 53 -j ACCEPT[Invio]
  4. iptables -t filter -A FORWARD -p tcp --dport 53 -j ACCEPT[Invio]
  5. iptables -t filter -A FORWARD -p udp --sport 53 -j ACCEPT[Invio]
  6. iptables -t filter -A FORWARD -p udp --dport 53 -j ACCEPT[Invio]
  7. iptables -t filter -A FORWARD -p tcp --sport 25 -j DROP[Invio]
  8. iptables -t filter -A FORWARD -p tcp --dport 25 -j DROP[Invio]
  9. iptables -t filter -A FORWARD -p tcp --sport 110 -j DROP[Invio]
  10. iptables -t filter -A FORWARD -p tcp --dport 110 -j DROP[Invio]

374.35) [-2.22222222224..0.27777777776] Indicare i due comandi con cui si impedisce l'attraversamento dei pacchetti TCP relativi alla porta 25 (SMTP) in un sistema GNU/Linux.

  1. iptables -t filter -A FORWARD -p udp -j DROP[Invio]
  2. iptables -t filter -A FORWARD -p icmp -j ACCEPT[Invio]
  3. iptables -t filter -A FORWARD -p tcp --sport 53 -j ACCEPT[Invio]
  4. iptables -t filter -A FORWARD -p tcp --dport 53 -j ACCEPT[Invio]
  5. iptables -t filter -A FORWARD -p udp --sport 53 -j ACCEPT[Invio]
  6. iptables -t filter -A FORWARD -p udp --dport 53 -j ACCEPT[Invio]
  7. iptables -t filter -A FORWARD -p tcp --sport 25 -j DROP[Invio]
  8. iptables -t filter -A FORWARD -p tcp --dport 25 -j DROP[Invio]
  9. iptables -t filter -A FORWARD -p tcp --sport 110 -j DROP[Invio]
  10. iptables -t filter -A FORWARD -p tcp --dport 110 -j DROP[Invio]

374.36) [-2.22222222224..0.27777777776] Indicare i due comandi con cui si impedisce l'attraversamento dei pacchetti TCP relativi alla porta 110 (POP3) in un sistema GNU/Linux.

  1. iptables -t filter -A FORWARD -p udp -j DROP[Invio]
  2. iptables -t filter -A FORWARD -p icmp -j ACCEPT[Invio]
  3. iptables -t filter -A FORWARD -p tcp --sport 53 -j ACCEPT[Invio]
  4. iptables -t filter -A FORWARD -p tcp --dport 53 -j ACCEPT[Invio]
  5. iptables -t filter -A FORWARD -p udp --sport 53 -j ACCEPT[Invio]
  6. iptables -t filter -A FORWARD -p udp --dport 53 -j ACCEPT[Invio]
  7. iptables -t filter -A FORWARD -p tcp --sport 25 -j DROP[Invio]
  8. iptables -t filter -A FORWARD -p tcp --dport 25 -j DROP[Invio]
  9. iptables -t filter -A FORWARD -p tcp --sport 110 -j DROP[Invio]
  10. iptables -t filter -A FORWARD -p tcp --dport 110 -j DROP[Invio]

Appunti di informatica libera 2007.02 --- Copyright © 2000-2007 Daniele Giacomini -- <daniele (ad) swlibero·org>


Dovrebbe essere possibile fare riferimento a questa pagina anche con il nome verifica_sommativa_sull_x0027_uso_elementare_delle_reti_tcp_.htm

[successivo] [precedente] [inizio] [fine] [indice generale] [indice ridotto] [indice analitico]