1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2025-01-20 19:52:15 +01:00

382 Commits

Author SHA1 Message Date
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
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
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
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
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
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
a41b7476ac bump versions post release 2012-06-13 09:55:42 +02:00
Klas Lindfors
9dd6715cc5 fix version check for this NEWS format. yubikey-val-2.16 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
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
Fredrik Thulin
af292fbcd6 Spelling, and more informational logging. 2012-06-12 14:50:31 +02:00
Fredrik Thulin
57866dc829 More explanatory logging. 2012-06-12 14:21:56 +02:00
Fredrik Thulin
a2ffe0eeda Merge branch 'master' of github.com:Yubico/yubikey-val-server-php 2012-06-12 14:21:20 +02:00
Klas Lindfors
a648a3f66e add import/export clients scripts to Makefile 2012-06-12 13:45:40 +02:00
Klas Lindfors
a16cbf58c8 ignore release artifacts 2012-06-12 09:23:32 +02:00
Klas Lindfors
060b35453d Merge branch 'master' of github.com:Yubico/yubikey-val-server-php
Conflicts:
	ykval-synclib.php
2012-06-11 12:54:55 +02:00
Klas Lindfors
4337fd13df fixup release target
take USER and KEYID as arguments and check that we have edited NEWS
2012-06-11 12:50:57 +02:00
Klas Lindfors
b754c24d29 use one curl-handle per server
does connection re-use while syncing to that server
2012-06-11 12:41:50 +02:00
Fredrik Thulin
22841cce43 Slightly less verbose log for remote IP check. 2012-05-29 15:36:02 +02:00
Fredrik Thulin
9d93e28739 Improve logging of refused sync requests. 2012-05-29 11:11:56 +02:00
Fredrik Thulin
b5976ad3c9 delete-trailing-whitespace 2012-05-29 11:07:19 +02:00
Fredrik Thulin
4b50b225c9 Merge branch 'master' of github.com:Yubico/yubikey-val-server-php 2012-05-25 10:59:43 +02:00
Fredrik Thulin
6b1e08eca8 Fix db-config init.
Re-order includes to get database settings set up correctly when
using Debian/Ubuntu package.
2012-05-25 10:58:52 +02:00
Klas Lindfors
fae1aa4021 bump versions 2012-05-24 14:43:25 +02:00
Klas Lindfors
cc687f23b9 NEWS for 2.15 yubikey-val-2.15 2012-05-24 14:40:17 +02:00
Klas Lindfors
6a94b396dc check if $sl or $timeout is empty, if they are insert default 2012-05-24 14:37:01 +02:00