Skip to content
Snippets Groups Projects

Add support for AF_INET(6) sockets via --socket-address=IP:PORT

Open sistason requested to merge inet_support into master

I'd like to use unix addresses (for in-container use)

Signed-off-by: Sistason c3infra@sistason.de

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • sistason requested review from @julian

    requested review from @julian

  • assigned to @sistason

  • My idea of the existing options is to use --socket-path for testing and --socket-fd in conjunction with systemd socket units for anything other than testing. With systemd socket units is is already possible to bind a TCP socket.

    I'd like to use unix addresses (for in-container use)

    Since uffd-socketmapd already supports UNIX sockets natively and you're proposing to add support for TCP sockets, that does not really make sense.

    So, what's your use-case and why is using a systemd socket unit not an option?

  • In a small docker container running python, possibly in Alpine, there is no systemd. I run the python file and nothing else.

    Therefore, I want this script to open the socket, so the container is as simple as it gets.

Please register or sign in to reply
Loading