Team members: Jared Frees, Zach Cusick, Brian Fissel
- Python version 3
- pyftpdlib
- If on Ubuntu: You need to run both pip and python with
sudo
in front because the program uses reserved ports for HTTP and FTP. - To run the program you will need to install pyftpdlib which can be done with the command:
pip3 install pyftpdlib
- Run program:
python .\main_menu.py
- After running you can then select which type of server you would like to run by typing the specified number.
- After selecting, the server is now running and you can interact with it.
- The TCP connection is on port 25565, the SSH is on port 2222, the FTP is port 21, and the HTTP is on port 80.
- For testing each server you can either use the command line, your browser, or use
./porttest.ps1
ortest_client.py
- You can end the program with CTRL-C to exit the program.
- FTP:
- ftp <ip-address> <port-number>
- ftp 127.0.0.1 21
- TCP:
- nc <ip-address> <port-number>
- nc 127.0.0.1 25565
- HTTP:
- Browser: http://127.0.0.1
- SSH:
- ssh -p <port> <ip-address>
- ssh -p 2222 127.0.0.1