Debian Bug report logs - #1054297
exabgp can not bind to IP:179

version graph

Package: exabgp; Maintainer for exabgp is Vincent Bernat <[email protected]>; Source for exabgp is src:exabgp (PTS, buildd, popcon).

Reported by: lucas <[email protected]>

Date: Sat, 21 Oct 2023 03:09:02 UTC

Severity: normal

Found in version exabgp/4.2.21-1.1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], Vincent Bernat <[email protected]>:
Bug#1054297; Package exabgp. (Sat, 21 Oct 2023 03:09:04 GMT) (full text, mbox, link).


Acknowledgement sent to lucas <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], Vincent Bernat <[email protected]>. (Sat, 21 Oct 2023 03:09:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: lucas <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: exabgp can not bind to IP:179
Date: Sat, 21 Oct 2023 00:07:12 -0300
Package: exabgp
Version: 4.2.21-1.1
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
     I was trying to establish a BGP sessionbetween two exabgp services,
     sniffing the interface I've noticed that exabgp was sending a RST after the
     TCP SYN, leading me to run `ss -naltp` and not seeing exabgp listening on
     port 179.  After changing the exabgp.tcp.bind from '' to '0.0.0.0' in
     exabgp.env, exabgp was not able to start informing that can not bind to
     0.0.0.0:179 because it was not running as root.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
     I was able to let exabgp service to bind on port 179 adding the following
     lines to /lib/systemd/system/exabgp.service
     ```
     CapabilityBoundingSet=CAP_NET_BIND_SERVICE
     CapabilityBoundingSet=CAP_NET_BIND_SERVICE
     ```
     
   * What was the outcome of this action?
     Exabgp was able to start succesfully binding to 0.0.0.0:179


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: arm64 (aarch64)
Foreign Architectures: armhf

Kernel: Linux 6.1.21-v8+ (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages exabgp depends on:
ii  adduser                    3.137
ii  debconf                    1.5.82
ii  dpkg                       1.22.0
ii  init-system-helpers        1.65.2
ii  lsb-base                   11.6
ii  python3-exabgp             4.2.21-1.1
ii  python3-pkg-resources      68.1.2-2
ii  sysvinit-utils [lsb-base]  3.08-3
ii  ucf                        3.0043+nmu1

exabgp recommends no packages.

exabgp suggests no packages.

-- no debconf information



Information forwarded to [email protected], Vincent Bernat <[email protected]>:
Bug#1054297; Package exabgp. (Sun, 22 Oct 2023 19:51:03 GMT) (full text, mbox, link).


Acknowledgement sent to lucas <[email protected]>, [email protected]:
Extra info received and forwarded to list. Copy sent to Vincent Bernat <[email protected]>. (Sun, 22 Oct 2023 19:51:03 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Lucas da Vila <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: Re: Bug#1054297: exabgp can not bind to IP:179
Date: Sun, 22 Oct 2023 16:41:13 -0300
[Message part 1 (text/plain, inline)]
Sorry, the lines added in /lib/systemd/system/exabgp.service were

```
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_BIND_SERVICE
```

On 21/10/2023 00:07, lucas wrote:
> Package: exabgp
> Version: 4.2.21-1.1
> Severity: normal
> X-Debbugs-Cc: [email protected]
> 
> Dear Maintainer,
> 
> *** Reporter, please consider answering these questions, where appropriate ***
> 
>     * What led up to the situation?
>       I was trying to establish a BGP sessionbetween two exabgp services,
>       sniffing the interface I've noticed that exabgp was sending a RST after the
>       TCP SYN, leading me to run `ss -naltp` and not seeing exabgp listening on
>       port 179.  After changing the exabgp.tcp.bind from '' to '0.0.0.0' in
>       exabgp.env, exabgp was not able to start informing that can not bind to
>       0.0.0.0:179 because it was not running as root.
> 
>     * What exactly did you do (or not do) that was effective (or
>       ineffective)?
>       I was able to let exabgp service to bind on port 179 adding the following
>       lines to /lib/systemd/system/exabgp.service
>       ```
>       CapabilityBoundingSet=CAP_NET_BIND_SERVICE
>       CapabilityBoundingSet=CAP_NET_BIND_SERVICE
>       ```
>       
>     * What was the outcome of this action?
>       Exabgp was able to start succesfully binding to 0.0.0.0:179
> 
> 
> -- System Information:
> Debian Release: trixie/sid
>    APT prefers testing
>    APT policy: (500, 'testing')
> Architecture: arm64 (aarch64)
> Foreign Architectures: armhf
> 
> Kernel: Linux 6.1.21-v8+ (SMP w/4 CPU threads; PREEMPT)
> Kernel taint flags: TAINT_CRAP
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages exabgp depends on:
> ii  adduser                    3.137
> ii  debconf                    1.5.82
> ii  dpkg                       1.22.0
> ii  init-system-helpers        1.65.2
> ii  lsb-base                   11.6
> ii  python3-exabgp             4.2.21-1.1
> ii  python3-pkg-resources      68.1.2-2
> ii  sysvinit-utils [lsb-base]  3.08-3
> ii  ucf                        3.0043+nmu1
> 
> exabgp recommends no packages.
> 
> exabgp suggests no packages.
> 
> -- no debconf information
[OpenPGP_signature.asc (application/pgp-signature, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu May 15 16:16:59 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.