Displaying 5 results from an estimated 5 matches for "sfwd_host_port".
Did you mean:
fwd_host_port
2004 May 18
0
use of -D at EscapeChar command line
...f -aur openssh-3.8.1p1-orig/clientloop.c openssh-3.8.1p1/clientloop.c
--- openssh-3.8.1p1-orig/clientloop.c 2003-12-17 00:33:11.000000000 -0500
+++ openssh-3.8.1p1/clientloop.c 2004-05-18 16:12:57.000000000 -0400
@@ -508,6 +508,7 @@
u_short fwd_port, fwd_host_port;
char buf[1024], sfwd_port[6], sfwd_host_port[6];
int local = 0;
+ int socks = 0;
leave_raw_mode();
handler = signal(SIGINT, SIG_IGN);
@@ -518,12 +519,18 @@
s++;
if (*s == 0)
goto out;
- if (strlen(s) < 2 || s[0] != '-' || !(s[1] == 'L' || s[1] == 'R')) {
+ if (strlen(s) < 2 || s[0] != '-'...
2004 Aug 05
1
LocalForward and RemoteForward bind patch
...char *line, const char *filename, int linenum,
int *activep)
{
- char buf[256], *s, **charptr, *endofnumber, *keyword, *arg;
+ char buf[256], buf2[256], *s, **charptr, *endofnumber, *keyword, *arg;
int opcode, *intptr, value;
size_t len;
u_short fwd_port, fwd_host_port;
char sfwd_host_port[6];
+ char sfwd_port[6];
/* Strip trailing whitespace */
for(len = strlen(line) - 1; len > 0; len--) {
@@ -645,13 +648,32 @@
case oLocalForward:
case oRemoteForward:
+ buf[0] = '\0';
+
arg = strdelim(&s);
if (!arg || *arg == '\0')
fatal("%.200s lin...
2002 May 27
0
[Bug 258] New: scanf format not portable
...467,9 @@
case 'L':
case 'R':
- if (sscanf(optarg, "%5[0-9]:%255[^:]:%5[0-9]",
+ if (sscanf(optarg, "%5[0123456789]:%255[^:]:%5[012345678
9]",
sfwd_port, buf, sfwd_host_port) != 3 &&
- sscanf(optarg, "%5[0-9]/%255[^/]/%5[0-9]",
+ sscanf(optarg, "%5[0123456789]/%255[^/]/%5[0123456789]",
sfwd_port, buf, sfwd_host_port) != 3) {
fprint...
2003 Apr 14
1
OpenSSH 3.6.1p1 "Proxy-None" patch
Hi OpenSSH'lers!
While using OpenSSH for quite a while, I became annoyed with the
inflexible config-file parsing algorithm. I special it did not
alow me to express: "Use *no* proxy for host xyz, but *this* proxy
for all other hosts".
So I had a look at the source an make a quick-n-dirty change, allowing
me to use the special ProxyCommand "None" to express "don't
2004 Sep 08
0
[PATCH]Extending user@host syntax
...ser@]hostname [command]\n"
+" [-p port] [-R port:host:hostport] [-S ctl]\n"
+" [user@]hostname[%%port][,host_key_alias] [command]\n"
);
exit(1);
}
@@ -176,7 +177,7 @@
int i, opt, exit_status;
u_short fwd_port, fwd_host_port;
char sfwd_port[6], sfwd_host_port[6];
- - char *p, *cp, *line, buf[256];
+ char *p, *cp, *line, buf[256], *host_key_aliasp;
struct stat st;
struct passwd *pw;
int dummy;
@@ -474,6 +475,28 @@
host = ++cp;
} else
host = *av;
+
+ host_key_aliasp = 0;
+ if (strrchr(host, '%')) {
+ cp = strrchr(host, '%&...