kakwa
f5d3f66031
first (kind of) working version \o/
2016-08-31 00:09:17 +02:00
kakwa
00c91df4cf
adapt to create_response new API
2016-08-30 23:03:53 +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
4907f03f2f
little code cleaning
2016-08-30 22:54:46 +02:00
kakwa
b41233fd50
some code cleaning
2016-08-29 19:49:39 +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
5ab6bc4325
better cleaning in case of an initialization error
2016-08-28 14:23:42 +02:00
kakwa
418f4ba1d3
add openssl initialization
2016-08-28 14:16:50 +02:00
kakwa
f40732e857
implementing loading of the OIDs
2016-08-27 11:39:53 +02:00
kakwa
439b08a014
removing uneeded newline in debug logs of the http queries
2016-08-27 01:35:57 +02:00
kakwa
2201aefe1f
better logging for OpenSSL errors
2016-08-27 01:04:19 +02:00
kakwa
bacd90bc68
adding log on openssl error
2016-08-27 00:24:22 +02:00
kakwa
6e98e700ca
add logging for the ts conf parsing
2016-08-26 21:00:40 +02:00
kakwa
bc20fff44c
use NULL instead of a section (for the conf parser to look for default policy)
2016-08-26 20:59:46 +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
ad4dc967c0
adding the setting of the log level
2016-08-26 00:07:19 +02:00
kakwa
e7a0e0daa0
remove ini parser as we will use the openssl configuratio parser
2016-08-25 23:34:57 +02:00
kakwa
6ca2e34094
implement configuration parsing + fix
...
* fix debugging logs to stdout
* add parsing of the different type of parameters
* configure the http server part
2016-08-25 23:04:26 +02:00
kakwa
0f762e5ff6
implement the configuration file opening and parsing
2016-08-25 20:14:24 +02:00
kakwa
c1c27e6db3
cosmetic change
2016-08-24 23:45:02 +02:00
kakwa
568b4fbcf2
better stdout debugging mode
2016-08-24 23:41:55 +02:00
kakwa
2619c2a576
add the passing of the configuration file path and debug flag
2016-08-24 23:14:15 +02:00
kakwa
eaf1d51b1c
pass context to the logging function
2016-08-24 23:03:49 +02:00
kakwa
c982c6b405
adding a context which will be passed from query to query
2016-08-24 22:37:05 +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
kakwa
860fd9475e
fix content type
2016-08-23 20:16:54 +02:00
kakwa
fb068a341e
change ts app code to read query from memory
2016-08-23 20:12:09 +02:00
kakwa
291f58bd7e
reformat source code
2016-08-23 19:38:07 +02:00
kakwa
4e8693da48
Merge branch 'master' of https://github.com/kakwa/uts-server
2016-08-23 19:29:12 +02:00
kakwa
d227d2697e
adding copyright notice
2016-08-22 22:28:06 +02:00
kakwa
a61174ec68
including the glue for timestamping
2016-08-22 22:26:23 +02:00
kakwa
45a48aa0e7
use civetweb
2016-08-19 00:04:13 +02:00
kakwa
b1248f43b4
add ini parser
2016-08-19 00:03:49 +02:00
kakwa
6bb50fc358
remove comment
2016-07-01 20:30:32 +02:00
Pierre-Francois Carpentier
ba1e79e848
begin implementing the http part
2015-12-18 00:29:43 +01:00
Pierre-Francois Carpentier
44a28dde81
implementing -d (daemonize command line option)
2015-12-17 23:30:30 +01:00
Pierre-Francois Carpentier
963b0bb14b
fix misplaced static definition
2015-12-17 21:47:19 +01:00
Pierre-Francois Carpentier
d6668a4d35
fix misplaced static definition
2015-12-17 21:46:45 +01:00
Pierre-Francois Carpentier
4c908090cb
implementing argument parsing
2015-12-17 15:49:58 +01:00
Pierre-Francois Carpentier
ee9828a8b6
begin implementing
2015-12-17 14:09:44 +01:00
Pierre-Francois Carpentier
4f8f93a594
init project skeleton
2015-12-16 23:11:08 +01:00