86 Commits
Author SHA1 Message Date
smirky 1d0172e4ee Fix calloc args, should be swapped these days
Signed-off-by: Bogomil Vasilev <smirky@smirky.net>
2026-02-11 16:28:18 +02:00
smirky eebf004291 all: remove the GPLv2 license, not applicable 2019-03-16 11:31:17 +02:00
smirky d4a222ef6d agent: avoid double SSL_free(), SSL_shutdown() only when needed 2019-01-24 00:16:29 +02:00
smirky f7f02899b3 RMPS: calloc over malloc - zeroes! 2019-01-24 00:11:53 +02:00
smirky 986af66adb agent: implement connection loop with retry 2019-01-21 23:26:39 +02:00
smirky 598fd7aa74 implement thread pool shutdown 2019-01-21 23:25:17 +02:00
smirky 0c5cfbe2cb RMPS: improve enumtostr() and confparser 2019-01-17 14:31:50 +02:00
smirky 85c0e8db3d RMPS: validate IPs for listeners 2019-01-17 01:08:07 +02:00
smirky 3afbf4d0cb RMPS: rework confparser, much much better! 2019-01-17 00:32:46 +02:00
smirky bed5d4d5c5 RMPS: improve main() logging 2019-01-13 23:17:53 +02:00
smirky 9578c429be RMPS: remove intrusive code in confparse() 2019-01-13 21:25:20 +02:00
smirky 08affd7d36 agent: more logging improvements 2019-01-13 14:34:15 +02:00
smirky 2a61e77810 RMPS: more logging improvements 2019-01-13 14:33:50 +02:00
smirky fe354d9f74 agent: add signal handlers 2019-01-13 12:26:15 +02:00
smirky 77947d17e5 agent pool logging improvements 2019-01-13 12:25:22 +02:00
smirky 9df44cc960 improve rmps shutdown, cleanup main() 2019-01-13 12:05:10 +02:00
smirky 1426533564 improve cert scripts to read password better 2019-01-13 10:35:23 +02:00
smirky bdcb75f311 update .gitignore 2019-01-12 20:47:31 +02:00
smirky b665d4294a add cleanup script for certs 2019-01-12 20:33:58 +02:00
smirky b0321589af add cert generator scripts, arrange scripts dir 2019-01-12 20:28:45 +02:00
smirky 6607a41c55 remove testing file 2019-01-12 19:29:49 +02:00
smirky a36e3a02f4 hide queue vars, remove legacy name in log.h 2019-01-12 17:46:04 +02:00
smirky 59604b5b66 update Makefile and .gitignore 2019-01-12 17:07:06 +02:00
smirky fc154fecab test 2019-01-12 15:32:52 +02:00
smirky 91b73efb2d update .gitignore 2019-01-12 15:24:04 +02:00
smirky 5016ea62c4 update systemd service 2019-01-12 13:56:47 +02:00
smirky c0086a8509 checkpatch fixes 2019-01-09 23:58:59 +02:00
smirky fcdb9a6980 fix analyze-clean.sh 2019-01-09 22:59:52 +02:00
smirky 56cd85a8fc shellcheck analyze-clean.sh 2019-01-09 22:48:17 +02:00
smirky ac905a761a remove test comment 2019-01-09 22:47:58 +02:00
smirky 579f56df35 fix confparser leaks reported by scan-build, add scan script 2019-01-09 22:44:55 +02:00
smirky 1c7b7335e6 Improve confparse logging and add missing brackets 2019-01-08 20:56:38 +02:00
smirky 3f1a49704f identation and minor failure condition fix 2019-01-07 01:10:22 +02:00
smirky 63e2cfa9a4 fix systemd service file mistake 2019-01-07 00:57:44 +02:00
smirky f144838049 implement conf test option and improve systemd service 2019-01-07 00:50:35 +02:00
smirky 1bad24582e Improve conf and conf testing 2019-01-06 19:30:35 +02:00
smirky 31a9156add Initial getopt in the project 2019-01-06 01:42:05 +02:00
smirky 0382ead79b minor ssl logging changes and buffer fix 2019-01-03 22:35:23 +02:00
smirky 9cd8cc2c90 Make sure we always append mysql_cofnfig cflags & ldflags 2018-08-13 15:19:52 +03:00
smirky b5aec20e69 Implement make agent & clean_agent 2018-07-12 11:47:42 +03:00
smirky 3b53bb5436 subdir .gitignore 2018-07-05 11:49:43 +03:00
smirky 780f582287 Add license to PKGBUILD and auto-increment version 2018-07-05 11:45:08 +03:00
smirky 81f454aca2 Introduce GPLv2 to the project 2018-07-04 15:20:05 +03:00
smirky 238c8fac48 Fit in 80 symbols per line 2018-07-03 18:26:36 +03:00
smirky 43550b2c5a more strncpy fixes 2018-07-03 18:03:55 +03:00
smirky d0c654dc96 Announce mkdir in VERBOSE 2018-07-03 15:09:36 +03:00
smirky de956749cc Ensure we mkdir before spawning PID file 2018-07-03 14:56:07 +03:00
smirky d5cd9932a9 logfile & pidfile typo in conf file 2018-07-03 13:39:29 +03:00
smirky 322e62dcc5 Merge branch 'master' of https://git.smirky.net/smirky/rmps 2018-07-03 13:28:56 +03:00
smirky 2bbb3cfc51 Fix strncpy warnings - add "-1" for NULL 2018-07-03 13:28:27 +03:00
smirky ab48577afb Improve max path/name limits 2018-05-11 14:40:46 +03:00
smirky 2891540d65 set proper conf defaults 2018-04-29 15:06:23 +03:00
smirky 4f5c6195e5 systemd backup rmps.conf & a minor build fix 2018-04-29 14:59:46 +03:00
smirky 295406d9c7 Shellcheck compliance, not that it is important right now 2018-02-19 00:01:18 +02:00
smirky 19268ecafb Improve Makefile 2018-02-18 23:27:22 +02:00
smirky bd9ebee627 Introduce src, obj, build, docs & modify Makefile 2018-02-16 15:30:36 +02:00
smirky 3a0ccd3b31 Set atexit once. Next time, RTFM. 2018-02-16 14:23:41 +02:00
smirky bee649a34e Make allocations based on var size, not struct size - it's safer 2017-06-21 12:20:47 +03:00
smirky a0915fc803 More checkpatch.pl happiness 2017-06-21 11:52:34 +03:00
smirky caa0e2b6a7 Make shellcheck happy + minor cleanups 2017-06-20 10:25:42 +03:00
smirky f10b75c4b7 Makefile is now more flexible 2017-05-18 18:05:04 +03:00
smirky 88d4942e2c Less aggressive Makefiles 2017-05-18 16:08:09 +03:00
smirky 095fda75d2 Took me a while to fix this SHIT ... 2017-05-17 19:09:10 +03:00
smirky a76fd9ff0d Some string.h warnings 2017-05-17 18:56:15 +03:00
smirky 477b48eac0 STYLE! 2017-05-17 18:48:11 +03:00
smirky b7df1d32fd Coding style is religion 2017-05-17 18:43:29 +03:00
smirky 6d0a190c2f More whitespace and shut some warnings up 2017-05-17 18:27:08 +03:00
smirky ff8546bf66 Lots and lots of whitespace and code style fixes 2017-05-17 17:54:37 +03:00
smirky 2442ceaee2 Oops.. 2016-09-17 15:04:12 +03:00
smirky 95a6f1fe97 Nothing to see here, move along... 2016-09-17 15:02:58 +03:00
smirky 1c2473505d Modify init_server_ctx to specify custom SSL modes 2016-09-04 12:49:02 +03:00
smirky 87d16869ce Cleanups in the sql scripts 2016-09-03 22:50:43 +03:00
smirky 03d4a4d662 DB init scripts 2016-09-03 22:43:51 +03:00
smirky 97d7ec8b13 Start working on client listener 2016-08-29 17:21:20 +03:00
smirky fa16b4fb8c ... 2016-08-21 15:16:12 +03:00
smirky 3309026308 Rename protocol structs 2016-08-12 12:18:10 +03:00
smirky dcd7a46d0a Renamed log_trace() to log() 2016-08-10 20:21:54 +03:00
smirky 65b923cba8 Some bits here and there... 2016-08-10 01:08:56 +03:00
smirky 0c4a57faed Use thread-safe localtime and tweak loglevel 2016-08-09 15:02:16 +03:00
smirky 3fecfdbbc4 Cleanups and small fixes 2016-08-09 14:16:30 +03:00
smirky 0d5eeed758 More thread-safety to log_trace 2016-08-09 12:36:37 +03:00
smirky 093c2263b1 Syntax cleanup 2016-08-09 10:16:20 +03:00
smirky 5f67602e8e Add log_ssl() and some cleanups 2016-08-09 00:31:49 +03:00
smirky 94e0e140b4 Add .gitignore and remove test logs 2016-08-08 22:39:47 +03:00
smirky dcd58d8281 Rewrite log_trace to be thread-safe and some cleanups 2016-08-08 22:31:29 +03:00
smirky e9f3673bfd Initial commit. It's far from finished. 2016-08-08 11:12:06 +03:00