Git Product home page Git Product logo

server-wall's Introduction

Server-Wall

Secure your servers from hostile foreign entities.

#About Server-Wall uses iptables to protect your server from bad actors on LAN. Without the password, key, and a valid user name, your server becomes invisible. The server does not even respond to pings behind the wall. Only after authenticating with AES can the client seamlessly access all services.

#Installation Server-Wall requires python-crypto for AES encryption. Border-Wall's server software also requires IPTables for port blocking.

After all prerequisites are installed, clone the repository on both the client and server with:

git clone https://github.com/ischeinkman/Border-Wall.git

#Configuration After installing, the wall needs to be configured. An example CONFIG.txt is provided in the repository and may be modified as necessary.

Key Description Example
ip IP client will connect to. Does nothing for server. 127.0.0.1
port Port to run server on. Must be greater than 10000. 44444
password The password to use. testpass
key The key that will be provided to AES. testkey
validusers A comma separated list of valid user strings. u1, u2, u3
defaultuser The default user string the client will connect with. Useless on server. u1

#Running On the server, the application may be run with

python whitelistserver.py

The server requires root access to set up the firewall.

To connect to a server from a client, make sure you have a matching CONFIG.txt and run

python connectserver.py

server-wall's People

Contributors

ischeinkman avatar

Watchers

James Cloos avatar  avatar

server-wall's Issues

Encrypted String Reproduction

Right now the same inputs encrypts to nearly the same message being sent over the wire. This means that anyone that listens to the message can clone the message and send it to the server to hijack access. The encryption scheme should include an external source of data to reduce this possibility.

Single Config Source

Right now configuration is done through a combination of source files (IPS.txt, MACS.txt), in-file Python variables, (port, password, key), and command-line args (username). The program should use a single source of configuration to reduce confusion.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.