1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2024-12-01 15:24:16 +01:00
Commit Graph

456 Commits

Author SHA1 Message Date
Klas Lindfors
f72f00c338 rollback to 2.17 2012-06-15 10:46:34 +02:00
Klas Lindfors
3b7927ccb3 add munin pluin to MUNIN so it's included in tar 2012-06-15 10:39:48 +02:00
Klas Lindfors
ce830612de actually install the responses munin check 2012-06-15 10:31:56 +02:00
Klas Lindfors
accebd2a1a bump versions post-release 2012-06-15 10:24:52 +02:00
Klas Lindfors
fff8073ac0 NEWS for 2.17 2012-06-15 10:22:26 +02:00
Klas Lindfors
42e13cd43b simple munin plugin for response types 2012-06-15 10:15:51 +02:00
Klas Lindfors
0f0a23694a Merge branch 'master' of github.com:Yubico/yubikey-val-server-php 2012-06-14 16:44:54 +02:00
Klas Lindfors
9ac5741e6c only warn about replays if the delta is more than 1 (or less than -1) 2012-06-14 16:44:19 +02:00
Fredrik Thulin
1fd2e77da1 Make logdie() take logger as argument. 2012-06-14 16:16:29 +02:00
Fredrik Thulin
499377fd2f Change protocol version logging to 'debug'. 2012-06-14 15:54:51 +02:00
Fredrik Thulin
6c80f76102 Get rid of debug() - use log_format() for the formatting part. 2012-06-14 15:23:53 +02:00
Fredrik Thulin
b8d18af10c Remove now unused retrieveURLasync_old() 2012-06-14 15:22:38 +02:00
Fredrik Thulin
765620f17b Merge branch 'master' of github.com:Yubico/yubikey-val-server-php into devel/refactor_retrieveURLasync 2012-06-14 15:19:19 +02:00
Fredrik Thulin
c8e9eb828f Pass logger object to retrieveURLasync() 2012-06-14 15:19:04 +02:00
Klas Lindfors
6c9edb0db2 instead of passing context to sendResp, give it a logger. 2012-06-14 15:15:47 +02:00
Fredrik Thulin
60bfa8ff1a minor debug log fixes 2012-06-14 15:10:44 +02:00
Fredrik Thulin
46180c9de9 Merge branch 'master' of github.com:Yubico/yubikey-val-server-php into devel/refactor_retrieveURLasync 2012-06-14 15:00:47 +02:00
Klas Lindfors
01969a279e let sendResp take one more parameter $context
use for logging if it's a response to sync or verify.
2012-06-14 14:55:50 +02:00
Fredrik Thulin
32c94e9256 Use retrieveURLasync in ykval-common instead. 2012-06-14 14:55:07 +02:00
Fredrik Thulin
201416b15a retrieveURLasync: logging using ident string 2012-06-14 14:54:12 +02:00
Fredrik Thulin
41f1e15a43 retrieveURLasync: cater for the last need in ykval-synclib. 2012-06-14 14:49:37 +02:00
Fredrik Thulin
df71d3a5a8 retrieveURLasync: make timeout an argument 2012-06-14 14:34:07 +02:00
Fredrik Thulin
658ddef822 Move de-arraying out of retrieveURLasync. 2012-06-14 14:31:00 +02:00
Klas Lindfors
d37c41011a if the remote sync site says BAD_OTP log and remove from queue 2012-06-14 13:52:53 +02:00
Fredrik Thulin
0fe0be9980 Restore responding BAD_OTP if YubiKey is disabled.
It seems that we might get into problems if responding OK - the other
sync client validation server would think we approved of the OTP.
2012-06-14 13:30:04 +02:00
Klas Lindfors
cb6253637c Merge branch 'feature/oracle_support' of github.com:Yubico/yubikey-val-server-php into feature/oracle_support 2012-06-14 13:01:40 +02:00
Fredrik Thulin
b5849acef1 Merge branch 'master' of github.com:Yubico/yubikey-val-server-php 2012-06-14 13:01:10 +02:00
Fredrik Thulin
cb0de9d8e3 Add __YKREV_IPS__ to template. 2012-06-14 13:00:39 +02:00
Klas Lindfors
a739667891 lowercase columns from oracle, we use lower everywhere. 2012-06-14 13:00:13 +02:00
Fredrik Thulin
a852e860db Don't refuse sync for disabled YubiKeys.
It is better to consume any OTPs produced by a YubiKey, so if -
for some reason - another validation server has accepted an OTP
we'd better bump our counter values accordingly.
2012-06-14 12:56:05 +02:00
Fredrik Thulin
e5ea2ead5f Check for ^oci: instead of just ^oci. 2012-06-14 11:05:44 +02:00
Klas Lindfors
04ce8662de Merge branch 'feature/oracle_support' of github.com:Yubico/yubikey-val-server-php into feature/oracle_support 2012-06-13 14:47:18 +02:00
Klas Lindfors
6dd55013f9 do $res->rowCount() instead of count($res->fetchAll())
should never be called after select, and will throw exceptions if you do
2012-06-13 14:45:37 +02:00
Fredrik Thulin
605abc8cbf delete-trailing-whitespace 2012-06-13 13:41:12 +02:00
Klas Lindfors
9f74175853 40 char nonce for oracle as well 2012-06-13 13:29:40 +02:00
Fredrik Thulin
2a7a6e3503 Don't LOG_NOTICE when remote server has seen latest OTP too.
This is an expected condition for many (most) validation requests
using the asynchronous validation protocol 2.0.
2012-06-13 13:23:55 +02:00
Fredrik Thulin
afb42d7c0a Logging improvements. 2012-06-13 13:22:35 +02:00
Fredrik Thulin
283c34b0e4 Downgrade 'Sync request unnecessarily sent' to INFO.
Also add comment explaining that this is not an error (and why).
2012-06-13 10:10:04 +02:00
Klas Lindfors
40b5949f44 Merge branch 'master' into feature/oracle_support 2012-06-13 09:55:59 +02:00
Klas Lindfors
a41b7476ac bump versions post release 2012-06-13 09:55:42 +02:00
Klas Lindfors
9dd6715cc5 fix version check for this NEWS format. 2012-06-13 09:39:44 +02:00
Klas Lindfors
80a2d3c805 NEWS for 2.16 2012-06-13 09:37:34 +02:00
Klas Lindfors
d2bceb62b1 if the sync request is empty, drop it as early as possible. 2012-06-13 09:32:38 +02:00
Klas Lindfors
ae6177f157 change ] to ) 2012-06-13 09:26:02 +02:00
Klas Lindfors
3f17b7bdc1 and { is needed. 2012-06-13 09:00:39 +02:00
Klas Lindfors
2bbb3b4c02 findByMultiple() calls fetchArray on it's own result, just loop it. 2012-06-13 08:53:52 +02:00
Klas Lindfors
a86414b9ff remove $this, not in object context 2012-06-13 08:11:03 +02:00
Fredrik Thulin
dfaa9a89aa Use consistent camel-casing of function countersEqual().
Reduces confusion, even though PHP apparently has case insensitive
function names.
2012-06-12 17:56:01 +02:00
Klas Lindfors
99b433fed4 Merge branch 'master' into feature/oracle_support 2012-06-12 14:50:53 +02:00
Fredrik Thulin
af292fbcd6 Spelling, and more informational logging. 2012-06-12 14:50:31 +02:00