Commit graph

58 commits

Author SHA1 Message Date
Wilco Baan Hofman
5f2a251b68 Finish up Chiron interaction with real devices.. Nothing is done with received alarms so far though 2017-05-22 17:13:20 +02:00
Wilco Baan Hofman
3925f4f244 Awwyeah, decrypted an alarm 2017-05-09 22:39:39 +02:00
Wilco Baan Hofman
9fa2ebb4a9 A little closer to the alt format. Handshake works. 2017-05-09 17:51:24 +02:00
Wilco Baan Hofman
9e39e25aa1 Now really fix out of bounds write. 2016-11-28 21:58:01 +01:00
Wilco Baan Hofman
288c68ff34 Fix out of bound write when 30 arguments are given to the spacestate script. 2016-11-28 21:51:59 +01:00
Wilco Baan Hofman
29a047eea9 Fix resource leak of sockfd 2016-11-28 21:51:23 +01:00
Wilco Baan Hofman
cb1c8426ae Fix whitespace and some coverity errors 2016-11-28 21:50:57 +01:00
Wilco Baan Hofman
74a29c8d4b Add coverity checks to makefile 2016-11-28 21:49:57 +01:00
Wilco Baan Hofman
e8a135d127 Fix leaking file handle for log messages when something fails. 2016-11-28 17:37:07 +01:00
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