Skip to content
This repository has been archived by the owner on Sep 15, 2019. It is now read-only.

gabrielvv/ftp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ftp

RFC

Build

CMake

mkdir build && cd build
cmake ..
cmake --build . &> build.log.txt

GCC

gcc pi_svr_main.c pi_server.c pi_commons.c ftp_commons.c dtp_commons.c -o ftp_svr -lpthread
gcc pi_cli_main.c pi_client.c pi_commons.c ftp_commons.c dtp_commons.c -o ftp_cli -lpthread

Code organization

  • FTP COMMONS: fonctions de base d'initialisation et gestion de connections client-serveur entre sockets
  • DTP COMMONS: macros et fonctions communes à la partie Data Protocol Interpreter
    • DTP CLIENT: fonctions propres au client DTP
    • DTP SERVER: fonctions propres au serveur DTP
  • PI COMMONS: macros et fonctions communes à la partie Protocol Interpreter
    • PI CLIENT: fonctions propres au client PI
    • PI SERVER: fonctions propres au serveur PI

Test ( using Criterion )

run ctest in the build folder or execute one of the executable present in the build/test folder

Scanning ports with netcat

# www.cyberciti.biz/faq/linux-port-scanning/
 nc -z -v 127.0.0.1 1-3000

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published