1
0
mirror of https://github.com/kakwa/uts-server synced 2024-06-02 00:58:07 +02:00
Commit Graph

25 Commits

Author SHA1 Message Date
kakwa
236f0cf04c fix some memory leaks on openssl context cleanup 2016-09-05 20:24:47 +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
a3f65c7050 fix the way relative paths are handled and pid file handler
* add a pid file option on command line + implement it
* make the relative path in conf param relative to the configuration
  file directory and not the running directory
2016-09-01 19:43:29 +02:00
kakwa
5cbcdc4a1d code reformatting 2016-09-01 08:29:07 +02:00
kakwa
9a05006d1e fix default log_level, and fix chdir
* the chdir was done after the loading of the conf file, reversing it
* in case log_level is not set, the application would segfault, now
  handled properly (default is info)
* remove logging to the daemon facility
2016-09-01 08:25:28 +02:00
kakwa
6e687f2fe2 passing the launch working dir to the configuration handler
as many configuration paths can be relative to the execution working
directory, this directory is recorded at launch time, and the set_params
function does a chdir(<start work dir>); <load conf>; chdir("/") when
it's called.
2016-09-01 07:59:02 +02:00
kakwa
93ead7ee99 implementing a somewhat proper signal handler 2016-08-31 07:57:51 +02:00
kakwa
ee5870509a fix loglevel determination 2016-08-31 07:35:31 +02:00
kakwa
4907f03f2f little code cleaning 2016-08-30 22:54:46 +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
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
ad4dc967c0 adding the setting of the log level 2016-08-26 00:07:19 +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
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
kakwa
291f58bd7e reformat source code 2016-08-23 19:38:07 +02:00
kakwa
6bb50fc358 remove comment 2016-07-01 20:30:32 +02:00
Pierre-Francois Carpentier
963b0bb14b fix misplaced static definition 2015-12-17 21:47:19 +01:00
Pierre-Francois Carpentier
ee9828a8b6 begin implementing 2015-12-17 14:09:44 +01:00