Commit Graph

1721 Commits

Author SHA1 Message Date
Andrey Borodin 3974c0de92
Update README.md (#83)
* Update README.md

* Fix Centos script
2019-12-09 23:15:14 +05:00
Andrey Borodin 6705c040a0 Set SSL server session id 2019-12-04 15:21:50 +05:00
Andrey Borodin b98d34d489 Increase default client_max_routing 2019-12-04 15:21:50 +05:00
Andrey Borodin eb7299748d Implement login timeout 2019-12-02 18:28:39 +05:00
Andrey Borodin f43ac71d26 Optimize clocks 2019-12-02 18:19:44 +05:00
Dima Starkov 95f1740031 Add integration tests for SCRAM Authentication (#78)
* Add integration tests for SCRAM Authentication

* Made tests independent of the postgresql version
2019-11-24 21:00:00 +05:00
Andrey Borodin 2262362349 Fix PostgreSQL linkage 2019-11-21 16:54:59 +05:00
Andrey Borodin 0605a81816 Silent compiler warnings in kiwi 2019-11-21 11:13:10 +05:00
Andrey Borodin 816d45958e Revert "Add pause/resume admin console commands (#66)"
This reverts commit b426f4f301.
2019-11-19 16:57:16 +05:00
Andrey Borodin 42695c614f One more compiler warning 2019-11-19 15:33:51 +05:00
Andrey Borodin 960cba4bc9 Silent more compiler warnings 2019-11-19 15:14:51 +05:00
Andrey Borodin 793f9551b0 Fix compiler warning 2019-11-19 14:59:14 +05:00
Andrey Borodin 31a61fd368 Fix db state initialization
fix some problems in #76
2019-11-19 14:55:08 +05:00
Andrey Borodin aaa613ee41 Make some error logging better 2019-11-19 13:22:59 +05:00
Andrey Borodin ef19e5bd74 Remove db_state from route 2019-11-18 13:32:03 +05:00
Dima Starkov a8ca664a63 Implements SCRAM Authentication (#73) 2019-11-11 12:28:50 +03:00
lowgear b426f4f301 Add pause/resume admin console commands[fork of tomlikestorock's PR] (#66) 2019-11-11 11:37:09 +03:00
Andrey Borodin e053d76b16 Use only one TLS context per machine
Previously we recreated TLS context. This could cause extre files being
read during TLS handshake.
2019-11-11 10:31:52 +03:00
reshke 885a70ced3 Add client host to default log (#74) 2019-11-06 13:45:22 +03:00
Andrey Borodin 2cebe76ff3 Add libpam-dev to dependencies 2019-10-15 18:18:52 +03:00
Andrey Borodin 298cdca895
Implement client_max_routing (#72) 2019-10-15 17:15:37 +03:00
Andrey Borodin d5ba841106 Limit global max_clients before doing tls handshake 2019-10-11 13:33:28 +05:00
Дима Старков 0cdfb20923 Local development inside docker 2019-10-08 11:15:37 +05:00
Dmitry Simonenko 76b64c7401 odyssey: minor fixes 2019-09-28 17:42:29 +03:00
Dmitry Simonenko 1645a55d09 odyssey: set pam response ptr to NULL on error 2019-09-28 17:27:34 +03:00
Dmitry Simonenko c6542d7003 odyssey: post merge fixes 2019-09-27 16:47:45 +03:00
Dmitry Simonenko d84da24dc7
Merge pull request #68 from reshke/add_pam_service_support
Add PAM auth support
2019-09-27 15:57:44 +03:00
reshke debfd09d8e Add PAM auth support 2019-09-26 13:54:53 +05:00
Andrey Borodin 373764fa4f Use automatic formatting
I've tried to make formatting as close to current as possible
Usage:
find . -regex '.*.(cpp|hpp|cu|c|h)' -exec clang-format -style=file -i {} ;
2019-09-19 18:00:07 +05:00
Andrey Borodin 7681160dd1 Avoid private inclusion (fix #67) 2019-08-23 09:45:35 +05:00
Dmitry Simonenko 2c1e05d5d6 machinarium: fix channel/event_mgr timeout race 2019-08-11 15:08:55 +03:00
Dmitry Simonenko 6f018e48e5 odyssey: rework connection retry logic for too many connections case 2019-08-10 21:03:41 +03:00
Dmitry Simonenko feb97828c6 odyssey: post merge fixes and refactoring 2019-08-10 19:30:45 +03:00
Dmitry Simonenko 332dbe7e16
Merge pull request #60 from gms80/master
* Corrected SEGFAULT in case of non-existent user in auth_query
2019-08-10 19:02:46 +03:00
Dmitry Simonenko 1dc7f58c73 odyssey: fix warning and misc fixes 2019-08-08 17:39:13 +03:00
Andrey Borodin ee02f48c65 Use 53300 for too many connections 2019-07-31 17:47:54 +05:00
Dmitry Simonenko 9041b2b475
Merge pull request #63 from x4m/test_sleeplock
Add few sleeplock test
2019-07-31 13:04:36 +03:00
Andrey Borodin 13bd4f1998 Fix slow test 2019-07-31 14:56:45 +05:00
Andrey Borodin 4619365642 Use milliseconds for test measurements 2019-07-31 14:48:28 +05:00
Andrey Borodin 52fc083a30 Measure test time 2019-07-31 14:40:04 +05:00
Andrey Borodin 770e242e72 Add few sleeplock test 2019-07-31 14:17:46 +05:00
Dmitry Simonenko b7885c32ca
Merge pull request #62 from x4m/ubsan
Make UBSan happy
2019-07-26 15:11:50 +03:00
Andrey Borodin 3ef85db4f4 Use proper const for 'too many connections' 2019-07-26 11:11:07 +03:00
Andrey Borodin ac146d81de Unlock route in when read stop error happens 2019-07-24 15:42:29 +03:00
Andrey Borodin 8c6439ce4c Make UBSan happy 2019-07-23 18:06:46 +05:00
Michael Goryainov 7713e08f41 Moved od_getpeername() call to auth.c 2019-07-17 13:07:34 +03:00
Andrey Borodin b293d820e5 Check od_io_read_stop() return code during size-limited pool wait 2019-07-11 17:49:19 +03:00
Dmitry Simonenko 19dbc5e76f odyssey: minor fixes 2019-07-06 17:40:48 +03:00
Andrey Borodin c7c075fb53 Fix to error detection code in check for too many connections 2019-06-28 12:01:21 +05:00
Andrey Borodin 6a3c1f78f7 Implement router retry timeout 2019-06-27 17:24:44 +05:00