Comments (3)
We currently have two utilities for checking sync: ykval-checksum-clients and ykval-checksum-deactivated.
These generate a checksum over different parts of the database: the clients, and the yubikeys (where active = false) tables.
We could add a ykval-checksum-activated which does the same but for active keys. This command could be used to compare the state of different servers. The problem being that the state can change rather quickly, and synchronization between servers is usually delayed by several seconds, so getting something meaningful out of this might be difficult as I can image under large scale use two servers are hardly ever fully in sync.
from yubikey-val.
I don't think we want to reuse the same system of checksumming for monitoring sync, it's to common that it isn't exactly in sync. The simplest approach is probably to just monitor queue size, though some errors can slip past that, so we might want to think up something more clever..
from yubikey-val.
We thought about this problem and believe that we should have some software running on each api server to monitor this in real-time. Not working on this now...
from yubikey-val.
Related Issues (20)
- Log level configurable? HOT 2
- Improve documentation wrt multi-API use
- make install does not work since documentation changed HOT 1
- ykval-queue logging very verbose even when doing nothing HOT 1
- Possible timing attack in HMAC check HOT 2
- Ubuntu server 14.04 HOT 1
- OTP_MAX_LEN : 64
- Correct way to use two validation servers? HOT 1
- recent commit breaks existing installations with BAD_OTP HOT 5
- yk_publicname in ykval-synclib.php HOT 6
- ykval-gen-clients does not synchronize clients across multiple ykval servers, breaks clients
- One step not covered in any of the documentation.. HOT 1
- Revoking a yubikey within a cluster HOT 2
- Undefined $rows variable in ykval-revoke.php
- Verification output (1): Yubikey OTP was bad (BAD_OTP) HOT 9
- BACKEND_ERROR status
- Always getting 200 with MISSING_PARAMETER when trying to invalidate OTP HOT 1
- ykclient return value (109): Error performing curl HOT 6
- Undefined Constants
- Possible SQL injection vulnerability in ykval-synclib.php HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yubikey-val.