Versions in this module Expand all Collapse all v1 v1.0.0 Sep 1, 2016 Changes in this version + func Listeners(c *Config) ([]net.Listener, error) + func NewServer(c *Config) *socks.Server + type AddressGroup struct + func NewAddressGroup(addresses []net.IP, dnsblDomain string) *AddressGroup + func (a *AddressGroup) PickAddress(hint uint32) net.IP + type Config struct + Incoming IncomingConfig + Log cmd.LogConfig + Outgoing OutgoingConfig + func NewConfig() *Config + func (c *Config) Load(path string) error + type IncomingConfig struct + Addresses []net.IP + AllowFrom []string + Port int + type OutgoingConfig struct + Addresses []net.IP + AllowSites []string + DNSBLDomain string + DenyPorts []int + DenySites []string