Clone this repo:
  1. d09dc9a Release v4.9.4 by Samuel Thibault · 9 days ago master v4.9.4
  2. 5661343 ip_input: update hlen on ip_reass by Artem Dinaburg · 9 days ago
  3. de252cb ip6_input: Trim mbuf to ip6-announced length by Samuel Thibault · 9 days ago
  4. 0dc4c98 Fix reporting oob output by Samuel Thibault · 3 weeks ago
  5. 7c63245 Note about the security contact by Samuel Thibault · 8 weeks ago

libslirp

libslirp is a user-mode networking library used by virtual machines, containers or various tools.

Getting Started

Prerequisites

A C compiler, meson and glib2 development libraries.

(see also .gitlab-ci.yml DEPS variable for the list of dependencies on Fedora)

Building

You may build and install the shared library with meson:

meson build
ninja -C build install

And configure QEMU with --enable-slirp=system to link against it.

(QEMU may build with the submodule static library using --enable-slirp=git)

Testing

Unfortunately, there are no automated tests available.

You may run QEMU -net user linked with your development version.

Contributing

Feel free to open issues on the project issues page.

You may clone the gitlab project and create a merge request.

Contributing with gitlab allows gitlab workflow, tracking issues, running CI etc.

Alternatively, you may send patches to slirp@lists.freedesktop.org mailing list.

Security reports can be sent to samuel.thibault@ens-lyon.org with pgp key 900CB024B67931D40F82304BD0178C767D069EE6 (it can be found in the debian keyring for instance)

Debugging

To make slirp emit debugging prints, one can use for instance:

export G_MESSAGES_DEBUG=Slirp
export SLIRP_DEBUG=call

SLIRP_DEBUG can contain a colons/spaces/commas-separated list of call, misc, error, tftp, verbose_call

Versioning

We intend to use libtool's versioning for the shared libraries and use SemVer for project versions.

For the versions available, see the tags on this repository.

License

See the COPYRIGHT file for details.