Giter Club home page Giter Club logo

fake-iptables's Introduction

Fake IPTables

Fake IPTables is a simple program to simulate the act of masquerading

Server

Currently, the server only does 2 things, when it recieves a request, it will read the body, determine if the source address should be accepted or not, and then accordingly deliver response, in this case, unaccepted source address will be returing "Not Permitted" as the message response, and "Hello!" as the message from accepted source address

Router

Router does 2 things, it will map any request to another address HWAddr to their respective original source address, and then they will replace that request source address with their own, and then proceeds to forward that request to their destination. And it will replace the destination of any request coming to the router with their actual address based on the hardware address, and then forward it to the actual address

Client

Client makes 2 request of the same content every 4 second, but the first request they send to the router, and the second they send directly to server. With this we can see how router masquerade the "source address" so that the server can accept it.

fake-iptables's People

Contributors

iktas avatar

Watchers

 avatar  avatar

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.