Commit graph

140 commits

Author SHA1 Message Date
Timo Võhmar
8d46c736d7
Merge pull request #31 from maciej-szlosarczyk/log-memory-usage-every-30-minutes
Log memory usage every 30 minutes
2020-02-26 14:29:28 +02:00
Maciej Szlosarczyk
66a9271db9
Logs memory usage by specific parts of erlang VM at a time
Log format:

```
14:03:28.892 [info] EPP proxy memory usage total: 31.04 MB, processes:
8.60 MB, processes_used: 8.59 MB, system: 22.43 MB, atom: 492.61 KB,
atom_used: 468.70 KB, binary: 893.20 KB, code: 8.16 MB, ets: 1.18 MB.
```
2020-02-26 14:12:08 +02:00
Alex Sherman
bfa599b755
Merge pull request #29 from internetee/dependabot/bundler/apps/epp_proxy/priv/test_backend_app/puma-4.3.1
Bump puma from 4.0.0 to 4.3.1 in /apps/epp_proxy/priv/test_backend_app
2019-12-23 12:31:58 +05:00
dependabot[bot]
4a39e0448c
Bump puma from 4.0.0 to 4.3.1 in /apps/epp_proxy/priv/test_backend_app
Bumps [puma](https://github.com/puma/puma) from 4.0.0 to 4.3.1.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v4.0.0...v4.3.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-23 07:22:57 +00:00
Alex Sherman
ed6ac16dc3
Merge pull request #28 from internetee/dependabot/bundler/apps/epp_proxy/priv/test_backend_app/rack-2.0.8
Bump rack from 2.0.7 to 2.0.8 in /apps/epp_proxy/priv/test_backend_app
2019-12-23 12:22:30 +05:00
dependabot[bot]
9c7eb89bca
Bump rack from 2.0.7 to 2.0.8 in /apps/epp_proxy/priv/test_backend_app
Bumps [rack](https://github.com/rack/rack) from 2.0.7 to 2.0.8.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/2.0.7...2.0.8)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-19 23:15:25 +00:00
Artur Beljajev
df6faaa93e
Merge pull request #27 from internetee/update-readme
Update README.md
2019-10-15 12:43:37 +03:00
Artur Beljajev
868d924da4
Update README.md 2019-10-15 12:41:55 +03:00
Timo Võhmar
3386240002
Merge pull request #26 from maciej-szlosarczyk/handle-commandless-hello
Handle hello that is not nested under command element
2019-10-07 11:32:08 +03:00
Maciej Szlosarczyk
eab9fae50e
Handle hello that is not nested under command element 2019-10-05 10:11:28 +03:00
Georg
0557c850ad
Merge pull request #23 from internetee/increase-epp-client-timeout
Increase EPP client timeout
2019-08-27 11:16:03 +03:00
Artur Beljajev
5e40ced81a Increase EPP client timeout
Fixes #22
2019-08-23 09:12:46 -04:00
Maciej Szlosarczyk
9e7a3d836e
Merge pull request #21 from internetee/disable-crl-check-with-a-feature-flag
When no CRL file is defined, CRL check should be disabled completely
2019-07-31 11:31:29 +03:00
Maciej Szlosarczyk
a1ca280238
When no CRL file is defined, CRL check should be disabled completely 2019-07-31 11:28:35 +03:00
Maciej Szlosarczyk
236a0ed4e4
Merge pull request #19 from internetee/move-records-to-header
Move records to header
2019-07-30 14:00:13 +03:00
Maciej Szlosarczyk
a23e2ab311
Update documentation 2019-07-30 13:50:30 +03:00
Maciej Szlosarczyk
a73f7428fc
Remove some code cuplication 2019-07-30 13:46:55 +03:00
Maciej Szlosarczyk
0e46f52630
Ensure that session cookie is always passed in hello route 2019-07-30 13:41:20 +03:00
Maciej Szlosarczyk
3a1f83cfdd
Update docker configuration as well 2019-07-30 13:17:35 +03:00
Maciej Szlosarczyk
943b2ee6f6
Fix code style 2019-07-30 13:17:35 +03:00
Maciej Szlosarczyk
085b2f8d4a
Add insecure option to allow TLS connection without verification 2019-07-30 13:17:35 +03:00
Maciej Szlosarczyk
0ce33fd7cc
Replace apply(Fun, Args) with a direct module:function(Args) call 2019-07-30 13:17:34 +03:00
Maciej Szlosarczyk
ae478d685d
Merge pull request #18 from internetee/add-logging-of-process-and-ip-address
Add logging of IP address and process number
2019-07-30 10:58:05 +03:00
Maciej Szlosarczyk
9902b5ac72
Add logging of IP address and process number
At the beginning of each client connection, log the IP address along
with Erlang's process number associated with the socket.

This allows us to pinpoint clients who encounter problems and help
them out.
2019-07-30 10:46:11 +03:00
Maciej Szlosarczyk
65d5e6ccc9
Merge pull request #17 from internetee/fix-undefined-command-error
Introduce error 2000
2019-07-29 13:39:42 +03:00
Maciej Szlosarczyk
203e119c2c
Introduce error 2000
When a client sends invalid command to proxy, it should be reported as
error 2000 and sent to registry. We should sent them there regardless
2019-07-29 13:29:37 +03:00
Maciej Szlosarczyk
98483daccd
Merge pull request #16 from internetee/fix-missing-state
Ensure that state has always a session_id
2019-07-29 12:29:05 +03:00
Maciej Szlosarczyk
c7238e60d2
Ensure that state has always a session_id 2019-07-29 12:26:47 +03:00
Maciej Szlosarczyk
036c63b3c6
Merge pull request #15 from internetee/log-handshake-errors
Log handshake errors
2019-07-29 11:30:51 +03:00
Maciej Szlosarczyk
0231aae270
Reformat code 2019-07-29 11:26:50 +03:00
Maciej Szlosarczyk
8afbf22540
Add password for test CA to readme file 2019-07-29 11:20:37 +03:00
Maciej Szlosarczyk
9bd9a67e93
Add more logging for failed SSL handshake 2019-07-29 11:19:11 +03:00
Maciej Szlosarczyk
1e04bff9b2
Revoke a test certificate 2019-07-29 11:18:33 +03:00
Maciej Szlosarczyk
187ebf4213
Update test certificate configuration 2019-07-29 11:07:49 +03:00
Maciej Szlosarczyk
f1bd1f97a5
Revoke webclient certificate 2019-07-29 11:05:22 +03:00
Maciej Szlosarczyk
338490239f
Add inotify-tools to dockerfile
They're used for rebar3 auto tasks that hot-reloads the running code.
2019-07-29 10:04:01 +03:00
Maciej Szlosarczyk
fa9f9e00e4
Merge pull request #13 from internetee/update-readme
Update documentation on releases
2019-07-18 09:33:52 +03:00
Maciej Szlosarczyk
3410843de9
Update documentation on releases 2019-07-18 09:31:34 +03:00
Maciej Szlosarczyk
0bbb0ec11d
Fix readme 2019-07-17 16:31:02 +03:00
Maciej Szlosarczyk
6845d82762
Create appup.src file (#12) 2019-07-17 16:20:07 +03:00
Georg
9473ed382d Deployment dependencies (#10)
* use latest git tag as version

* use git version in .app.src

* include rebar3_appup_plugin

* fix rebar3.config

* random description change

* provide description
2019-07-17 12:59:44 +03:00
Maciej Szlosarczyk
ae2bfd5969
Merge pull request #11 from internetee/send-frame-parameter-as-well
Send frame as request paramater as well
2019-07-17 10:57:38 +03:00
Maciej Szlosarczyk
dff1faf398
Remove duplicate example 2019-07-17 10:55:01 +03:00
Maciej Szlosarczyk
e99733aaf0
Send frame as request paramater as well
Here's what happens: When a client sends simple command without any
values in XML, registry can drop the `raw_frame` parameter
completely. If so, it relies on `frame` parameter being passed on to
create XML document.

https://github.com/internetee/registry/blame/ad823391b75509d5be20ee6ef217aa4f35a4c994/lib/epp_constraint.rb#L14

Fix involves sending the XML string twice, as `frame` and
`raw_frame`, the same as `mod_epp` did.
2019-07-17 10:53:31 +03:00
Maciej Szlosarczyk
f00a17b89f
Merge pull request #9 from internetee/fix-test
Extend the test suite
2019-07-15 21:45:37 +03:00
Maciej Szlosarczyk
f659a1f6c4
Add documentation about the release process 2019-07-15 21:40:57 +03:00
Maciej Szlosarczyk
0eb7caade0
Create releases based on semver 2019-07-15 21:35:21 +03:00
Maciej Szlosarczyk
75ba63c1db
Add release based on short commit and semver tags 2019-07-15 21:25:04 +03:00
Maciej Szlosarczyk
0bcd42d411
Add pidfile to gitignore 2019-07-15 21:24:47 +03:00
Maciej Szlosarczyk
4cb7b998ec
Rerun rebar3 fmt 2019-07-15 14:37:26 +03:00