]> git.ipfire.org Git - ipfire-2.x.git/commit
rpcbind: Update to version 1.2.7
authorAdolf Belka <adolf.belka@ipfire.org>
Sun, 19 Jan 2025 22:08:42 +0000 (23:08 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 22 Feb 2025 13:07:41 +0000 (13:07 +0000)
commita570834644df9592c7393751e97f8be89287c1ff
treea3837c3bf312c4534523b969f30f6cdd23052d9c
parent1afe952c39698e1d5dfa395a491da951667846e8
rpcbind: Update to version 1.2.7

- Update from versio0n 1.2.6 to 1.2.7
- Update of rootfile
- Changelog
    1.2.7
rpcinfo: try connecting using abstract address.
    rpcinfo doesn't use library calls to set up the address for rpcbind.  So
    to get to it try the new abstract address, we need to explicitly
    teach it how.
Listen on an AF_UNIX abstract address if supported.
    As RPC is primarily a network service it is best, on Linux, to use
    network namespaces to isolate it.  However contacting rpcbind via an
    AF_UNIX socket allows escape from the network namespace.
    If clients could use an abstract address, that would ensure clients
    contact an rpcbind in the same network namespace.
    systemd can pass in a listening abstract socket by providing an '@'
    prefix.  However with libtirpc 1.3.3 or earlier attempting this will
    fail as the library mistakenly determines that the socket is not bound.
    This generates unsightly error messages.
    So it is best not to request the abstract address when it is not likely
    to work.
    A patch to fix this also proposes adding a define for
    _PATH_RPCBINDSOCK_ABSTRACT to the header files.  We can check for this
    and only include the new ListenStream when that define is present.
autotools/systemd: call rpcbind with -w only on enabled warm starts
    If rpcbind is configured with --disable-warmstarts it responds on -w
    with its usage string. This is not helpful in a systemd service, so pass
    -w conditionally.
rpcbind: fix double free in init_transport
    $ rpcbind -h 127.0.0.1
    free(): double free detected in tcache 2
    Aborted

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/rpcbind