Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Anthemty/ssr

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
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

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.