Skip to content

smeoow/Naive

 
 

Repository files navigation

The NaiveSocks with Related Projects

NaiveSocks is an all-in-one networking tool operating at the transport layer.

It can serve as proxy server/client, port forwarder, DNS server/client, HTTP file server and more...

Build Status

Appveyor build status Appveyor build status Docker Cloud Build Status

GitHub Releases

Feature & Future

  • Interactive CLI
  • Configuration file using TOML
  • Supported protocols
    • 'direct' (in/out)
    • 'socks5' (in/out)
    • 'http' (in/out)
    • 'tlssni' (in)
    • 'ss' (in/out)
    • 'naive' (in/out)
      • Multiplexing (for 0-RTT handshake) and optional inversed multiplexing (for bandwidth)
      • Optional compression
  • 'dns' - simple DNS server (UDP) and client (UDP/DoH)
  • 'router'
    • ABP Filter support
    • Auto download ABP Filters from URL
  • Web server
    • "Virtual host" / path rules support
    • 'webfile' - Static website / file server
    • 'webauth' - Basic HTTP authentication
    • 'webcon' - Web console
  • Linux
    • Async socket implementation using epoll
    • 'tproxy' (in) - Transparent proxy support
  • Android
    • UI: Status / Adapters / Connections / Log / Console
    • Simple text configuration editor
    • VpnService implementation using tun2socks
    • Configuration management UI
  • Windows
    • UI: Connections / Log / Console
    • Systray
    • Configuration management UI
  • UDP support
    • 'direct'
    • 'socks5'
    • 'naive'

Download & Run

Download from GitHub Releases or Latest build on Appveyor

.NET Framework (4.5.1 or above) / Mono

Run NaiveSocks.exe in NaiveSocks_net45.zip/tar.gz or NaiveSocks_SingleFile.exe.

.NET Core (2.1 or above)

Run run.sh or run.bat in NaiveSocks_dotnetcore.zip/tar.gz.

Android

Install NaiveSocksAndroid.apk and run.

Docker

docker run -it -v ./naivesocks.tml:/app/naivesocks.tml hex0011/naivesocks

Configuration Example

See NaiveSocks/naivesocks-example.tml

Related Projects

NaiveSvrLib: HTTP server implementation and socket helpers

NaiveZip: A simple archiver that can bundle .NET Framework apps into a single excutable.

Nett: A customized fork of the TOML library Nett

About

A universal networking toolbox supporting several protocols

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 98.9%
  • Other 1.1%