Speedify Command Line Interface

The Speedify CLI is a cross-platform utility to help command and monitor Speedify without using the traditional user interface. It is meant to be run on the same device that it is controlling.

The output from Speedify CLI is always one of the following:

  • On success, its exit value is 0 and it prints JSON to the console. If there are more than one JSON objects they will be separated by double newlines.
  • On error, its exit value is 1 and the last line of its output will be a non-JSON error message to the console. (Some longer running commands can output some JSON before hitting an error and returning. The last line is always the error message)
  • On an invalid set of options, its exit value will be 2 and it will output the plain text usage instructions.

The CLI contains the following commands:

help

Usage information can be obtained by passing in -h, --help, or invalid parameters.

<code>speedify_cli v7.0.2.0
 speedify_cli adapter datalimit daily <adapter guid> <data usage in bytes|unlimited>
 speedify_cli adapter datalimit monthly <adapter guid> <data usage in bytes|unlimited> <day of the  month to reset on|0 for last 30 days>
 speedify_cli adapter priority <adapter guid> <always|secondary|backup|never>
 speedify_cli adapter ratelimit <adapter guid> <speed in bits per second|unlimited>
 speedify_cli connect [optional fastest|dedicated|p2p|country]
 speedify_cli connectmethod [fastest|dedicated|p2p|country]
 speedify_cli directory <directory server domain|nothing to change to default>
 speedify_cli disconnect
 speedify_cli encryption <on|off>
 speedify_cli jumbo <on|off>
 speedify_cli login <username> <password>
 speedify_cli login auto
 speedify_cli login oauth <access token>
 speedify_cli logout
 speedify_cli mode <redundant|speed>
 speedify_cli ports [port/proto] [port/proto] ...
 speedify_cli show [servers|settings|adapters|currentserver|user]
 speedify_cli startupconnect <on|off>
 speedify_cli state
 speedify_cli speedtest [showProgress]
 speedify_cli stats [optional duration in seconds]
 speedify_cli transport <auto|tcp|udp>
 speedify_cli version
 speedify_cli exit

adapter datalimit daily

The adapter datalimit daily allows the user to limit the data usage for a specific adapter on a daily basis. The usage can be either limited in bytes or unlimited. This will set the “maxDaily” value accordingly. The adapter guid can be found by using the show adapters option

<code>  $speedify_cli adapter datalimit daily adapter_guid 10000
  [
   {
      "bssid" : "",
      "connectionState" : 0,
      "description" : "adapter_guid",
      "encrypted" : true,
      "guid" : "adapter_guid",
      "ignored" : false,
      "ip" : "192.168.2.209",
      "ipList" : [ "192.168.2.209" ],
      "key" : "adapter_guid%192.168.2.0/24",
      "limits" : {
         "boostDaily" : 0,
         "ignored" : false,
         "max" : 0,
         "maxDaily" : 10000,
         "notified" : {
            "daily" : {
               "u100" : false,
               "u75" : false
            },
            "monthly" : {
               "u100" : false,
               "u75" : false
            }
         },
         "overlimitRate" : 200000,
         "resetDay" : 0,
         "usage" : 7672908,
         "usageDaily" : 2416253
      },
      "name" : "adapter_guid",
      "priority" : "always",
      "rateLimit" : 0,
      "ssid" : "",
      "tunnelStateList" : [],
      "type" : "Unknown"
   }
]

adapter datalimit monthly

The adapter datalimit monthly allows the user to set a monthly data cap that resets on a set date or lasts 30 days. The usage can be either limited in bytes or unlimited. This will set the “max” and “resetDay” accordingly.

<code>  $speedify_cli adapter datalimit monthly adapter_guid 100000 9
  [
   {
      "bssid" : "",
      "connectionState" : 0,
      "description" : "adapter_guid",
      "encrypted" : true,
      "guid" : "adapter_guid",
      "ignored" : false,
      "ip" : "192.168.2.209",
      "ipList" : [ "192.168.2.209" ],
      "key" : "adapter_guid%192.168.2.0/24",
      "limits" : {
         "boostDaily" : 0,
         "ignored" : false,
         "max" : 100000,
         "maxDaily" : 0,
         "notified" : {
            "daily" : {
               "u100" : false,
               "u75" : false
            },
            "monthly" : {
               "u100" : false,
               "u75" : false
            }
         },
         "overlimitRate" : 200000,
         "resetDay" : 9,
         "usage" : 7672908,
         "usageDaily" : 2416253
      },
      "name" : "adapter_guid",
      "priority" : "always",
      "rateLimit" : 0,
      "ssid" : "",
      "tunnelStateList" : [],
      "type" : "Unknown"
   }
]

adapter priority

The adapter priority command allows the user to choose which adapter gets one of the following priorities:

  1. Always - Use whenever connected\
  2. Secondary - Use less than Always connection-for connections with data limit\
  3. Backup - Only use when other connections are unavailable\
  4. Never - Adapter isn’t used
    This will set “priority” as one of the above mentioned options accordingly.
<code>  $speedify_cli  adapter priority adapter_guid secondary
  [
   {
      "bssid" : "",
      "connectionState" : 0,
      "description" : "adapter_guid",
      "encrypted" : true,
      "guid" : "adapter_guid",
      "ignored" : false,
      "ip" : "192.168.2.209",
      "ipList" : [ "192.168.2.209" ],
      "key" : "adapter_guid%192.168.2.0/24",
      "limits" : {
         "boostDaily" : 0,
         "ignored" : false,
         "max" : 0,
         "maxDaily" : 0,
         "notified" : {
            "daily" : {
               "u100" : false,
               "u75" : false
            },
            "monthly" : {
               "u100" : false,
               "u75" : false
            }
         },
         "overlimitRate" : 200000,
         "resetDay" : 9,
         "usage" : 7672908,
         "usageDaily" : 2416253
      },
      "name" : "adapter_guid",
      "priority" : "secondary",
      "rateLimit" : 0,
      "ssid" : "",
      "tunnelStateList" : [],
      "type" : "Unknown"
   }
  ]

adapter ratelimit

The adapter ratelimit command allows the user to throttle the adapter's speed. This will set “ratelimit” accordingly in bits per second.

<code>  $speedify_cli  adapter ratelimit adapter_guid 1000000
  [
   {
      "bssid" : "",
      "connectionState" : 0,
      "description" : "adapter_guid",
      "encrypted" : true,
      "guid" : "adapter_guid",
      "ignored" : false,
      "ip" : "192.168.2.209",
      "ipList" : [ "192.168.2.209" ],
      "key" : "adapter_guid%192.168.2.0/24",
      "limits" : {
         "boostDaily" : 0,
         "ignored" : false,
         "max" : 0,
         "maxDaily" : 0,
         "notified" : {
            "daily" : {
               "u100" : false,
               "u75" : false
            },
            "monthly" : {
               "u100" : false,
               "u75" : false
            }
         },
         "overlimitRate" : 200000,
         "resetDay" : 9,
         "usage" : 7672908,
         "usageDaily" : 2416253
      },
      "name" : "adapter_guid",
      "priority" : "secondary",
      "rateLimit" : 1000000,
      "ssid" : "",
      "tunnelStateList" : [],
      "type" : "Unknown"
   }
  ]

connect

The connect command connects to a server based on your connectmethod setting, or a server of your choosing. It prints details of the server it has selected.

<code>  $ speedify_cli connect
  {
     "apiPort" : "80",
     "city" : "chicago",
     "connectedUsers" : 10,
     "country" : "us",
     "currentState" : "ONLINE",
     "currentUsers" : "16",
     "date" : "Thu, 19 Jan 2017 18:02:40 GMT",
     "dc" : "vultr-chicago",
     "expectedDownBw" : "870",
     "expectedUpBw" : "470",
     "hostName" : "ssm-host-us-chicago-1.speedifynetworks.com",
     "id" : "ef1944e0e93b43da2557a04454b15dc8bb134ce0350a2f61666483498005e0a2",
     "latitude" : "41.878114",
     "longName" : "USA - Chicago #1",
     "longitude" : "-87.629798",
     "mType" : "1",
     "machineStats" : {
        "cpuUsage" : 0.193847656250,
        "memUsage" : 0.3541276200293630,
        "netUsage" : {
           "down" : 0.01291726973180077,
           "up" : 0.02409256425531915
        }
     },
     "num" : "1",
     "pVersion" : "3",
     "private" : "no",
     "privateApiPort" : "443",
     "publicIP" : [ "108.61.242.22", "108.61.119.18" ],
     "revision" : "",
     "torrent" : "no",
     "unifiedMetric" : 0.1580016122080003,
     "version" : "4.1.3-1423123"
  }

To connect to the nearest server in a particular country, pass along a two-letter country code drawn from the speedify_cli show servers command:

<code>  $ speedify_cli connect ca

To connect to a particular city, pass along a two-letter country code and city, drawn from the speedify_cli show servers command:

<code>  $ speedify_cli connect us-atlanta

To connect to a specific server, pass along a two-letter country code, city, and number, drawn from the speedify_cli show servers command:

<code>  $ speedify_cli connect us-atlanta-3

connectmethod

The connectmethod command sets the connection method used during autoconnect. It prints the state immediately after the request to set the connection method is made. The method used can be dedicated, p2p or fastest. In order for this setting to be used, you may need to begin an autoconnect after changing the method, by running speedify_cli connect.

<code>  $ speedify_cli connectmethod dedicated
  {
     "desc" : "LOGGED_IN",
     "state" : 2
  }

disconnect

The disconnect command disconnects from the server. It prints the state immediately after the request to disconnect is made.

<code>  $ speedify_cli disconnect
  {
     "desc" : "DISCONNECTING",
     "state" : 5
  }

encryption

The encryption command enables or disables encryption of all tunneled traffic. It prints the connection settings immediately after the change is made.

<code>  $ speedify_cli encryption on
  {
    "algorithm" : "SP",
    "connection_congestion_threshold_paramters" : null,
    "connection_secondary_speed_activation" : 30.0,
    "encrypted" : true,
    "exclude_private_ip" : true,
    "forward_ports" : [],<
    "header_compression" : false,
    "jumbo_packets" : true,
    "perconn_encryption" : false,
    "retransmission_enabled" : true,
    "startup_connect" : true,
    "tcp_transport" : false,
    "transport_mode" : "auto"
  }

jumbo

The jumbo command allows the transfer or larger MTU packets. This will set “jumbo_packets” to either “True” or “False”.

<code>$speedify_cli jumbo on
  {
     "algorithm" : "SP",
     "allow_chacha_encryption" : true,
     "connection_congestion_threshold_parameters" : null,
     "connection_secondary_speed_activation" : 30.0,
     "encrypted" : true,
     "exclude_private_ip" : true,
     "forward_ports" : null,
     "header_compression" : false,
     "jumbo_packets" : true,
     "perconn_encryption" : false,
     "retransmission_enabled" : true,
     "startup_connect" : true,
     "transport_mode" : "auto"
  }

login

The login command instructs Speedify to connect with the given username and password. It prints the state immediately after the request to login is made. Speedify will then proceed to automatically connect if the login succeeds.

<code>  $ speedify_cli login [email protected] MyCrazyP4ssword
  {
     "desc" : "LOGGING_IN",
     "state" : 5
  }

login auto

The login auto command instructs Speedify to connect to a free account with a set data limit. It prints the following state immediately after the request is made.

$speedify_cli login auto { "desc" : "LOGGED_IN", "state" : 2 }

logout

The logout command disconnects from the server and flushes any user credentials that were stored.

<code>  $ speedify_cli logout
  {
     "desc" : "DISCONNECTING",
     "state" : 5
  }

mode

The mode command instructs Speedify to optimize for maximum connection speed or redundancy. Valid options are speed and redundant.

<code>  $ speedify_cli mode speed
  {
    "algorithm" : "SP",
    "connection_congestion_threshold_paramters" : null,
    "connection_secondary_speed_activation" : 30.0,
    "encrypted" : true,
    "exclude_private_ip" : true,
    "forward_ports" : [],
    "header_compression" : false,
    "jumbo_packets" : true,
    "perconn_encryption" : false,
    "retransmission_enabled" : true,
    "startup_connect" : true,
    "tcp_transport" : false,
    "transport_mode" : "auto"
  }

ports

The ports command instructs Speedify to request public ports from a Dedicated Speed Server. These settings only go into effect after a reconnect, and they are ignored by public Speed Servers. Requesting a port that is already taken by another user will lead to the connect request failing, and state will return to LOGGED_IN. Calling the ports command with no additional parameters will clear the port forward requests.

<code>  $ speedify_cli ports 8080/tcp 8443/udp
  {
   "algorithm" : "SP",
   "connection_secondary_speed_activation" : 30.0,
   "encrypted" : true,
   "forward_ports" : [
      {
         "port" : "8080",
         "proto" : "tcp"
      },
      {
         "port" : "8443",
         "proto" : "udp"
      }
   ],
   "header_compression" : false,
   "retransmission_enabled" : true,
   "startup_connect" : true
}

show servers

The show servers command retrieves the current list of Speed Servers. If you have access to any Dedicated Speed Servers, they appear in a dedicated array. The public pool of Speed Servers appear in a public array.

<code>  $ speedify_cli show servers
  {
    {
      "dedicated" : [
         "privateus-atlanta-11",
         "privateus-atlanta-12"
      ],
      "public" : [
         "at-vienna-1",
         "au-sydney-1",
         "au-sydney-2",
         <snip>
         "us-sf-1"
      ]
    }
  }

show settings

The show settings command retrieves the current connection settings. These settings are sent to the server at connect time, and they can be retrieved at any time.

<code>  $ speedify_cli show settings
  {
    "algorithm" : "SP",
    "connection_congestion_threshold_paramters" : null,
    "connection_secondary_speed_activation" : 30.0,
    "encrypted" : true,
    "exclude_private_ip" : true,
    "forward_ports" : [],
    "header_compression" : false,
    "jumbo_packets" : true,
    "perconn_encryption" : false,
    "retransmission_enabled" : true,
    "startup_connect" : true,
    "tcp_transport" : false,
    "transport_mode" : "auto"
  }

show adapters

The show adapters command allows the user to view a list of adapters being utilized by Speedify.

<code>  $speedify_cli show adapters
  [
     {
        "bssid" : "",
        "connectionState" : 0,
        "description" : "adapter_guid",
        "encrypted" : true,
        "guid" : "adapter_guid",
        "ignored" : false,
        "ip" : "192.168.2.209",
        "ipList" : [ "192.168.2.209" ],
        "key" : "adapter_guid%192.168.2.0/24",
        "limits" : {
           "boostDaily" : 0,
           "ignored" : false,
           "max" : 0,
           "maxDaily" : 0,
           "notified" : {
              "daily" : {
                 "u100" : false,
                 "u75" : false
              },
              "monthly" : {
                 "u100" : false,
                 "u75" : false
              }
           },
           "overlimitRate" : 200000,
           "resetDay" : 9,
           "usage" : 7795758,
           "usageDaily" : 2539103
        },
        "name" : "adapter_guid",
        "priority" : "secondary",
        "rateLimit" : 0,
        "ssid" : "",
        "tunnelStateList" : [],
        "type" : "Unknown"
     }
  ]

show currentserver

The show currentserver command displays the last server Speedify was connected.

<code>$speedify_cli show currentserver
  {
   "apiPort" : "80",
   "city" : "newark",
   "connectedUsers" : 77,
   "country" : "us",
   "currentState" : "ONLINE",
   "currentUsers" : 23,
   "date" : "Wed, 05 Sep 2018 18:00:16 GMT",
   "dc" : "vultr-newark",
   "distance" : 123,
   "expectedDownBw" : "1350",
   "expectedUpBw" : "400",
   "hostName" : "ssm-host-us-newark-4.speedifynetworks.com",
   "id" : "6dd94b9ef989bc6d0effbf9399d3449019418a81e44f11de9ef0a613bb9a7a02",
   "lastUsedIp" : -1,
   "latitude" : "40.735657",
   "longName" : "USA - Newark #4",
   "longitude" : "-74.172367",
   "mType" : "1",
   "machineStats" : {
      "cpuUsage" : 0.3981933593750,
      "memUsage" : 0.2452778858315780,
      "netUsage" : {
         "down" : 0.01342304424691358,
         "up" : 0.04780934933333333
      }
   },
   "num" : "4",
   "pVersion" : "3",
   "private" : "no",
   "privateApiPort" : "443",
   "publicIP" : [ "45.63.12.202", "104.238.129.68" ],
   "requestedPorts" : [],
   "revision" : "",
   "testAve" : 123,
   "testResults" : {
      "0" : {
         "curlHostsObjectPtr" : null,
         "lastTestSuccess" : false,
         "name" : "USA - Newark #4 (45.63.12.202)",
         "shareHandlePtr" : null,
         "testSuccess" : 0,
         "testTimeTotal" : 0
      },
      "1" : {
         "curlHostsObjectPtr" : null,
         "lastTestSuccess" : false,
         "name" : "USA - Newark #4 (104.238.129.68)",
         "shareHandlePtr" : null,
         "testSuccess" : 0,
         "testTimeTotal" : 0
      }
   },
   "torrent" : "no",
   "unifiedMetric" : 0.2274566606496490,
   "version" : "6.0.0-f90c264",
   "weight" : 0
  }

show user

The show user command displays the current user’s emailID, bytes used, bytes available to use, if the account is free or not, and whether the account is part of a Team.

<code>  $speedify_cli  show user
  {
     "bytesAvail" : 5000000000,
     "bytesUsed" : 5033426079,
     "email" : "[email protected]",
     "isAutoAccount" : true,
     "isTeam" : true
  }

If the account has an unlimited data limit available to use then the “bytesAvail” is set to -1

startupconnect

The startupconnect option tells Speedify if it should connect automatically at startup or not. It prints the state immediately after the request is made.

<code>  $ speedify_cli startupconnect on
  {
    "algorithm" : "SP",
    "connection_congestion_threshold_paramters" : null,
    "connection_secondary_speed_activation" : 30.0,
    "encrypted" : true,
    "exclude_private_ip" : true,
    "forward_ports" : [],
    "header_compression" : false,
    "jumbo_packets" : true,
    "perconn_encryption" : false,
    "retransmission_enabled" : true,
    "startup_connect" : true,
    "tcp_transport" : false,
    "transport_mode" : "auto"
  }

state

The state command retrieves the current state of the connection. It prints the raw number and a textual description of that number. Possible states are LOGGED_OUT, LOGGING_IN, LOGGED_IN, AUTO_CONNECTING, CONNECTING, DISCONNECTING, CONNECTED, OVERLIMIT, and UNKNOWN.

<code>  $ speedify_cli state
  {
     "desc" : "LOGGED_OUT",
     "state" : 0
  }

speedtest

The speedtest command allows the user to check the upload and download speeds while using Speedify. Using speedtest showProgress reports real time information regarding the speedtest.

<code>  $speedify speedtest
  {
     "results" : {
        "speedify" : {
           "durationDown_s" : 14.91200000001118,
           "durationUp_s" : 15.02299999998650,
           "guid" : "speedify",
           "id" : 0,
           "rtt_ms" : 19,
           "speedDown_bps" : 89622280.0,
           "speedUp_bps" : 17106436.52680698,
           "stats" : {
              "connections" : {
                 "adapter_guid" : {
                    "network" : "",
                    "postTest" : {
                       "bytes_recv" : 152610568,
                       "bytes_sent" : 56371802,
                       "cost" : 0,
                       "cost_index" : 4,
                       "id" : 4,
                       "inflight" : 103971,
                       "local_addr" : "69.253.125.155:52501",
                       "lost_packets" : 0,
                       "max_rtt" : 320,
                       "min_rtt" : 16,
                       "network_guid" : "adapter_guid",
                       "network_name" : "adapter_guid",
                       "ooo_packets" : 0,
                       "packets_recv" : 21672,
                       "packets_sent" : 16799,
                       "protocol" : "tcp",
                       "recv_bw_est" : 93.340,
                       "recv_mbps" : 0.08396000000000001,
                       "remote_addr" : "76.8.60.155:53934",
                       "remote_id" : 2,
                       "remote_rtt" : 47,
                       "rtt" : 49,
                       "send_bw_est" : 22.11560,
                       "send_mbps" : 8.951928000000001,
                       "sent_lost_packets" : 0,
                       "weight" : 96756
                    },
                    "preTest" : {
                       "bytes_recv" : 9803865,
                       "bytes_sent" : 27386373,
                       "cost" : 0,
                       "cost_index" : 4,
                       "id" : 4,
                       "inflight" : 0,
                       "local_addr" : "69.253.125.155:52501",
                       "lost_packets" : 0,
                       "max_rtt" : 320,
                       "min_rtt" : 16,
                       "network_guid" : "adapter_guid",
                       "network_name" : "adapter_guid",
                       "ooo_packets" : 0,
                       "packets_recv" : 7613,
                       "packets_sent" : 6506,
                       "protocol" : "tcp",
                       "recv_bw_est" : 32.720,
                       "recv_mbps" : 0.0186720,
                       "remote_addr" : "76.8.60.155:53934",
                       "remote_id" : 2,
                       "remote_rtt" : 23,
                       "rtt" : 24,
                       "send_bw_est" : 7.6419840,
                       "send_mbps" : 0.0147920,
                       "sent_lost_packets" : 0,
                       "weight" : 26747
                    },
                    "priority" : 0,
                    "protocol" : "tcp",
                    "rateLimit" : 0,
                    "type" : "Unknown"
                 }
              },
              "tunnel" : {
                 "postTest" : {
                    "connect_time" : "2018/09/10 10:25:25",
                    "down_benefit" : {
                       "combined_mbps" : 0.0,
                       "fastest_conn_mbps" : 0.0,
                       "num_connections" : 0
                    },
                    "failed_writes" : 0,
                    "inflight_queue" : 7,
                    "num_conns" : 1,
                    "num_failovers" : 0,
                    "overflow_threshold" : 30.0,
                    "pending_retrans" : 0,
                    "pending_retrans_requests" : 0,
                    "protocol_pref" : "TCP",
                    "recv_bytes" : 151410391,
                    "recv_mbps" : 0.0506720,
                    "recv_packets" : 16628,
                    "recv_queue" : 0,
                    "recv_wait" : 0,
                    "redund_packets" : 0,
                    "retrans_packets" : 0,
                    "retrans_requests" : 0,
                    "send_mbps" : 13.5458720,
                    "sent_bytes" : 55530062,
                    "sent_packets" : 12148,
                    "sent_queue" : 7,
                    "server" : "USA - Philadelphia #3",
                    "successful_retrans" : 0,
                    "up_benefit" : {
                       "combined_mbps" : 0.0,
                       "fastest_conn_mbps" : 0.0,
                       "num_connections" : 0
                    }
                 },
                 "preTest" : {
                    "connect_time" : "2018/09/10 10:25:25",
                    "down_benefit" : {
                       "combined_mbps" : 0.0,
                       "fastest_conn_mbps" : 0.0,
                       "num_connections" : 0
                    },
                    "failed_writes" : 0,
                    "inflight_queue" : 0,
                    "num_conns" : 1,
                    "num_failovers" : 0,
                    "overflow_threshold" : 30.0,
                    "pending_retrans" : 0,
                    "pending_retrans_requests" : 0,
                    "protocol_pref" : "TCP",
                    "recv_bytes" : 9365428,
                    "recv_mbps" : 0.0137840,
                    "recv_packets" : 5129,
                    "recv_queue" : 0,
                    "recv_wait" : 144,
                    "redund_packets" : 0,
                    "retrans_packets" : 0,
                    "retrans_requests" : 0,
                    "send_mbps" : 0.024480,
                    "sent_bytes" : 27065099,
                    "sent_packets" : 4476,
                    "sent_queue" : 0,
                    "server" : "USA - Philadelphia #3",
                    "successful_retrans" : 0,
                    "up_benefit" : {
                       "combined_mbps" : 0.0,
                       "fastest_conn_mbps" : 0.0,
                       "num_connections" : 0
                    }
                 }
              }
           },
           "step" : 0,
           "stepPercentage" : 0.0,
           "success" : true
        }
     },
     "status" : 2,
     "timestamp" : 1536589606987
  }

stats

The stats command subscribes to a feed of connection and session statistics. By default, this feed will continue until the speedify_cli process is terminated, but an optional parameter can be given to stop and exit after the given number of seconds. This can be useful to monitor how many connections are being utilized by Speedify, and what their current network activity level is in bytes per second.

<code>  $ speedify_cli stats 10
  [
     "report_tunnel_connections",
     {
        "time" : 1484853663142,
        "tunnels" : [
           {
              "bInF" : 598,
              "bInFL" : 0,
              "cnnct" : true,
              "guid" : "en0",
              "lsR" : 0.0,
              "lsS" : 0.0,
              "ltMs" : 32,
              "totBps" : 100080
           }
        ]
     }
  ]

  [
     "report_session_stats",
     {
        "days_since_first" : 47,
        "down_benefit" : {
           "combined_mbps" : 0.0,
           "fastest_conn_mbps" : 0.0,
           "num_connections" : 0
        },
        "num_failovers" : 0,
        "num_sessions" : 101,
        "retrans_bytes" : 1658886,
        "total_connected_minutes" : 3926,
        "up_benefit" : {
           "combined_mbps" : 0.0,
           "fastest_conn_mbps" : 0.0,
           "num_connections" : 0
        }
     }
  ]

  [
     "report_tunnel_connections",
     {
        "time" : 1484853664144,
        "tunnels" : [
           {
              "bInF" : 804,
              "bInFL" : 0,
              "cnnct" : true,
              "guid" : "en0",
              "lsR" : 0.0,
              "lsS" : 0.0,
              "ltMs" : 49,
              "totBps" : 124480
           }
        ]
     }
  ]

  [
     "report_session_stats",
     {
        "days_since_first" : 47,
        "down_benefit" : {
           "combined_mbps" : 0.0,
           "fastest_conn_mbps" : 0.0,
           "num_connections" : 0
        },
        "num_failovers" : 0,
        "num_sessions" : 101,
        "retrans_bytes" : 1658886,
        "total_connected_minutes" : 3926,
        "up_benefit" : {
           "combined_mbps" : 0.0,
           "fastest_conn_mbps" : 0.0,
           "num_connections" : 0
        }
     }
  ]

transport

The transport command instructs Speedify to choose between one of the network protocols auto, tcp or udp. The transport_mode value is set accordingly based on the user’s selection.

<code>  $speedify transport tcp
  {
     "algorithm" : "SP",
     "allow_chacha_encryption" : true,
     "connection_congestion_threshold_parameters" : null,
     "connection_secondary_speed_activation" : 30.0,
     "encrypted" : true,
     "exclude_private_ip" : true,
     "forward_ports" : null,
     "header_compression" : false,
     "jumbo_packets" : true,
     "perconn_encryption" : false,
     "retransmission_enabled" : true,
     "startup_connect" : true,
     "transport_mode" : "tcp"
  }

version

The version command can be used to verify the version of Speedify that is installed and running.

<code>  $ speedify_cli version
  {
     "bug" : 7,
     "build" : 3013,
     "maj" : 0,
     "min" : 2
  }

exit

The exit command will close Speedify and close all connections associated with it.

<code>  $speedify_cli exit
  Connection closed!

Still need help? Contact Us Contact Us