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 systemd-resoved listener #582

Merged

Commits on Feb 12, 2022

  1. Add ebpf based dns lookup hooks

    When using DoT or DoH opensnitch cannot intercept the dns packets.
    Therfore the UI always shows IP addresses instead of hostnames. To fix
    this issue an ebpf (uprobe) filter was created to hook getaddrinfo and
    gethostbyname calls.
    
    In order to be independent of libbcc an additional module was added to
    ebpf_prog. Without libbcc the libc function offsets must be resolved
    manually. In order to find the loaded glibc version some cgo code was
    added.
    calesanz committed Feb 12, 2022
    Configuration menu
    Copy the full SHA
    32965e2 View commit details
    Browse the repository at this point in the history