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

Rc add zfw calls #1000

Open
wants to merge 24 commits into
base: release-1.x
Choose a base branch
from
Open

Rc add zfw calls #1000

wants to merge 24 commits into from

Conversation

r-caamano
Copy link
Member

This pull request adds system calls to zfw for the purpose allowing bi-directional transparency. I allows user to specify diverter function either via command line argument or environmental variable with command line taking precedence. ```-D, diverter or ZITI_DIVERTER =. I also added a more restrictive option which in addition to transparency support also provides full firewall filtering -f, --diverter-fw | DIVERTER_FIREWALL=. It assumes zfw binaries/ebpf objects are in /opt/openziti/bin by default but can be modified via environmental variable ZFW_OBJECT_PATH=.

…opt/openziti/bin directly vs pointing at symbolic link in /usr/sbn
…ent service so zfw can then remove the link route
…d rules and dns range rules if running in -f, --diverterFw mode
…er or firewall mode/interfaces via environmental variables
… to diverterIf now that it is a list of interfaces
… driver call backs rather than direct ip route system call
@r-caamano r-caamano requested a review from a team as a code owner October 4, 2024 14:49
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