Skip to content

fksvs/svsocks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SVSOCKS - SOCKS5 server

svsocks is a lightweight and fast SOCKS5 server.

Table of Contents

  1. Features
  2. Installation
  3. Usage
  4. License

Features

  • IPv4 & IPv6 dual-stack server
  • Thread pool for accepting connections
  • Non-blocking sockets with edge-triggered polling (epoll)
  • CONNECT command
  • Username/Password authentication
  • IPv4, IPv6 and Domain Name address types
  • Syslog logging

Installation

git clone https://github.com/fksvs/svsocks
git clone https://gitlab.com/fksvs/svsocks
  • change directory to svsocks:
cd svsocks/
  • build the source:
make

Usage

usage: ./svsocks [options]

Options:

  • -a, [listen address] : Set the listen address for incoming connections in IPv6 format.
  • -p, [listen port] : Set the listen port for incoming connections.
  • -n, [number of threads]: Set the number of threads to be used in the thread pool.
  • -u, [username] : Set username for username/password authentication.
  • -s, [password] : Set password for username/password authentication.

Default values can be changed in the source code as defined by macros.

License

This project is free software; you can redistribute it and/or modify it under the terms of the GPLv3 license. See LICENSE for details.