version 1.1, 2010/01/26 01:28:35 |
version 1.2, 2010/05/16 12:55:51 |
|
|
|
|
forwarding type may be MUX_FWD_LOCAL, MUX_FWD_REMOTE, MUX_FWD_DYNAMIC. |
forwarding type may be MUX_FWD_LOCAL, MUX_FWD_REMOTE, MUX_FWD_DYNAMIC. |
|
|
A server may reply with a MUX_S_OK, a MUX_S_PERMISSION_DENIED or a |
A server may reply with a MUX_S_OK, a MUX_S_REMOTE_PORT, a |
MUX_S_FAILURE. |
MUX_S_PERMISSION_DENIED or a MUX_S_FAILURE. |
|
|
|
For dynamically allocated listen port the server replies with |
|
|
|
uint32 MUX_S_REMOTE_PORT |
|
uint32 client request id |
|
uint32 allocated remote listen port |
|
|
5. Requesting closure of port forwards |
5. Requesting closure of port forwards |
|
|
A client may request the master to establish a port forward: |
A client may request the master to establish a port forward: |
|
|
#define MUX_S_EXIT_MESSAGE 0x80000004 |
#define MUX_S_EXIT_MESSAGE 0x80000004 |
#define MUX_S_ALIVE 0x80000005 |
#define MUX_S_ALIVE 0x80000005 |
#define MUX_S_SESSION_OPENED 0x80000006 |
#define MUX_S_SESSION_OPENED 0x80000006 |
|
#define MUX_S_REMOTE_PORT 0x80000007 |
|
|
#define MUX_FWD_LOCAL 1 |
#define MUX_FWD_LOCAL 1 |
#define MUX_FWD_REMOTE 2 |
#define MUX_FWD_REMOTE 2 |