Skip to content

ProxyPair structure should save socket inodes #127

Description

@dma

Current procsnitch lookup works, but subject to losing information about short lived connections.

  • The socket inode #s should be saved when oz TCP port forward clients connect, and removed when disconnect, though there may be reason to keep the information longer than the life of the connection, perhaps a ring buffer
  • This ensures that every connection is recorded by oz-daemon, even if it is lost immediately.
  • The procsnitch lookup should rely on the inode first. Inodes for sockets can be retrieved via INET_DIAG.
  • This will result in a more efficient lookup by fw-daemon, the connection monitor, and elsewhere (see Implement experimental socket monitoring via INET_DIAG netlink interface go-procsnitch#6)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions