Dain Nilsson
807cab0f6d
Nitpicking
2013-02-13 12:50:18 +01:00
Dain Nilsson
ee1f040b00
Updated copyright headers.
2013-02-04 17:39:36 +01:00
Dain Nilsson
ad88ccdb1f
Updated references to old Google Code project.
2013-02-04 17:06:32 +01:00
Fredrik Thulin
54d7110036
Less verbose logging when verifying remote IP.
2012-06-18 12:42:39 +02:00
Fredrik Thulin
38185be07d
Fix errors with our new logging code :(
2012-06-15 11:59:42 +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
765620f17b
Merge branch 'master' of github.com:Yubico/yubikey-val-server-php into devel/refactor_retrieveURLasync
2012-06-14 15:19:19 +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
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
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
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
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
d2bceb62b1
if the sync request is empty, drop it as early as possible.
2012-06-13 09:32:38 +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
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
Simon Josefsson
f33e6413fe
Fix undefined warnings. Solves Issue #8 .
2010-04-23 17:36:23 +00:00
Olov Danielson
888a372f64
Use -1 in yk_counter etc. to indicate yubikey discovered in protocol
2010-01-25 14:55:05 +00:00
Olov Danielson
12bd456dca
.
2010-01-14 11:58:19 +00:00
Olov Danielson
c2245924cf
Added possibility to use custom fields in logging module. Also added client IP and otp in verify and sync logs.
2010-01-14 11:25:17 +00:00
Olov Danielson
433c82cce7
Added a few checks for input parameters and corrected warnings according to new docuemnt
2010-01-14 09:39:48 +00:00
Olov Danielson
bfee638917
Corrected a few log entries
2010-01-13 12:32:38 +00:00
Olov Danielson
a839954882
Unified logging to use Log class defined in ykval-log.php which in turn uses syslog.
...
NOTE: ykval common debug function is still available but uses Log class aswell to actually
log message.
2010-01-11 12:06:00 +00:00
Olov Danielson
e66dc86f5b
Spelling error corrected
2010-01-11 10:31:39 +00:00
Olov Danielson
94c8e17ef6
Only allowed sync requests from specified IP addresses
2010-01-11 10:25:25 +00:00
Olov Danielson
b9701c16ea
Changed DB-names to be more consistent (WARNING current revision might be broken but needs to be submitted for multiserver test purposes)
2010-01-08 13:54:33 +00:00
Olov Danielson
6788e5effa
1. Nonce introduced in protocol. This required changes in the chain from client->verify->sync.
...
2. ykval-verify is modified a bit. It now acts more as a flow controller and relies on ykval-synclib
to do details on DB-calls and counterlogic. The "system" decision making is still located in ykval-verify.
2009-12-15 10:17:51 +00:00
Olov Danielson
f04dcbc0e7
Committed first trial version for replication protocol.
2009-12-02 17:32:20 +00:00