Evgeny Poberezkin
180b4b9dcb
version 3.2.0 ( #499 )
2022-08-16 20:45:35 +01:00
Evgeny Poberezkin
e9db0a1162
allow passing all network configuration to the agent ( #488 )
2022-08-02 13:30:00 +01:00
Evgeny Poberezkin
b8c23ea8d5
3.1.3
2022-08-01 11:36:46 +01:00
Evgeny Poberezkin
b76ef03dbe
ntf: server stats ( #487 )
...
* nts: server stats
* ntf: collect stats, refactor
* rename property
* fixes
2022-08-01 08:42:23 +01:00
Evgeny Poberezkin
fcaddb7848
agent functions to get/set network configuration ( #484 )
...
* agent functions to get/set network configuration
* fix condition
2022-07-25 13:50:46 +01:00
Evgeny Poberezkin
d788c3ca95
access servers via SOCKS proxy ( #482 )
...
* access servers via SOCKS proxy
* config to pass tcp timeout and option SOCKS5 proxy to the agent
2022-07-23 13:57:10 +01:00
Evgeny Poberezkin
e07121266a
3.1.2
2022-07-22 11:29:20 +01:00
Evgeny Poberezkin
0ab90cb204
3.1.1
2022-07-19 15:08:14 +01:00
Evgeny Poberezkin
0b259af9cb
3.1.0
2022-07-18 07:28:19 +01:00
Evgeny Poberezkin
1670c9c05e
3.0.1
2022-07-15 13:25:29 +01:00
Evgeny Poberezkin
cde8a11693
update stats logging and make it opt-in ( #472 )
...
* update stats logging and make it opt-in
* hSetBuffering
* update var name
2022-07-15 13:21:02 +01:00
Evgeny Poberezkin
23496f1a34
v3.0.0 ( #466 )
...
* v3.0.0
* update changelog
2022-07-09 12:12:36 +01:00
Evgeny Poberezkin
cb5ad1619c
update version v3.0.0-rc.1
2022-07-08 14:48:08 +01:00
Evgeny Poberezkin
991548b64d
ntf server: do not resubscribe to error/ended subscriptions on restart ( #464 )
2022-07-06 18:20:49 +01:00
Evgeny Poberezkin
4339218c57
v3.0.0-rc.0
2022-07-05 22:30:44 +01:00
Evgeny Poberezkin
36b4179b8b
update version v3.0.0-beta.4
2022-07-04 10:48:04 +01:00
Evgeny Poberezkin
bc26dc1d68
save and restore server stats on restart ( #460 )
2022-07-04 10:45:35 +01:00
Evgeny Poberezkin
40ae809033
v3.0.0-beta.3 / v1.0.0-beta.3 (ntf)
2022-07-02 15:08:41 +01:00
Evgeny Poberezkin
77f1d45021
fix invalid ini syntax ( #452 )
2022-07-01 22:38:39 +01:00
JRoberts
e622e12a7f
v3.0.0-beta.2 / v1.0.0-beta.2 (ntf)
2022-07-01 15:27:32 +04:00
JRoberts
07bf2bca3b
v3.0.0-beta.0
2022-06-29 16:52:36 +04:00
Evgeny Poberezkin
85d507d5d3
ntf-server store log ( #435 )
...
* ntf-server store log
* ntf serevr: restore log when server is started, save compacted store log
* log ntf server store changes
* test, store log works
* update ntf-server exe
2022-06-28 17:10:50 +01:00
JRoberts
08a4b41691
v2.3.2 ( #414 )
2022-06-21 12:47:40 +04:00
Evgeny Poberezkin
91802fe94f
Merge branch 'master' into f/notifications
2022-06-12 16:49:56 +01:00
Evgeny Poberezkin
0a71822dd0
v2.3.0: save and restore messages when the server is restarted ( #395 )
...
* save and restore messages when server is restarted
* read file line by line
* add import
* optmize restoring messages by reading the whole file
* update version to 2.3.0
* update scripts
* add script
* update readme
2022-06-12 15:59:14 +01:00
Evgeny Poberezkin
c1348aa54f
SMP connection handshake v2 ( #390 )
...
* SMP connection handshake v2
* hadshake v2 [mostly] works
* all tests pass, some race conditions remain
* fix build
* fix race conditions, send CON after all HELLOs in duplexHandshake mode
* add comments
* comment
* add comments
2022-06-09 13:47:07 +01:00
Evgeny Poberezkin
fd410280b5
gracefully close sockets on client disconnection ( #373 )
...
* gracefully close sockets on client disconnection
* remove -threaded
2022-05-24 19:38:14 +01:00
Evgeny Poberezkin
49070fffe0
make server compatible with old ini files ( #372 )
...
* make server compatible with old ini files
* fix
* clean up
2022-05-18 18:30:06 +01:00
Evgeny Poberezkin
4e4eea34f9
server: configuration to expire inactive clients in ini file ( #369 )
...
* server: configuration to expire inactive clients in ini file
* corrections
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
2022-05-11 15:43:54 +04:00
Evgeny Poberezkin
964daf5442
v2.0.0 ( #360 )
...
* v2.0.0: notification server release
* update changelog
* update changelog
* update changelog
2022-05-03 14:32:37 +01:00
Evgeny Poberezkin
ace94d7c69
log server stats ( #367 )
...
* log server stats
* separate stats updates from the existing transactions
2022-04-30 13:47:21 +01:00
Evgeny Poberezkin
1064e9c315
disconnect inactive clients ( #366 )
...
* disconnect inactive clients
* update test description
* use one thread per client to disconnect inactive clients
* remove comments
* more comments
2022-04-30 10:56:01 +01:00
Evgeny Poberezkin
f718a84335
change log level to error
2022-04-21 17:07:39 +01:00
Evgeny Poberezkin
60d0f19121
Merge branch 'master' into notifications-server
2022-04-20 08:23:26 +01:00
Evgeny Poberezkin
68f52c47dd
message TTL and periodic expiration; setting to prevent creation of the new queues ( #355 )
...
* message TTL and periodic expiration; setting to prevent creation of the new queues
* fix expiration interval
2022-04-20 08:14:26 +01:00
Evgeny Poberezkin
9d8a9c4fe4
interval notifications (TCRN command) ( #352 )
...
* notifications: periodic notifications
* agent: allow repeat token registrations, delete old tokens from notification server (e.g., when database is moved to another device)
* decrypt token verification code in the agent
* check token status, send TCRN on registration if it was enabled
* fix http2/apns response handling for error responses (also, APNS seems not to send content-length header?)
2022-04-17 10:34:51 +01:00
Evgeny Poberezkin
45ddecc4b8
APNS/HTTP2 push client for notifications server ( #350 )
...
* APN push client (WIP)
* APNS push client works
* TODO comments
* comment
* send notification and process the response
* config
* e2e encryption for notification parameter
* read apns key filename and ID from env
* connect APNS client to server, fix notification JSON encoding to use dash case
* do not connect to APNS on start to pass CI tests
* fix CI test
* remove redundant import
2022-04-14 11:33:17 +01:00
Evgeny Poberezkin
f577fcdacf
agent schema/methods/types/store methods for notifications tokens ( #348 )
...
* agent schema/methods/types/store methods for notifications tokens
* register notification token on the server
* agent commands for notification tokens
* refactor initial servers from AgentConfig
* agent store functions for notification tokens
* server STM store methods for tokens
* fix protocol client for ntfs (use generic handshake), minimal server and agent tests
* server command to verify ntf token
2022-04-08 08:47:04 +01:00
Evgeny Poberezkin
fb26916eea
ntf-server CLI, re-use SMP server CLI as a library ( #347 )
...
* ntf-server CLI, re-use SMP server CLI as a library
* add executable name
2022-04-03 10:37:32 +01:00
JRoberts
337d5bdfe7
add "SMP server on Linux" section to README ( #337 )
2022-03-26 19:57:18 +04:00
John Roberts
5c6ec96d64
make smp servers configurable for running agent ( #326 )
2022-03-10 10:49:22 +04:00
Evgeny Poberezkin
4a66f68c55
reduce server message queue quota to 128 messages ( #323 )
2022-02-26 17:49:21 +04:00
Evgeny Poberezkin
b777a4fd93
split the server dependencies from the agent ( #310 )
...
* split the server dependencies from the agent
* remove redundant imports
* fix Main.hs
2022-01-21 17:33:47 +00:00
Evgeny Poberezkin
26a01dfc40
explicitely set line buffering in stdout/stderr to log each lines when output is redirected to files ( #290 )
2022-01-14 08:34:34 +00:00
Efim Poberezkin
3909c7b10e
remove Subject Alternative Names from server certificate ( #281 )
2022-01-11 20:48:27 +04:00
Efim Poberezkin
d48da40f7e
add IP and FQDN to online certificate ( #278 )
2022-01-11 16:35:06 +04:00
Efim Poberezkin
14afa24a0a
disable websockets by default ( #277 )
2022-01-11 11:21:02 +04:00
Efim Poberezkin
4727e568d5
fix x509 call to be compatible with openssl version 1.1.1 ( #253 )
2022-01-03 20:59:53 +04:00
Evgeny Poberezkin
f3523bbba9
make KeyHash non-optional, verify KeyHash in SMP handshake, use StrEncoding class ( #250 )
...
* make KeyHash non-optional, StrEncoding class
* change server URI format in agent config, refactor with StrEncoding
* refactor Crypto using checkAlgorithm
* refactor parsing connection requests
* prepare to validate CA fingerprint sent in client handshake
* KeyHash check in handshake
* rename type to CliCommand
* server validates keyhash sent by the client
* validate -a option when parsing
* more of StrEncoding
2022-01-02 22:24:43 +00:00
Efim Poberezkin
33bb38299b
refactor server Main.hs ( #248 )
2022-01-02 21:49:40 +04:00