Skip to content

Anthemty/ssr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShadowsocksR

This repository is trimmed for the current server deployment path:

./scripts/shadowsocks.sh start -l

The startup chain is:

scripts/shadowsocks.sh
scripts/lib/common.sh
python3 shadowsocks/server.py -c shadowsocks.json

Requirements

Install Python 3 and the crypto dependency used by the configured method:

sudo apt-get install python3-dev libsodium-dev

Configuration

The default config file is shadowsocks.json in the repository root.

Use another config file with:

./scripts/shadowsocks.sh start -l -c /path/to/config.json

Operations

./scripts/shadowsocks.sh start -l
./scripts/shadowsocks.sh stop
./scripts/shadowsocks.sh restart -l
./scripts/shadowsocks.sh status
./scripts/shadowsocks.sh log

The -m flag only changes the pid and log file names used by the script. The Python entrypoint stays shadowsocks/server.py.

Repository Layout

  • shadowsocks/: core server, relay, DNS, crypto, and protocol code
  • scripts/: service control scripts
  • shadowsocks.json: active default server config
  • config.json: sample config
  • tests/: retained test fixtures and scripts

License

Licensed under the Apache License, Version 2.0. See LICENSE.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors