Giter Site home page Giter Site logo

caisan / light_tcp_proxy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from trainingproject/light_tcp_proxy

0.0 1.0 0.0 672 KB

It is a light TCP proxy based on packet. And it will not use any Linux network API like connect, send, and so on.

Makefile 3.64% C 96.36%

light_tcp_proxy's Introduction

#
#   Light TCP Proxy
#
#   As its name, it is a light TCP proxy.
#
#   Now it is incomplete. But it is used to study Linux TCP/IP codes.
#   Because you could debug the codes in the user space.
#   There are lots of codes from linux kernel
#
#   Usage:
#   1. Add one rule into itpable like the following rule
#      iptables -t mangle -I PREROUTING -p tcp -s 192.168.1.104 -d 192.168.1.105 --dport 8080 -j QUEUE
#   2. Run ./ltp_main
#
#   Future Usage:
#
#   It is used to the network device, so it does not depending on any libarary even libc
#   Now it is based on the IPtables to get the packet from kernel.
#   It is easy to debug in this way.
#   But it will be could be ported into kernel easily
#
#
#   Author: Feng Gao
#   Email : [email protected]
#   Date  : 9/25/2012


light_tcp_proxy's People

Contributors

gfreewind avatar

Watchers

 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.