Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • libslirp libslirp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 20
    • Issues 20
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • slirpslirp
  • libslirplibslirp
  • Merge requests
  • !23

forward to unix socket/remove guestfwd

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Renzo Davoli requested to merge rd235/libslirp:fwd_unix/remove_guestfwd into master Dec 30, 2019
  • Overview 7
  • Commits 4
  • Pipelines 1
  • Changes 5

This merge proposal adds two useful features for the VDE projects (and not only).

  • forward to UNIX socket. (slirp_add_unix) It is similar to slirp_add_exec but instead of spawning a command it opens a UNIX stream socket. It is useful for example to allow X clients running on a VM or in a namespace to use the X-window server of the host. e.g. the diversion of 10.0.2.4:6000 to /tmp/.X11-unix/X0 allows all clients using -display 10.0.2.4:0 to run their graphical interface on the X-server :0 on the host

  • remove (guest addr) forward services: While slirp_remove_hostfwd removes a forward service activated by slirp_add_hostfwd, slirp_add_exec and slirp_add_guestfwd (and the new slirp_add_unix) do not have a remove function. The proposed patch adds the function "slirp_remove_guestfwd".

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fwd_unix/remove_guestfwd