1
0
mirror of https://github.com/kakwa/uts-server synced 2024-11-10 19:48:54 +01:00
Commit Graph

22 Commits

Author SHA1 Message Date
kakwa
bd0a32221c creating a nicer landing page + serve the ca file
* nicer landing page with a few instructions, and download link for the
ca, and even some fancy CSS
* add a download link for the CA file
2019-04-12 10:48:55 +02:00
kakwa
65357fe736 add special matching for LibreSSL
Thank you LibreSSL for setting OPENSSL_VERSION_NUMBER to 0x20000000L...
It breaks traditional OpenSSL API matching by OPENSSL_VERSION_NUMBER...
2017-04-21 01:59:18 +02:00
kakwa
158f49dc46 format code 2016-12-04 13:39:27 +01:00
kakwa
9391f6348a adding a few #define to handle multiple openssl API version 2016-12-04 13:38:09 +01:00
kakwa
ef97018644 code reformat 2016-11-02 18:58:14 +01:00
kakwa
060e7315d0 remove the awkward default_tsa parameter
default_tsa pointing to a specific tsa section doesn't make sense.
removing it.
2016-09-12 22:21:22 +02:00
kakwa
a6d73bfd49 code cleaning an reorganization 2016-09-12 08:39:03 +02:00
kakwa
e948177a41 enabling multi-threads support
as TS_RESP_CTX is not thread safe, this commit implement a pool of
TS_RESP_CTX in which a thread can pick one in a thread safe maner.

* implement a ts_resp_ctx_wrapper containing a TS_RESP_CTX and a
  lock and bool to mark the availability of the TS_RESP_CTX
* implement the get_ctxw to recover a given TS_RESP_CTX in a thread safe
   maner
* adapt the rest of the code to accomodate the new way of doing things
* set the default number of threads to 10 as it's now safe to do so
2016-09-08 23:21:53 +02:00
kakwa
d104de63d5 adding a function to free the ssl context 2016-09-02 08:00:04 +02:00
kakwa
92b289e100 better memory management and extraction of the openssl initialization 2016-09-02 07:42:23 +02:00
kakwa
21e2a4de85 implement better query and response logging
* recover the serial
* add the serial in many logs
* add response log
* add timer
2016-09-02 00:36:25 +02:00
kakwa
f5d3f66031 first (kind of) working version \o/ 2016-08-31 00:09:17 +02:00
kakwa
d54c661eef multiple modification on ts response creation
* pass the size of the query to the create_response function
* implement a serial generator based on random numbers
* fix the creation of the bio for the query content
* add logging for the create_reponse

TODO:
* some REAL memory cleaning...
2016-08-30 22:55:25 +02:00
kakwa
75dcc97e12 multiple modications
* add a function to dump binary as hexa in logs
* implemente the TS response generator
* begin to glue it together
2016-08-29 08:34:59 +02:00
kakwa
f40732e857 implementing loading of the OIDs 2016-08-27 11:39:53 +02:00
kakwa
376d100e9f general reorganization
* rename the logger function to uts_logger
* add logging to the create_tsctx fucntion
* fix some warning *
2016-08-26 20:39:45 +02:00
kakwa
8ebbc08c88 adding creation for the ts context 2016-08-26 01:28:34 +02:00
kakwa
a420c0dd5c clean load_config declaration 2016-08-26 01:07:06 +02:00
kakwa
eaf1d51b1c pass context to the logging function 2016-08-24 23:03:49 +02:00
kakwa
b27d676148 big code reorganization:
* split the rfc3161 and the http part
* add a logger function
* add a debugging logger function for the requests
* add a specific handler for rfc3161 request
2016-08-24 22:13:11 +02:00
Pierre-Francois Carpentier
ba1e79e848 begin implementing the http part 2015-12-18 00:29:43 +01:00
Pierre-Francois Carpentier
4f8f93a594 init project skeleton 2015-12-16 23:11:08 +01:00