search for: parse_int

Displaying 20 results from an estimated 51 matches for "parse_int".

2003 Nov 22
0
[PATCH] bug in nfsmount/main.c parse_int()
...rw ip=eth0 root=/dev/nfs nfsroot=192.168.1.2:/nfsroot/mac,rsize=8192,wsize=8192,tcp kinit=/bin/kinit --- usr/klibc/klibc-0.81.orig/nfsmount/main.c 2003-05-06 00:15:09.000000000 +0200 +++ usr/klibc/klibc-0.81/nfsmount/main.c 2003-11-22 19:14:18.000000000 +0100 @@ -80,7 +80,7 @@ static int parse_int(const char *val, co int ret; ret = (int) strtoul(val, &end, 0); - if (val == '\0' || end != '\0') { + if (val == '\0' || *end != '\0') { fprintf(stderr, "%s: invalid value for %s\n", val, ctx);...
2000 Feb 04
0
Patch that allows equal sign in options
...1,7 @@ case oStrictHostKeyChecking: intptr = &options->strict_host_key_checking; - cp = strtok(NULL, WHITESPACE); + cp = strtok(NULL, WHITESPACE_EQ); if (!cp) fatal("%.200s line %d: Missing yes/no argument.", filename, linenum); @@ -364,7 +365,7 @@ goto parse_int; case oIdentityFile: - cp = strtok(NULL, WHITESPACE); + cp = strtok(NULL, WHITESPACE_EQ); if (!cp) fatal("%.200s line %d: Missing argument.", filename, linenum); if (*activep) { @@ -378,7 +379,7 @@ case oUser: charptr = &options->user; parse_string: - cp = st...
2000 Nov 14
1
[PATCH] Added option 'RetryDelay'
...t;, oConnectionAttempts }, + { "retrydelay", oRetryDelay }, { "batchmode", oBatchMode }, { "checkhostip", oCheckHostIP }, { "stricthostkeychecking", oStrictHostKeyChecking }, @@ -474,6 +475,10 @@ intptr = &options->connection_attempts; goto parse_int; + case oRetryDelay: + intptr = &options->retry_delay; + goto parse_int; + case oCipher: intptr = &options->cipher; arg = strdelim(&s); @@ -687,6 +692,7 @@ options->compression_level = -1; options->port = -1; options->connection_attempts = -1; + options-...
2010 Mar 18
3
problem of adding a new option of sshd
Dear all, I want to add a new option "newoption" to the sshd server, I have just add some codes in servconf.h and servconf.c like the other options. But it seems that the "newoption" can not be enable,when i set the "newoption" to "yes" in sshd_config file. I have add a debug message in main function of sshd.c .... debug("main sshd
2004 Apr 14
2
zph / squid syntaxis ?
Hi, I''ve used old ZPH patch under squid 2.4 Stable4 and it works great ! Now I want to patch squid 2.4 stable 5, with new patch, on http://www.it-academy.bg/zph/ I''ve patched and installed squid 2.5 stable 5 succefully, but I can''t get ZPH works. I''m trying with ... $TC class add dev $LANDEV parent 1: classid 1:7 htb rate 1Mbit $TC filter add dev $LANDEV
2001 Oct 11
0
[patch] option to prevent connection timeout
...{ "numberofpasswordprompts", oNumberOfPasswordPrompts }, { "loglevel", oLogLevel }, { "dynamicforward", oDynamicForward }, @@ -415,6 +416,10 @@ intptr = &options->keepalives; goto parse_flag; + case oIdle: + intptr = &options->idle; + goto parse_int; + case oNumberOfPasswordPrompts: intptr = &options->number_of_password_prompts; goto parse_int; @@ -767,6 +772,7 @@ options->strict_host_key_checking = -1; options->compression = -1; options->keepalives = -1; + options->idle = -1; options->compression_level =...
2001 Mar 14
1
[PATCH] Added Null packet keepalive option
...ferredauthentications", oPreferredAuthentications }, + { "noopmsgfrequency", oNoopMsgFrequency }, { NULL, 0 } }; @@ -387,6 +388,10 @@ intptr = &options->keepalives; goto parse_flag; + case oNoopMsgFrequency: + intptr = &options->noop_msg_frequency; + goto parse_int; + case oNumberOfPasswordPrompts: intptr = &options->number_of_password_prompts; goto parse_int; @@ -707,6 +712,7 @@ options->strict_host_key_checking = -1; options->compression = -1; options->keepalives = -1; + options->noop_msg_frequency = -1; options->compre...
2001 May 18
0
PATCH: implement delay (sleep) after last tunnelled connection exits
...ynamicforward", oDynamicForward }, { "preferredauthentications", oPreferredAuthentications }, { "hostkeyalgorithms", oHostKeyAlgorithms }, + { "sleep", oSleep }, { NULL, 0 } }; @@ -494,6 +495,10 @@ intptr = &options->connection_attempts; goto parse_int; + case oSleep: + intptr = &options->sleep; + goto parse_int; + case oCipher: intptr = &options->cipher; arg = strdelim(&s); @@ -761,6 +766,7 @@ options->num_remote_forwards = 0; options->log_level = (LogLevel) - 1; options->preferred_authentications = N...
2002 Jan 27
0
[PATCH] Add an exit delay to Openssh-3.0.2p1 for use in tunneling
...rtcardDevice }, { "clearallforwardings", oClearAllForwardings }, { "nohostauthenticationforlocalhost", oNoHostAuthenticationForLocalhost }, + { "sleep", oSleep }, { NULL, 0 } }; @@ -528,6 +529,10 @@ intptr = &options->connection_attempts; goto parse_int; + case oSleep: + intptr = &options->sleep; + goto parse_int; + case oCipher: intptr = &options->cipher; arg = strdelim(&s); @@ -799,6 +804,7 @@ options->bind_address = NULL; options->smartcard_device = NULL; options->no_host_authentication_for_localhost...
2000 Jun 06
0
connection timeout
...ctiontimeout", oConnectionTimeout }, { "batchmode", oBatchMode }, { "checkhostip", oCheckHostIP }, { "stricthostkeychecking", oStrictHostKeyChecking }, @@ -460,6 +462,10 @@ case oConnectionAttempts: intptr = &options->connection_attempts; goto parse_int; + + case oConnectionTimeout: + intptr = &options->connection_timeout; + goto parse_int; case oCipher: intptr = &options->cipher; @@ -669,6 +675,7 @@ options->compression_level = -1; options->port = -1; options->connection_attempts = -1; + options->...
2013 Oct 07
4
Feature request: FQDN Host match
Hello! I'm hoping that Gmail won't HTML format this mail so that I'll get flamed :) Anyway, my question relates to ssh_config. The problem I find is that the Host pattern is only applied to the argument given on the command line, as outlined in the man page: "The host is the hostname argument given on the command line (i.e. the name is not converted to a canonicalized host name
2002 Jul 17
2
[Patch] SSH through HTTP proxy using CONNECT
...quot;, oPort }, { "cipher", oCipher }, { "ciphers", oCiphers }, @@ -484,6 +487,14 @@ xfree(string); return 0; + case oProxyServer: + charptr = &options->proxy_server; + goto parse_string; + + case oProxyPort: + intptr = &options->proxy_port; + goto parse_int; + case oPort: intptr = &options->port; parse_int: @@ -765,6 +776,8 @@ options->hostname = NULL; options->host_key_alias = NULL; options->proxy_command = NULL; + options->proxy_server = NULL; + options->proxy_port = -1; options->user = NULL; options->esca...
2020 Mar 23
6
[PATCH nbdkit 0/3] msys2 support for review
I pushed a few of the msys2 patches upstream. I changed the way that $(SHARED_LDFLAGS) works so it's more to my liking, and the others were pushed unchanged. Three patches remain which I'm posting on the mailing list for proper review. Rich.
2001 Sep 28
1
[PATCH] fix for Linux hang on exit bug in 2.9.9p2
...6,7 @@ { "bindaddress", oBindAddress }, { "smartcarddevice", oSmartcardDevice }, { "clearallforwardings", oClearAllForwardings }, + { "sleep", oSleep }, { NULL, 0 } }; @@ -523,6 +524,10 @@ intptr = &options->connection_attempts; goto parse_int; + case oSleep: + intptr = &options->sleep; + goto parse_int; + case oCipher: intptr = &options->cipher; arg = strdelim(&s); @@ -793,6 +798,7 @@ options->preferred_authentications = NULL; options->bind_address = NULL; options->smartcard_device = NULL; +...
2000 Mar 03
7
[PATCH] Add a Maximum Idle Time (1.2.2)
...prompts", oNumberOfPasswordPrompts }, { "tisauthentication", oTISAuthentication }, { "loglevel", oLogLevel }, @@ -355,6 +357,10 @@ intptr = &options->keepalives; goto parse_flag; + case oTransmitInterlude: + intptr = &options->trans_inter; + goto parse_int; + case oNumberOfPasswordPrompts: intptr = &options->number_of_password_prompts; goto parse_int; @@ -610,6 +616,7 @@ options->strict_host_key_checking = -1; options->compression = -1; options->keepalives = -1; + options->trans_inter = -1; options->compression_l...
2002 Nov 05
2
[PATCH] Add a chroot_users option to sshd
...edKeysFile2 }, + { "chrootusers", sChrootUsers }, { "useprivilegeseparation", sUsePrivilegeSeparation}, { NULL, sBadOption } }; *************** *** 900,905 **** --- 905,914 ---- case sClientAliveCountMax: intptr = &options->client_alive_count_max; goto parse_int; + + case sChrootUsers: + intptr = &options->chroot_users; + goto parse_flag; case sDeprecated: log("%s line %d: Deprecated option %s", *** session.c@@\main\1 Tue Oct 1 17:25:48 2002 --- session.c Tue Nov 5 09:59:14 2002 *************** *** 99,104 **** --- 99,111...
2020 Mar 23
0
[PATCH nbdkit 1/3] include: Function indirection for PE DLL
...h (const char *path) +{ + return _nbdkit_functions.absolute_path (path); +} +static int64_t nbdkit_parse_size (const char *str) +{ + return _nbdkit_functions.parse_size (str); +} +static int nbdkit_parse_bool (const char *str) +{ + return _nbdkit_functions.parse_bool (str); +} +static int nbdkit_parse_int (const char *what, const char *str, + int *r) +{ + return _nbdkit_functions.parse_int (what, str, r); +} +static int nbdkit_parse_unsigned (const char *what, const char *str, + unsigned *r) +{ + return _nbdkit_functions.parse_unsigned (w...
2015 Jan 07
11
[Bug 2332] New: Show more secure fingerprints than MD5 (e.g. SHA256) in ssh and ssh-keygen
https://bugzilla.mindrot.org/show_bug.cgi?id=2332 Bug ID: 2332 Summary: Show more secure fingerprints than MD5 (e.g. SHA256) in ssh and ssh-keygen Product: Portable OpenSSH Version: 6.6p1 Hardware: Other OS: All Status: NEW Severity: enhancement Priority: P5
2001 Sep 05
2
sshd hangs on logout -- is this a bug?
In the changelog, there is an entry: 20001129 - (djm) Back out all the serverloop.c hacks. sshd will now hang again if there are background children with open fds. Does this mean that this is regarded as expected (and correct) behavior, that should not change in the future, or does it mean that this behavior is a known problem that someone will eventually fix? --Adam -- Adam McKenna
2001 Nov 14
6
[PATCH]: Patch to fix hang on exit bug under Linux and add optional exit delay
...rtcardDevice }, { "clearallforwardings", oClearAllForwardings }, { "nohostauthenticationforlocalhost", oNoHostAuthenticationForLocalhost }, + { "sleep", oSleep }, { NULL, 0 } }; @@ -528,6 +529,10 @@ intptr = &options->connection_attempts; goto parse_int; + case oSleep: + intptr = &options->sleep; + goto parse_int; + case oCipher: intptr = &options->cipher; arg = strdelim(&s); @@ -799,6 +804,7 @@ options->bind_address = NULL; options->smartcard_device = NULL; options->no_host_authentication_for_localhost...