Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add acl tests #47

Merged
merged 3 commits into from
May 12, 2023
Merged

add acl tests #47

merged 3 commits into from
May 12, 2023

Conversation

holygrolli
Copy link
Contributor

this adds (basic) tests to the ACLs. I have limited Golang skills, did my best.
This confirms the last commit b20546a made the ACL decisions work as expected.

@mosajjal mosajjal merged commit 1d0932d into mosajjal:v2 May 12, 2023
mosajjal added a commit that referenced this pull request May 13, 2023
* v2 mvp

* minor changes and fixes

* fixed the timer on geoip, added loglevel

* added cidr acl

* Update install.sh

* minor yq fixes

* better acl docs and var names

* allow individual binds for different services

* added ability to generate default config yaml

* clearer parameters in geoip configs

* cleaner installer wizard

* added version info in build

* removed extra whitespace

* ACL overhaul

* tweaked release parameters

* converted defaultconfig to boolean

* removed unused doh client

* doh fixes

* change override log to debug

* doq connects back to the correct upstream

* bugfixes in dns and ACL

* moved back to zerolog and pretty logging

* more fixes in logging format

* fix in debug logging of DoQ

* minor changes in cidr acl logic

* add acl tests (#47)

* add acl tests

* moved yaml configs to the test file

* added back previous tests and fixed the run function

---------

Co-authored-by: Ali Mosajjal <hi@n0p.me>

* acl stringifier

* minor docs changes in the install.sh script

---------

Co-authored-by: Andreas Groll <10852221+holygrolli@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants