Commit graph

75 commits

Author SHA1 Message Date
846c4344aa firewall: open ports in ipv6 as well as ipv4 (using ip6tables)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2023-04-04 13:33:54 +02:00
eba95c9b28 Merge pull request 'CI: make rustfmt work in nix' (#17) from ci-fmt into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #17
2022-12-02 11:38:34 +00:00
75aa6405f2
CI: make rustfmt work in nix
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-12-02 12:36:55 +01:00
f306e8dc8d Merge pull request 'Make repoa Nix flake' (#16) from nix-flake into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #16
2022-12-01 16:51:20 +00:00
f8431271d9
Merge branch 'consul-tls' into nix-flake
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-12-01 17:50:46 +01:00
2a910c7af2
Default value for skip tls parameter
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
2022-12-01 17:49:57 +01:00
04528d1e60
Make repo a nix flake
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-12-01 17:38:04 +01:00
e7f6c15bc1
Add possibility to skip tls verification for consul
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
2022-08-24 18:22:00 +02:00
862e8ce876
Add license in the readme
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2022-04-23 11:58:34 +02:00
5483db8dd4
Add the AGPLv3 license
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2022-04-23 11:57:06 +02:00
730c9049ad
Update Rust version in docker build 2021-12-30 20:49:48 +01:00
04bdd029fe
Add TLS support for Consul 2021-12-30 20:42:56 +01:00
4560622fa1 Merge pull request 'Allow Diplonat to automatically detect it's private IP' (#12) from autodetect-private-ip into main
Reviewed-on: #12
2021-12-28 11:56:12 +01:00
7760b9c58f repaired test, now that private IP is an Option 2021-12-28 10:43:10 +01:00
3b9e75634a
Allow Diplonat to automatically detect it's private IP 2021-12-25 19:23:18 +01:00
4d4d453afa Merge pull request 'Extensively use rustfmt' (#11) from quality/rustfmt into main
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Reviewed-on: #11
2021-09-20 16:06:02 +02:00
68cb4d5482
Use the official rust image
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-09-20 16:01:42 +02:00
fd3a153103
Fix the CONTRIBUTING doc for the new formatting
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-09-20 15:18:49 +02:00
7d478d9976
Stricter Rust formating rules and build in the CI
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-09-20 15:13:16 +02:00
2bbc910999 Merge pull request 'added rustfmt, a guide about this, and a CI job to enforce code quality' (#10) from adrien/diplonat:meta/formating into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #10
2021-09-17 10:06:51 +02:00
bf226d077e added a line to CI to actually install rustfmt on the runner
All checks were successful
continuous-integration/drone/pr Build is passing
2021-09-11 16:38:09 +02:00
f720070905 added rustfmt: a rustfmt.toml file diescribing syntax (soft tabs of 2 spaces), a CONTRIBUTING.md file to explain how to use rustfmt, a .drone.yml file to add code style checks in CI, 2 lines in README.md to present CONTRIBUTING.md, and applied rustfmt on the source
Some checks failed
continuous-integration/drone/pr Build is failing
2021-09-11 16:34:03 +02:00
fa25c54e47 Merge pull request 'Environment parsing done with Serde Envy' (#5) from adrien/diplonat:feature/config-handling into main
Reviewed-on: #5
2021-08-19 08:32:53 +02:00
8b57fb2680 Merge pull request 'Edited README: declare system dependency to a TLS library' (#4) from adrien/diplonat:main into main
Reviewed-on: #4
2021-08-16 11:45:45 +02:00
LUXEY Adrien
0f114f2134 a last pass to remove warnings from my code 2021-08-16 11:34:42 +02:00
LUXEY Adrien
644e707956 environment.rs successfully replaced with new config/ configuration loader. No API changes, more tests, cleaner code: life is swell. 2021-08-16 11:19:16 +02:00
LUXEY Adrien
ae9550ce23 New configuration parsing using envy. Added minimal functionnality for
the future ACME parameters. Tests written and passing.

WIP: added envy dependncy and ConfigOpts structs that will constitute Diplonat's configuration

WIP: ConfigOpts from_env() and validate() methods written. No API change (the env names remain unchanged)! Now need to use our new ConfigOpts struct instead of Environment, and update references to the environment variables in the code.

WIP: RuntimeConfig with business logic done. Tests written, but they are all running from the same process - setting environment variables in each test produces incoherent results. Another solution for testing is needed.

WIP: tests are fully written using 'from_iter' and all passing
2021-08-16 10:26:06 +02:00
LUXEY Adrien
41b4786f78 edited README: declare system dependency to a TLS library 2021-08-14 18:08:48 +02:00
ade0090cdb change image name 2020-07-13 19:34:04 +02:00
7ec74a21d4 Merge pull request 'Automatically manage firewall rules (iptables) for services' (#1) from add-firewall-rules into master
Reviewed-on: #1
2020-07-04 17:16:21 +02:00
darkgallium
4f4b6b048d corrections after review 2020-07-04 17:01:27 +02:00
darkgallium
a59ed38121 ensure chain jump is added only once 2020-06-28 19:05:36 +02:00
darkgallium
6fe86469ee update README & Dockerfile 2020-06-28 17:01:12 +02:00
darkgallium
d2ae084fc1 add actor for firewall & massive refactor 2020-05-24 20:40:49 +02:00
darkgallium
a2d2582098 add better error handling 2020-05-24 18:15:33 +02:00
darkgallium
2dbf9da005 changing backend to use the cleaner ipt bindings
updating dependencies

minor fixes
2020-05-24 18:14:24 +02:00
darkgallium
1a9199011d first basic support for adding nft rules 2020-05-24 18:09:22 +02:00
5dd4544360 Dockerize app 2020-05-23 16:29:02 +02:00
3e2ea02d62 Working IGD 2020-05-23 15:38:08 +02:00
941942aeda WIP igd actor 2020-05-22 22:01:27 +02:00
c8742b1f14 Connecting elements 2020-05-22 19:21:11 +02:00
e1d0eadb9d WIP software 2020-05-22 18:41:13 +02:00
deeecd93e1 Rewrite for clarity 2020-05-22 18:13:32 +02:00
5fafc1cb64 Handle UDP/TCP 2020-05-22 16:27:43 +02:00
ec777652c1 Better retry mechanism 2020-05-22 15:19:49 +02:00
28b661aa47 Fix tag format 2020-05-22 14:31:44 +02:00
453b1c684e Working parsing 2020-05-22 14:17:48 +02:00
4cebe77b6f Consul Actor basic logic works 2020-05-22 12:29:55 +02:00
efbbc17f82 WIP consul actor 2020-05-22 12:25:44 +02:00
fe1d91fe06 WIP consul 2020-05-22 11:34:12 +02:00