Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable or disable local micro services #20

Closed
securesocketfunneling opened this issue Sep 1, 2016 · 0 comments
Closed

Enable or disable local micro services #20

securesocketfunneling opened this issue Sep 1, 2016 · 0 comments
Labels
Milestone

Comments

@securesocketfunneling
Copy link
Owner

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

Micro services

  • TCP to SSF stream fiber
  • SSF stream fiber to TCP socket
  • UDP socket to SSF datagram fiber
  • SSF datagram fiber to UDP socket
  • SOCKS
  • File copy server
  • Shell

Micro services interactions

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:

  • TCP to stream fiber micro service client side
  • SOCKS micro service server side

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:

  • TCP to SSF stream fiber: ON
  • SSF stream fiber to TCP socket: ON
  • UDP socket to SSF datagram fiber: ON
  • SSF datagram fiber to UDP socket: ON
  • SOCKS: ON
  • File copy server: OFF
  • Shell: OFF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant