Git Product home page Git Product logo

proxy's Introduction

Table of Contents

Introduction

The proxy module simplifies connection handling and offers a generic way to work with both HTTP and SOCKS connections, making it a powerful tool for managing network traffic.

Features

The Inbound Proxy project offers the following features:

  • Full support for HTTP, SOCKS5, SOCKS5h, SOCKS4 and SOCKS4a protocols.
  • Handling of HTTP and HTTPS-connect proxy requests.
  • Full support for both IPv4 and IPv6.
  • Able to handle both TCP and UDP traffic.

Installation

go get github.com/bepass-org/proxy

Examples

Minimal

package main

import (
	"github.com/bepass-org/proxy/pkg/mixed"
)

func main() {
	proxy := mixed.NewProxy()
	_ = proxy.ListenAndServe()
}

Customized

package main

import (
  "github.com/bepass-org/proxy/pkg/mixed"
)

func main() {
  proxy := mixed.NewProxy(
    mixed.WithBindAddress("0.0.0.0:8080"),
  )
  _ = proxy.ListenAndServe()
}

There are other examples provided in the example directory

proxy's People

Contributors

behnambm avatar uoosef avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

proxy's Issues

Udp Connection Handling Problem

سلام و تشکر از زحماتتون

به نظر میاد تو socks وقتی درخواست برای udp میاد یه مشکل کوچیکی داره

برای آدرس udp از مقدار destinationAddr استفاده شده
که به نظر میاد باید از مقدار nil یا "0.0.0.0:0" استفاده شود

تغییرات من اینجا دادم اگه لطف کنید این رو هم اعمال کنید ممنون میشم یا من pull request بزنم؟

772d602

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.