search for: parse_time

Displaying 17 results from an estimated 17 matches for "parse_time".

2013 Aug 22
1
How do I deal with ActiveRecord::RecordInvalid: Validation failed:
...assert_equal false, FactoryGirl.create(:reservation), "reservation was created after total reservation for time slot was reached." end app/models/reservation.rb def check_reservation_time errors.add(:base, "Can''t set reservation to a time before 5pm.") if parse_time(start_time) < parse_time("17:00") errors.add(:base, "Can''t set reservation to a time after 8pm.") if parse_time(start_time) > parse_time("20:00") errors.add(:base, "Reservation limit reached for this time slot") if reservation_limit...
2002 May 22
0
[PATCH] connect() timeout
...t;, oNoHostAuthenticationForLocalhost }, + { "connecttimeout", oConnectTimeout }, { NULL, oBadOption } }; @@ -294,6 +296,19 @@ /* don't panic, but count bad options */ return -1; /* NOTREACHED */ + + case oConnectTimeout: + intptr = &options->connection_timeout; +parse_time: + arg = strdelim(&s); + if (!arg || *arg == '\0') + fatal("%.200s line %d: Missing time argument.", filename, linenum); + if ((value = convtime(arg)) == -1) + fatal("%.200s line %d: Invalid time argument.", filename, linenum); + if (*intptr == -1) + *intptr...
2017 May 31
1
[PATCH 0/1] Process the IdentityFile option from the included files
Hello, This change is to get the IdentityFile option processed from the included configuration files. Regards, Oleg Oleg Zhurakivskyy (1): Process the IdentityFile option from the included files readconf.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) -- 2.9.3
2002 Jan 26
5
[PATCH] Connect timeout
The attached patch adds a new 'ConnectTimeout' option (man page updated in patch) to avoid wasting time when the target host is down. I needed that because I was using rsync/rdist over ssh for massive files update and the default connect() took too long for my purpose. The patch was tested on Linux only, but I used a similar one for ssh 1.2.XX on Linux, Solaris and HP-UX without
2003 Apr 15
0
Connect timeout patch
...uot;, oNoHostAuthenticationForLocalhost }, + { "connecttimeout", oConnectTimeout }, { NULL, oBadOption } }; @@ -297,6 +298,18 @@ /* don't panic, but count bad options */ return -1; /* NOTREACHED */ + case oConnectTimeout: + intptr = &options->connection_timeout; +parse_time: + arg = strdelim(&s); + if (!arg || *arg == '\0') + fatal("%.200s line %d: Missing time argument.", filename, linenum); + if ((value = convtime(arg)) == -1) + fatal("%.200s line %d: Invalid time argument.", filename, linenum); + if (*intptr == -1) + *intpt...
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)
2002 Apr 03
1
[PATCH] connect() timeout
...t;, oNoHostAuthenticationForLocalhost }, + { "connecttimeout", oConnectTimeout }, { NULL, oBadOption } }; @@ -294,6 +296,19 @@ /* don't panic, but count bad options */ return -1; /* NOTREACHED */ + + case oConnectTimeout: + intptr = &options->connection_timeout; +parse_time: + arg = strdelim(&s); + if (!arg || *arg == '\0') + fatal("%.200s line %d: Missing time argument.", filename, linenum); + if ((value = convtime(arg)) == -1) + fatal("%.200s line %d: Invalid time argument.", filename, linenum); + if (*intptr == -1) + *intptr...
2002 Jul 04
4
Chroot patch (v3.4p1)
The following is a patch I've been working on to support a "ChrootUser" option in the sshd_config file. I was looking for a way to offer sftp access and at the same time restict interactive shell access. This patch is a necessary first step (IMO). It applies clean with 'patch -l'. Also attached is a shell script that helps to build a chrooted home dir on a RedHat 7.2
2002 Oct 17
0
[PATCH] connect() timeout for OpenSSH-3.5p1
...uot;, oNoHostAuthenticationForLocalhost }, + { "connecttimeout", oConnectTimeout }, { NULL, oBadOption } }; @@ -293,6 +294,18 @@ /* don't panic, but count bad options */ return -1; /* NOTREACHED */ + case oConnectTimeout: + intptr = &options->connection_timeout; +parse_time: + arg = strdelim(&s); + if (!arg || *arg == '\0') + fatal("%.200s line %d: Missing time argument.", filename, linenum); + if ((value = convtime(arg)) == -1) + fatal("%.200s line %d: Invalid time argument.", filename, linenum); + if (*intptr == -1) + *intpt...
2007 Mar 01
11
Call for release testing.
...ork basis via the Match directive in sshd_config. The bugs fixed are: #52 ssh hangs on exit. #1252 sftp returns 0 when upload is unsuccessful due to a full device. #1259 small typos in ssh-rand-helper(8). #1265 SCP progress doesn't map to standard out or standard error. #1275 Config parsing (parse_time) in Host: context acts globally. #1281 getrrsetbyname() does not check the presence of SIG records. #1283 findssl assumes existence of 'which'. #1267 PermitOpen - Multiple forwards don't works plus many more small fixes and man page tweaks. Thanks to all who contributed. More detail...
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
2001 Aug 16
4
Idletimeout patch
While I was updating our ssh-servers, I rewrote my old patch that adds idletimeout (just like in old ssh1) parameter to openssh. Since reapplying the patch for all new versions of openssh is not fun at all, I would like to have it included in the official openssh, if you consider the patch worthy. Unlike ClientAlive, idletimeout works for both protocol versions. It also works together with
2015 Jul 29
2
[PATCH] ssh: Add option to present certificates on command line
...;certificate_file_userprovided[options->num_certificate_files] = + userprovided; + options->certificate_files[options->num_certificate_files++] = path; +} + +void add_identity_file(Options *options, const char *dir, const char *filename, int userprovided) { @@ -981,6 +1014,20 @@ parse_time: } break; + case oCertificateFile: + arg = strdelim(&s); + if (!arg || *arg == '\0') + fatal("%.200s line %d: Missing argument.", filename, linenum); + if (*activep) { + intptr = &options->num_certificate_files; + if (*intptr >= SSH_MAX_CERTIFICATE_F...
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
2003 Sep 05
20
[Bug 635] openssh-SNAP-20030903: configure does not work well with heimdal(krb5)
...available and what isn't when latest cvs snapshot of heimdal is installed(with support for openssl, i.e. without libdes.a build): serow# ls /usr/heimdal/include asn1_err.h fnmatch.h hdb_asn1.h krb5-private.h parse_bytes.h sl.h base64.h getarg.h hdb_err.h krb5-protos.h parse_time.h ss com_err.h glob.h heim_err.h krb5-types.h parse_units.h vis.h com_right.h gssapi.h ifaddrs.h krb5.h resolve.h xdbm.h der.h hdb-private.h k524_err.h krb5_asn1.h roken-common.h editline.h hdb-protos.h kadm5 krb5_err.h roken.h...
2014 Jul 15
3
GSSAPI
If I am trying to build OpenSSH 6.6 with Kerberos GSSAPI support, do I still need to get Simon Wilkinson's patches? --- Scott Neugroschl | XYPRO Technology Corporation 4100 Guardian Street | Suite 100 |Simi Valley, CA 93063 | Phone 805 583-2874|Fax 805 583-0124 |
2010 May 02
2
samba4 make error - drsblobs.so
...dal/lib/roken/h_errno.c with host compiler Compiling heimdal/lib/roken/issuid.c with host compiler Compiling heimdal/lib/roken/net_read.c with host compiler Compiling heimdal/lib/roken/net_write.c with host compiler Compiling heimdal/lib/roken/socket.c with host compiler Compiling heimdal/lib/roken/parse_time.c with host compiler Compiling heimdal/lib/roken/parse_units.c with host compiler Compiling heimdal/lib/roken/resolve.c with host compiler Compiling heimdal/lib/roken/roken_gethostby.c with host compiler Compiling heimdal/lib/roken/signal.c with host compiler Compiling heimdal/lib/roken/vis.c with...