aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* stun actor: add back log message to inform of autodiscovery resultdocker-7stun-keep-valuesAlex Auvolat2024-01-161-0/+10
|
* stun actor: if no address is found but an address existed <15m ago, keep itAlex Auvolat2024-01-162-9/+28
|
* refactor stun_actorAlex Auvolat2024-01-161-43/+42
|
* dockerfile: update rust versionAlex Auvolat2024-01-162-1/+2
|
* Merge pull request 'public IP address autodiscovery' (#20) from stun into mainAlex2023-04-2117-1038/+2732
|\ | | | | | | Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/diplonat/pulls/20
| * match numeric protocol valuesstunAlex Auvolat2023-04-201-2/+6
| |
| * debugAlex Auvolat2023-04-201-1/+4
| |
| * better error handlingAlex Auvolat2023-04-202-20/+41
| |
| * Remove ACME options from testsAlex Auvolat2023-04-052-8/+0
| |
| * Remove ACME config, not used as we are doing ACME in Tricot nowAlex Auvolat2023-04-053-40/+3
| |
| * IPv6-only modeAlex Auvolat2023-04-056-54/+127
| |
| * parse private_ip earlierAlex Auvolat2023-04-045-24/+25
| |
| * Remove .rustfmt.toml and move to standard rustfmt format (4 spaces)Alex Auvolat2023-04-0414-869/+787
| |
| * cargo fmtAlex Auvolat2023-04-044-23/+36
| |
| * Add STUN actor that saves autodiscovered IPv4/IPv6 to ConsulAlex Auvolat2023-04-0414-318/+2024
|/
* Merge pull request 'firewall: open ports in ipv6 as well as ipv4 (using ↵Alex2023-04-041-23/+28
|\ | | | | | | | | | | ip6tables)' (#19) from fw-ipv6 into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/diplonat/pulls/19
| * firewall: open ports in ipv6 as well as ipv4 (using ip6tables)fw-ipv6Alex Auvolat2023-04-041-23/+28
|/
* Merge pull request 'CI: make rustfmt work in nix' (#17) from ci-fmt into mainAlex2022-12-021-5/+7
|\ | | | | | | Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/diplonat/pulls/17
| * CI: make rustfmt work in nixci-fmtAlex Auvolat2022-12-021-5/+7
|/
* Merge pull request 'Make repoa Nix flake' (#16) from nix-flake into mainAlex2022-12-0113-273/+2295
|\ | | | | | | Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/diplonat/pulls/16
| * Merge branch 'consul-tls' into nix-flakeAlex Auvolat2022-12-011-1/+2
| |\
| | * Default value for skip tls parameterAlex Auvolat2022-12-011-1/+2
| | |
| * | Make repo a nix flakeAlex Auvolat2022-12-015-19/+2130
| |/
| * Add possibility to skip tls verification for consulconsul-tlsAlex Auvolat2022-08-243-15/+37
| |
| * Update Rust version in docker buildAlex Auvolat2021-12-301-2/+2
| |
| * Add TLS support for ConsulAlex Auvolat2021-12-307-252/+140
| |
* | Add license in the readmeQuentin Dufour2022-04-231-0/+4
| |
* | Add the AGPLv3 licenseQuentin Dufour2022-04-231-0/+661
|/
* Merge pull request 'Allow Diplonat to automatically detect it's private IP' ↵adrien2021-12-2811-423/+383
|\ | | | | | | | | | | (#12) from autodetect-private-ip into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/diplonat/pulls/12
| * repaired test, now that private IP is an Optionautodetect-private-ipadrien2021-12-281-10/+6
| |
| * Allow Diplonat to automatically detect it's private IPAlex Auvolat2021-12-2510-413/+377
|/
* Merge pull request 'Extensively use rustfmt' (#11) from quality/rustfmt into ↵Quentin2021-09-2013-67/+149
|\ | | | | | | | | | | main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/diplonat/pulls/11
| * Use the official rust imageQuentin Dufour2021-09-201-1/+2
| |
| * Fix the CONTRIBUTING doc for the new formattingquality/rustfmtQuentin Dufour2021-09-201-6/+17
| |
| * Stricter Rust formating rules and build in the CIQuentin Dufour2021-09-2012-62/+132
|/
* Merge pull request 'added rustfmt, a guide about this, and a CI job to ↵Quentin2021-09-1716-344/+467
|\ | | | | | | | | | | enforce code quality' (#10) from adrien/diplonat:meta/formating into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/diplonat/pulls/10
| * added a line to CI to actually install rustfmt on the runneradrien2021-09-111-0/+1
| |
| * added rustfmt: a rustfmt.toml file diescribing syntax (soft tabs of 2 ↵adrien2021-09-1116-344/+466
|/ | | | 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
* Merge pull request 'Environment parsing done with Serde Envy' (#5) from ↵Quentin2021-08-1911-80/+368
|\ | | | | | | | | | | adrien/diplonat:feature/config-handling into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/diplonat/pulls/5
| * a last pass to remove warnings from my codeLUXEY Adrien2021-08-162-3/+6
| |
| * environment.rs successfully replaced with new config/ configuration loader. ↵LUXEY Adrien2021-08-167-78/+34
| | | | | | | | No API changes, more tests, cleaner code: life is swell.
| * New configuration parsing using envy. Added minimal functionnality forLUXEY Adrien2021-08-167-10/+339
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge pull request 'Edited README: declare system dependency to a TLS ↵adrien2021-08-161-0/+5
|\ \ | |/ |/| | | | | | | library' (#4) from adrien/diplonat:main into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/diplonat/pulls/4
| * edited README: declare system dependency to a TLS libraryLUXEY Adrien2021-08-141-0/+5
|/
* change image nameHEADmasterdarkgallium2020-07-131-1/+1
|
* Merge pull request 'Automatically manage firewall rules (iptables) for ↵Quentin2020-07-0410-38/+334
|\ | | | | | | | | | | services' (#1) from add-firewall-rules into master Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/diplonat/pulls/1
| * corrections after reviewdarkgallium2020-07-042-35/+40
| |
| * ensure chain jump is added only onceadd-firewall-rulesdarkgallium2020-06-286-19/+12
| |
| * update README & Dockerfiledarkgallium2020-06-284-15/+17
| |
| * add actor for firewall & massive refactordarkgallium2020-05-246-32/+129
| |