Commit graph

49 commits

Author SHA1 Message Date
Wilco Baan Hofman
8e5aa64b37 Fix configure problems, direct inclusion of core/ntstatus.h and charset.h does not work in configure mode due to missing dependencies in samba header files. 2016-11-28 10:23:07 +01:00
Wilco Baan Hofman
b6618b6b74 Fix warnings about using variables (though const) as formatting strings. Fix whitespace. 2016-11-28 10:21:45 +01:00
Wilco Baan Hofman
47b09119a4 Use C11 instead of GNU formatting for variable argument macros. 2016-11-28 10:20:27 +01:00
Wilco Baan Hofman
8caa9a68bc Fix warnings about unsigned/signed and pointer comparisons. 2016-11-28 10:14:52 +01:00
Wilco Baan Hofman
f46e66165e Move to threadsafe dbi_initialize_r and dbi_conn_new_r, might actually solve the file handle leaks by DBI 2016-11-28 10:13:56 +01:00
Wilco Baan Hofman
2d30b72498 Fix whitespace 2016-11-28 10:12:56 +01:00
Wilco Baan Hofman
9d2b9ee61d Add more Chiron protocol information. Handshake works, though it's hardcoded in proving-correct mode for now. 2016-11-28 10:12:19 +01:00
Wilco Baan Hofman
2186300bd2 New version of pidl 2016-11-15 22:10:08 +01:00
Wilco Baan Hofman
d595112e01 Commit spacestate config header 2016-09-25 17:08:55 +02:00
Wilco Baan Hofman
e25d6a42a1 Attempt at fixing libdbo file descriptor leak. 2016-09-25 17:07:49 +02:00
Wilco Baan Hofman
057cf8cb8a Add hooks to spacestate 2016-09-25 17:03:04 +02:00
Wilco Baan Hofman
40bc2c209c Fix indentation 2016-09-25 17:00:22 +02:00
Wilco Baan Hofman
4d34a694b1 Make the database code more robust. 2014-01-12 23:06:55 +01:00
Wilco Baan Hofman
eb041ce5b4 New commit. Much changes. Very impress. Wow. 2014-01-12 20:53:47 +01:00
Wilco Baan Hofman
6eb419202c Add preliminary support for the Chiron alarm dialer. 2013-09-09 19:10:13 +02:00
Wilco Baan Hofman
3b2dc8effc Merge branch 'master' of https://github.com/bitlair/siahsd
Conflicts:
	wscript
2013-09-09 19:09:07 +02:00
Wilco Baan Hofman
fe389df068 Add compile flags. 2013-09-09 19:05:55 +02:00
Wilco Baan Hofman
9d3dff38e4 Add parse error. 2013-09-09 19:04:53 +02:00
Wilco Baan Hofman
87b7050710 Fix memory error checking. 2013-09-09 19:04:20 +02:00
Wilco Baan Hofman
6ac493321a Add netdb header to includes.h 2013-09-09 19:02:57 +02:00
Wilco Baan Hofman
bb7c53235e Fix comment in the spec. 2013-09-09 18:59:58 +02:00
Wilco Baan Hofman
fe6eb62b55 Fix init script for pidfile access rights 2013-05-05 19:13:38 +02:00
Wilco Baan Hofman
a081fb8920 Fix copyright and whitespace 2013-05-05 18:31:09 +02:00
Wilco Baan Hofman
659cdf1ff5 Add space state event backend 2013-05-05 18:28:11 +02:00
Wilco Baan Hofman
6b8f1f9a6c Fix compiler warnings 2013-02-16 17:39:22 +01:00
Wilco Baan Hofman
861d2c0e95 Do not show alarm system prom on IRC. 2013-01-13 03:04:07 +01:00
Wilco Baan Hofman
b678fb5535 Modify init script so siahsd can run as non-root 2013-01-10 10:25:36 +01:00
Wilco Baan Hofman
c703e76e2a Argh, typo fixed. 2013-01-10 01:37:19 +01:00
Wilco Baan Hofman
df704e53e8 Fix default configuration. 2013-01-09 22:29:06 +01:00
Wilco Baan Hofman
214d2f2f31 Harden the build system. Fix configuration error processing. 2013-01-09 22:25:22 +01:00
Wilco Baan Hofman
51fbbfb078 Fix debugging info for secipd. 2012-10-07 23:38:21 +02:00
Wilco Baan Hofman
cf462c2232 Make secipd parse at least protocol 04 (SIA-HS). 2012-10-07 23:12:14 +02:00
Wilco Baan Hofman
24c1286e5f Fix rest of SecIP protocol. Protocol is now fully implemented.
Note that there is no monitoring implemented yet, just the protocol basics.
2012-10-07 20:46:44 +02:00
Wilco Baan Hofman
fec14af688 Implement Vebon SecIP encryption types RSA+AES. Needs RSA key with 257 exponent for alphatronics.
Note that the endianness is completely retarded. RSA public key transfer is little endian. Messages are big endian.
2012-10-07 13:36:43 +02:00
Wilco Baan Hofman
3fb1474113 Make sure the event handlers initialize and register themselves. 2012-08-06 01:11:03 +02:00
Wilco Baan Hofman
fb4832fb88 Fix printf where debug should be used. 2012-08-05 20:51:56 +02:00
Wilco Baan Hofman
65d4098d8e Update makefile to be more silent and distclean removes tags file. 2012-08-05 03:28:21 +02:00
Wilco Baan Hofman
feb524931e Fix memory management in jsonbot.c 2012-08-05 02:45:04 +02:00
Wilco Baan Hofman
bdbc16a566 Add jsonbot client. Return configuration as const. 2012-08-05 02:41:46 +02:00
Wilco Baan Hofman
172d47b6da Fix double linking in waf, add TODO item. 2012-08-04 22:26:07 +02:00
Wilco Baan Hofman
9fd10dec9c Refactor build system to use waf. Waf is better at handling dependency paths which I need for IDL support 2012-08-04 22:18:52 +02:00
Wilco Baan Hofman
df7f98bc6f Update make clean in the makefile. the autogenerated files should be deleted. 2012-08-01 03:33:18 +02:00
Wilco Baan Hofman
ad758df90b Add pidl. Add preliminary work on SecIP.
Please note that the Alphatronics implementation does not follow the Vebon specification.
An extra padding byte had to be added to the idl..
2012-08-01 03:30:50 +02:00
Wilco Baan Hofman
1972b32b60 Refactor code so that other protocols can be added with minimal duplicate code. 2012-08-01 03:29:01 +02:00
Wilco Baan Hofman
21893ff091 Add out of memory checks which were missing. 2012-07-31 16:27:52 +02:00
Wilco Baan Hofman
5c3eb66b17 Add license information to the project headers and COPYING instructions. 2012-07-31 16:23:25 +02:00
Wilco Baan Hofman
91247efb98 Add error handling. Add better memory checking. Add log file support. Add daemonize support. 2012-07-31 16:12:39 +02:00
Wilco Baan Hofman
a1fd731e02 Add configuration file support from glib. Add universal SQL database backend for event storage 2012-07-29 17:15:23 +02:00
Wilco Baan Hofman
9d49055b90 Initial commit for SIA HS Daemon. 2012-07-28 21:44:09 +02:00