sockets_and_services

SIN COMPRESIÓN SIN ENCRIPTADO servicio: python -m ftp_exercise ftp_service -p 21 comandos cliente: nc localhost 21 datos cliente: nc localhost 1024

SIN COMPRESIÓN CON ENCRIPTADO servicio: python -m ftp_exercise.ftp_service -p 21 -s -c cert-ssl/certificado.pem -k cert-ssl/clave-privada.key comandos cliente: openssl s_client localhost:21 datos cliente: openssl s_client -quiet -ign_eof localhost:1024 2>/dev/null

CON COMPRESIÓN SIN ENCRIPTADO servicio: python -m ftp_exercise.ftp_service -p 21 -z comandos cliente: nc localhost 21 datos cliente: nc localhost 1024 | gunzip

CON COMPRESIÓN CON ENCRIPTADO servicio: python -m ftp_exercise.ftp_service -p 21 -z -s -c cert-ssl/certificado.pem -k cert-ssl/clave-privada.key comandos cliente: openssl s_client localhost:21 datos cliente: openssl s_client -quiet -ign_eof localhost:1024 2>/dev/null | gunzip

TCPDUMP tcpdump -i any -n -X port 1024

descriptores de archivo: 0 - input 1 - output 2 - error