Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Allow using @ instead of : in port forward definitions | 4350dabf2f524daabb03f26928742296310b456f | GDR! | 2015-01-12 21:57:20 |
Got rid of the memory leak | 4e3d5e48fe25648a182dc7f67f4f49e4d8471ebf | GDR! | 2014-12-30 13:38:43 |
Removed old comments | 870624e91fa526f5eeb0d699f8a33a43ff7af4a1 | GDR! | 2014-12-28 14:35:41 |
Debian init script added | 86e70ffe9f835b12667d296f2df9c307ba1aff06 | GDR! | 2014-12-24 16:26:51 |
Forking/setuid/pidfile working | e98c42e6712f16b60ade4f2f996b25001394da4d | GDR! | 2014-12-24 16:07:35 |
Added syslog capability | 53bfa010d3ee7a0c79e4c9155e189431eeafb208 | GDR! | 2014-12-24 14:59:40 |
Clean target | 4280af5e82fad6296d3581a5f62700da34ccd3ea | GDR! | 2014-12-24 14:35:07 |
Version string | 325ae4c314482d10fe46c5c16c2b581959af2f41 | GDR! | 2014-12-24 14:28:13 |
Fixed callbacks on raspbian | 7324419faf44b59072633a76db24a8e612460c8f | GDR! | 2014-12-22 02:23:21 |
Logging framework and command line options | b8c1f1cf062ff681daf160411ad6c35ed7a49d42 | GDR! | 2014-12-22 02:22:38 |
Fixed warning on implicit function declaration | 575ea150208b7ca61a639d0c9a20df656d2b178f | GDR! | 2014-12-22 00:52:53 |
Trying to make the calling convention problem go away | 1fb0fae11b2d129dd380b6413e5e81d461c8806d | GDR! | 2014-12-22 00:52:27 |
Increased number of send retries - helpful on flaky links | 3f86c8bb935408fdfb056a412da23b6b181d0755 | GDR! | 2014-12-13 18:13:12 |
Tokssh formatted | 489cad267d4537cbe20f4c539f49a2d96ed6d0bb | GDR! | 2014-12-13 17:50:07 |
Added tokssh wrapper script | 967a260e4fb84659424e9b81cc7f6318380ae02d | GDR! | 2014-12-13 17:49:14 |
More robust connection algorithm | 4f28d0b194fdd9607955f2e32de44f8fbf5d7d31 | GDR! | 2014-12-13 17:24:39 |
Added -lrt for old glibc versions like raspbian | 9f66ecc193b1bca4eac19f178123215340c9cb14 | GDR! | 2014-12-13 17:24:10 |
Pipe mode working, yay! | 99a66836911b804dce1455580cbf75dc99f23538 | GDR! | 2014-12-11 22:27:26 |
Added MSG_NOSIGNAL to send() in client | c9f51df320380a537843145ebbf4ceff7ef1c561 | GDR! | 2014-12-11 21:33:27 |
Fixed a warning and printing garbage | 925a7c2bdf93c3a0209552285b77e2e585a799c4 | GDR! | 2014-12-11 21:31:49 |
File | Lines added | Lines deleted |
---|---|---|
util.c | 16 | 0 |
File util.c changed (mode: 100644) (index 4b7aa26..8cffe64) | |||
... | ... | int parse_local_port_forward(char *string, int *local_port, char **hostname, int | |
89 | 89 | char *lport; | char *lport; |
90 | 90 | char *host; | char *host; |
91 | 91 | char *rport; | char *rport; |
92 | |||
93 | /* First replace all @ with :, ':' is forbidden in some environments */ | ||
94 | char *p = string; | ||
95 | while(*p) | ||
96 | { | ||
97 | if(*p == '@') *p = ':'; | ||
98 | p++; | ||
99 | } | ||
92 | 100 | ||
93 | 101 | lport = strtok(string, ":"); | lport = strtok(string, ":"); |
94 | 102 | host = strtok(NULL, ":"); | host = strtok(NULL, ":"); |
... | ... | int parse_pipe_port_forward(char *string, char **hostname, int *remote_port) | |
112 | 120 | { | { |
113 | 121 | char *host; | char *host; |
114 | 122 | char *rport; | char *rport; |
123 | |||
124 | /* First replace all @ with :, ':' is forbidden in some environments */ | ||
125 | char *p = string; | ||
126 | while(*p) | ||
127 | { | ||
128 | if(*p == '@') *p = ':'; | ||
129 | p++; | ||
130 | } | ||
115 | 131 | ||
116 | 132 | host = strtok(string, ":"); | host = strtok(string, ":"); |
117 | 133 | rport = strtok(NULL, ":"); | rport = strtok(NULL, ":"); |