securesocketfunneling / ssf

Secure Socket Funneling - Network tool and toolkit - TCP and UDP port forwarding, SOCKS proxy, remote shell, standalone and cross platform
https://securesocketfunneling.github.io/ssf/
Other
1.59k stars 234 forks source link

Enable or disable local micro services #20

Closed securesocketfunneling closed 8 years ago

securesocketfunneling commented 8 years ago

SSF should provide a way to enable or disable local micro services.

Micro services

For example, when ssfc is requested a SOCKS server (-D option), it activates a local micro service and a remote micro service on the server:

Disabling SOCKS micro service server side will make the client request failed. Disabling TCP to SSF stream fiber micro service client side will do the same effect.

How to enable/disable local micro services

Enabling/disabling micro service will be included in the file config in services section.

Example:

{
    "ssf": {
        "services": {
            "socks": {
                "enable": true
            }
        }
    }
}

If no configuration is provided, the default behavior will be: