Giter Site home page Giter Site logo

cse534-project's Introduction

CSE 534 Project: SbuSocks

Documentation

Slides

Report

Requirements:

  • Python3
  • OmegaSwitch for Chrome or Proxifier

Run SbuSocks

server-side:

python server.py config_path

The default path of config_path is ./server_config.json

The server configuration contains the following fields

    "local_addr":"0.0.0.0",
    "local_port":"xxxx",
    "key":"xxxxxxxxxx"

"local_addr":"0.0.0.0" means the server is listening all in-coming IPv4 traffic

"local_port" is the port the server listens on.

"key" is used to generate a key to encrypt and decrypt message between the server and the client.

client-side:

python server.py config_path

The default path of config_path is ./client_config.json

The server configuration contains the following fields

    "server_addr":"xxx.xxx.xxx.xxx",
    "server_port":"xxxx",
    "local_addr":"127.0.0.1",
    "local_port":"1081",
    "key":"xxxxxxx"

"server_addr" is the server IP address.

"server_port" is the server listening port.

"local_addr":"127.0.0.1" means the client is listening all in-coming local IPv4 traffic.

"local_port" is the port the client listens on.

"key" is used to generate a key to encrypt and decrypt message between the server and the client. This key should be the same with the key on the server.

Use SbuSocks

We assume applications support socks5 protocol. Chrome with OmegaSwitch extension support socks5. And using Proxifier, we can make all applications support socks5.

The configuration of Omega is as follows: snapshot

Mechanism

SbuSocks' Architecture: architecture

Finite-state machine model of client TCP Relay: client

Finite-state machine model of server TCP Relay: server

cse534-project's People

Contributors

caitaozhan avatar xuan-li avatar

Stargazers

 avatar Weixin Tang avatar Charles Wong avatar  avatar zongfu avatar jamesxue avatar Dongdong Wang avatar

Watchers

James Cloos avatar  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.