Evgeny Poberezkin
f392ce0a93
5.8.2.0
v5.8.2
2024-07-02 13:55:28 +01:00
Evgeny Poberezkin
aa1d8d6c8b
agent: disable fast handshake ( #1215 )
2024-07-02 13:40:37 +01:00
Evgeny Poberezkin
ae4325d0e7
Merge pull request #1209 from simplex-chat/fast-connection
...
fast handshake protocol
2024-07-02 08:13:37 +01:00
Evgeny Poberezkin
da5f669133
remove diagram
2024-07-01 23:34:31 +01:00
Evgeny Poberezkin
5c839b40c9
Merge branch 'master' into fast-connection
2024-07-01 21:14:32 +01:00
spaced4ndy
a50e2e74a5
agent: disable saving stats ( #1214 )
...
* agent: disable stat saving
* disable migration
* schema
* disable restore
2024-07-01 21:06:38 +01:00
Evgeny Poberezkin
26cfad5e88
do not use sndSecure when rotating queue ( #1213 )
2024-07-01 13:42:46 +01:00
Evgeny Poberezkin
a99ce6122c
secure queue by sender via proxy (proxy SKEY command) ( #1210 )
...
* client: secure queue by sender via proxy (proxy SKEY command)
* agent and server: proxy SKEY command
2024-06-30 16:20:54 +01:00
Evgeny Poberezkin
a6b542b301
Merge branch 'master' into fast-connection
2024-06-30 15:00:28 +01:00
Evgeny Poberezkin
6a54a58a0d
agent: remove legacy statistics ( #1211 )
...
* agent: remove legacy statistics
* delays after disposeAgent
* delays
* enable all tests
* more delays
2024-06-30 12:50:42 +01:00
Evgeny Poberezkin
9ee684b0f4
rfc: faster handshake protocol ( #1203 )
...
* rfc: faster handshake protocol
* update
* 1 message
* SKEY
* use SKEY for both parties
* test
* update doc
* NEW command parameter
* add k=s param to queue URI
* fix
* add sndSecure field to queues
* make sender key non-optional in SndQueue (WIP, tests fail)
* fast handshake sometimes works (many tests fail)
* correctly handle SKEY retries, avoiding to re-generate the keys
* handle SKEY retries during async connection
* fix most tests (1 test fails)
* remove do
* fix contact requests encoding/tests
* export
* fix: ignore duplicate confirmations, fixes testBatchedPendingMessages
* do not store sndSecure in store log if it is false to allow server downgrade
* add connection invitation encoding tests
2024-06-30 08:36:24 +01:00
spaced4ndy
c788692687
agent: servers summary types, api ( #1202 )
...
* agent: servers summary types, api [wip]
* encoding
* export
* Revert "export"
This reverts commit cd9f315fe8 .
* comment
* rename
* simplify types
* uncomment
* comment
* rework
* comment, exports
* save, restore stats wip
* remove
* rename
* save stats periodically
* sigint, sigterm experiments
* corrections
* remove some proxy stats
* increase stat
* proposed stats
* fields
* Revert "sigint, sigterm experiments"
This reverts commit f876fbd418 .
* wip
* retries -> attempts
* errs
* fix
* other errs
* more stat tracking
* sub stats
* remove xftp successes stats
* xftp stats tracking
* revert
* revert
* refactor
* remove imports
* comment
* Revert "refactor"
This reverts commit 26c368d82a .
* Revert "revert"
This reverts commit 4c9e3753b5 .
* Revert "revert"
This reverts commit 6f65644053 .
* todos
* persistence
* rename, fix
* config
* comment
* add started at to summary
* delete stats on user deletion
* reset api
* move
* getAgentServersSummary collect state logic
* corrections
* corrections
* remove
* rework
* decrease contention
* update
* more stats
* count sentProxied
* count subs
* remove unused
* comment
* remove comment
* comment
* export
* refactor
* cleanup
* intervals
* refactor
* refactor2
* refactor3
* refactor4
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2024-06-25 09:42:59 +04:00
Alexander Bondarenko
9e7e0d102d
smp-server: conserve resources ( #1194 )
...
* transport: force auth params, remove async wrapper
* stricter new messages
* bang more thunks
* style
* don't produce msgQuota unless requested
* strict
* refactor
* remove bangs
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2024-06-24 13:15:08 +01:00
Evgeny Poberezkin
d47c099ac9
docs: update protocol specifications ( #1204 )
...
* docs: update protocol specifications
* update SMP protocol (WIP)
* add proxy protocol commands and responses, amend envelope sizes in SMP protocol
* docs: update XFTP protocol (#1205 )
* docs: update XFTP protocol
* commands
* fix table of contents, move sections
* add about ids
* download encryption
* qualities
* diagram
* crypto
* sending file diagram
* fix svg
* receiving file diagram
* update commands
* update handshake
* Add updated XRCP (#1207 )
* add XRCP protocol
* add ToC
* update
* update
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* add XFTP handshake description
* update agent protocol
* fast duplex connection in agent protocol
* update agent protocol
* update overview
* typos
* queue rotation, agent API, updates
* push notifications specification
* add XRCP threat model
* XFTP threat model
* update PQDR
* agent protocol end-to-end encryption
* versions
* remove TOC details
* update
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
Co-authored-by: Alexander Bondarenko <486682+dpwiz@users.noreply.github.com >
2024-06-23 22:53:45 +01:00
sh
8a3b72458f
readme: update compiling from source instructions ( #1190 )
2024-06-16 07:43:22 -07:00
Evgeny Poberezkin
f616cb7b3e
5.8.1.0
v5.8.1
2024-06-16 07:36:38 -07:00
spaced4ndy
4bbadffa37
agent: api to reconnect single server ( #1198 )
...
* agent: api to reconnect single server
* refactor
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2024-06-16 06:27:25 -07:00
Evgeny Poberezkin
388d77b61a
ntf stats on SMP server ( #1197 )
...
* log undelivered notifications
* type
* add counters and encoding
* rename
* diff
* style
* style2
---------
Co-authored-by: Alexander Bondarenko <486682+dpwiz@users.noreply.github.com >
2024-06-15 20:05:45 -07:00
Alexander Bondarenko
6597f6f0ed
tests: add proxy connection refused test ( #1200 )
2024-06-15 19:27:58 -07:00
M. Sarmad Qadeer
7008b08031
smp-server: fix layout ( #1196 )
...
* smp-server: fix layout
* ws
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2024-06-15 12:52:41 -07:00
spaced4ndy
bb1d31e459
remote ctrl: differentiate RCP error when trying to connect to unknown host identity ( #1195 )
...
* remote ctrl: differentiate RCP error when trying to connect to unknown host identity
* rename
* refactor
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2024-06-10 17:42:51 +04:00
spaced4ndy
da620c388a
xftp: start chunk upload after all chunks are prepared ( #1191 )
2024-06-06 15:50:15 +04:00
spaced4ndy
3c0cd7efcc
agent: separate type for agent file errors ( #1185 )
2024-06-05 18:44:32 +04:00
Evgeny Poberezkin
3d605310ed
agent: remove protocol encodings and agent TCP server ( #1189 )
...
* rfc: remove agent protocol encodings
* agent: remove protocol encodings and agent TCP server
* update
* remove unused code
* remove
* move tests
* add delay to tests
* stabilize test
* test
* more delays
* reduce delays
* enable all tests
* delays
* style
2024-06-05 14:34:40 +01:00
Evgeny Poberezkin
3dab330480
use throwE instead of throwError ( #1187 )
...
* use throwE instead of throwError
* test delay
2024-06-05 11:20:50 +01:00
Evgeny Poberezkin
44b8f265ae
5.8.0: changelog
v5.8.0
2024-06-03 10:01:59 +01:00
Evgeny Poberezkin
2e4f507919
5.8.0.10
v5.8.0-beta.6
2024-05-31 22:20:30 +01:00
Evgeny Poberezkin
d28b17e787
xftp server: send HTTP2 error as timeout error to the client so it is treated as temporary ( #1186 )
...
* xftp server: log file reception error
* report HTTP2 error as timeout error
* reduce timeout to 5 min
* process timeout error in protocol response
* log warning on timeout/HTTP2 error
2024-05-31 22:18:28 +01:00
Evgeny Poberezkin
e1017e2a7f
5.8.0.9
v5.8.0-beta.5
2024-05-31 14:25:57 +01:00
Evgeny Poberezkin
1ff91d888f
Merge branch 'stable'
2024-05-31 14:25:19 +01:00
Evgeny Poberezkin
0b5ab3a374
5.7.6.0
2024-05-31 14:23:21 +01:00
Evgeny Poberezkin
8ed54b33e0
agent: report correct errors from xftp handshake so they are treated as temporary ( #1184 )
...
* agent: report correct errors from xftp handshake so they are treated as temporary
* disable slow servers test
* remove comments
* all tests
* remove duplicate functions
2024-05-31 13:01:13 +01:00
Evgeny Poberezkin
3a3a84c58c
server: log proxy connection errors
2024-05-31 12:20:29 +01:00
Evgeny Poberezkin
d12ea92055
agent: report correct errors from xftp handshake so they are treated as temporary ( #1184 )
...
* agent: report correct errors from xftp handshake so they are treated as temporary
* disable slow servers test
* remove comments
* all tests
* remove duplicate functions
2024-05-31 09:47:47 +01:00
Evgeny Poberezkin
6e4067dc0c
add string encodings for SMPProxyMode and SMPProxyFallback
2024-05-31 09:16:00 +01:00
Evgeny Poberezkin
88f1b727e0
SMP protocol extension to debug subscribed SMP queues ( #1181 )
...
* SMP protocol extension to debug subscribed SMP queues
* fix, test
* corrections
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
* increase delays
* increase timeout
* delay
* delay
* enable all tests
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2024-05-30 18:49:43 +01:00
spaced4ndy
97a953550f
agent: getAgentQueuesInfo ( #1180 )
2024-05-30 14:21:29 +04:00
Evgeny Poberezkin
39b3b5a25e
5.8.0.8
v5.8.0-beta.4
2024-05-29 13:19:10 +01:00
Alexander Bondarenko
15f0bb9e79
tcp-server: recover from accept errors ( #1179 )
...
* tcp-server: recover from accept errors
* log
* warn
* where
* retry
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-05-29 13:18:00 +01:00
Evgeny Poberezkin
5c2c88315a
SMP server information ( #1072 )
...
* SMP server information
* fix tests
* country codes
* smp-server: serve contact and link pages from static files (#1084 )
* smp-server: serve contact and link pages from static files
* generate index
* use params from ini
* render using ServerInformation
* tweak templates
* update
* fix some html
* smp-server: fix layout (#1097 )
* smp-server: fix layout
* port fixes to link page
---------
Co-authored-by: Alexander Bondarenko <486682+dpwiz@users.noreply.github.com >
* update server information page
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
Co-authored-by: M. Sarmad Qadeer <MSarmadQadeer@gmail.com >
* update server info
* web: improve server info page design (#1166 )
* web: improve server info page design
* web: fix font errors & some tags
* web: improve contact & invitation page layout and header
* update
* remove unused files/css
* cleanup
* fix link page
* remove unused font links
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
* show contact address as is
---------
Co-authored-by: Alexander Bondarenko <486682+dpwiz@users.noreply.github.com >
Co-authored-by: M. Sarmad Qadeer <MSarmadQadeer@gmail.com >
2024-05-29 11:30:42 +01:00
Evgeny Poberezkin
0f663bd569
5.8.0.7
2024-05-29 08:09:27 +01:00
Evgeny Poberezkin
63f5e76f9c
agent: treat absent proxy session as a temporary error to retry sending ( #1178 )
...
* agent: treat absent proxy session as a temporary error to retry sending
* enable all tests
2024-05-29 08:06:01 +01:00
Evgeny Poberezkin
ee052a454e
5.8.0.6
v5.8.0-beta.3
2024-05-28 15:33:55 +01:00
Evgeny Poberezkin
e55ec07fe2
server: log stats for QUOTA and other errors ( #1177 )
...
* server: log stats for QUOTA errors
* fix test
* more stats
* remove duplicate column
2024-05-28 15:32:41 +01:00
Evgeny Poberezkin
199f85ec62
agent: send MWARN on QUOTA errors ( #1176 )
...
* agent: send MWARN on QUOTA errors
* fix tests
2024-05-28 11:56:57 +01:00
Evgeny Poberezkin
4a96dbf871
server: preprocess proxy commands that will not be connecting to network to reduce concurrency, do not wait for destination relay responses before processing the next command ( #1174 )
...
* server: preprocess proxy commands that will not be connecting to network to reduce concurrency
* implementation
* tests
* increase proxy client concurrency
* simplify
* refactor
* refactor2
* rename
* refactor3
* fix 8.10.7
2024-05-28 09:38:47 +01:00
Evgeny Poberezkin
c8b2bb2ae1
agent: process message sent in expired response to ACK (it will increase duplicates count) ( #1175 )
2024-05-28 08:35:43 +01:00
Evgeny Poberezkin
ab7b350521
agent: prevent sending not-batched client commands once requests time out ( #1173 )
2024-05-27 14:55:04 +01:00
Evgeny Poberezkin
df35c50b99
5.7.5.0
v5.7.5
2024-05-25 11:10:14 +01:00
Evgeny Poberezkin
bd67844169
5.8.0.5
v5.8.0-beta.2
2024-05-24 14:26:02 +01:00