search for: subsystem_name

Displaying 7 results from an estimated 7 matches for "subsystem_name".

2002 Jan 26
7
[PATCH] Added NoDelay config option and nodelay subsystem option
...dkeysfile2", sAuthorizedKeysFile2 }, + { "nodelay", sNoDelay }, { NULL, 0 } }; @@ -801,15 +806,30 @@ fatal("%s line %d: Missing subsystem name.", filename, linenum); for (i = 0; i < options->num_subsystems; i++) - if(strcmp(arg, options->subsystem_name[i]) == 0) + if(strcmp(arg, options->subsystem[i].name) == 0) fatal("%s line %d: Subsystem '%s' already defined.", filename, linenum, arg); - options->subsystem_name[options->num_subsystems] = xstrdup(arg); + options->subsystem[options->num_s...
2012 May 17
2
New Subsystem criteria for Match option block in OpenSSH server
...cts/OpenSSH-Portable/openssh-6.0p1/session.c src/session.c ===================================================================================== 571d570 < 825a825 > 2089a2090 > /* Searching for subsystem into the options repository */ 2091,2105c2092,2120 < if (strcmp(subsys, options.subsystem_name[i]) == 0) { < prog = options.subsystem_command[i]; < cmd = options.subsystem_args[i]; < if (strcmp(INTERNAL_SFTP_NAME, prog) == 0) { < s->is_subsystem = SUBSYSTEM_INT_SFTP; < debug("subsystem: %s", prog); < } else { < if (stat(prog, &st)...
2002 May 29
2
[PATCH] Add config option disabling drop_connection() behavior
...sider this patch for inclusion in a future version of OpenSSH. I'm not currently subscribed to this list, so please cc me on any replies. Thanks in advance for your consideration. Garry --- servconf.h 2002/05/29 03:50:01 1.1 +++ servconf.h 2002/05/29 03:50:53 @@ -112,6 +112,7 @@ char *subsystem_name[MAX_SUBSYSTEMS]; char *subsystem_command[MAX_SUBSYSTEMS]; + int check_max_startups; int max_startups_begin; int max_startups_rate; int max_startups; --- servconf.c 2002/05/29 03:49:54 1.1 +++ servconf.c 2002/05/29 03:54:09 @@ -112,6 +112,7 @@ options->protocol = SSH_PROTO_UNKN...
2002 Nov 05
2
[PATCH] Add a chroot_users option to sshd
...char *cmd, *subsys = packet_get_string(&len); int i; + char *idx; packet_check_eom(); log("subsystem request for %.100s", subsys); *************** *** 1620,1625 **** --- 1680,1697 ---- for (i = 0; i < options.num_subsystems; i++) { if (strcmp(subsys, options.subsystem_name[i]) == 0) { cmd = options.subsystem_command[i]; + #ifdef DO_SNAPSHOTS + if (snapshot == NULL) + snapshot = xmalloc(128); + snapshot[0] = '\0'; + if (!strncmp(cmd, SNAPSHOT, strlen(SNAPSHOT))) { + idx = strchr(cmd, ','); + strncpy(snapshot, cmd + strle...
2002 Mar 28
1
[PATCH] Feature addition: user access control per auth method
...*pkey_allow_users[MAX_ALLOW_USERS]; + u_int num_pkey_deny_users; + char *pkey_deny_users[MAX_DENY_USERS]; + u_int num_pkey_allow_groups; + char *pkey_allow_groups[MAX_ALLOW_GROUPS]; + u_int num_pkey_deny_groups; + char *pkey_deny_groups[MAX_DENY_GROUPS]; u_int num_subsystems; char *subsystem_name[MAX_SUBSYSTEMS];
2001 Nov 12
4
Please test -current
Could people please test -current? We will be making a release fairly soon. -d -- | By convention there is color, \\ Damien Miller <djm at mindrot.org> | By convention sweetness, By convention bitterness, \\ www.mindrot.org | But in reality there are atoms and space - Democritus (c. 400 BCE)
2001 Nov 20
3
problem with AFS token forwarding
Hello, I came across an interoperability problem in OpenSSH 3.0p1 and 3.0.1p1 concerning the AFS token forwarding. That means that the new versions are not able to exchange AFS tokens (and Kerberos TGTs) with older OpenSSH releases (including 2.9p2) and with the old SSH 1.2.2x. In my opinion this problem already existed in Openssh 2.9.9p1, but I have never used this version (I only looked at the