• Bug#1109017: merecat don't listen on a bridge interface

    From Marc Chantreux@21:1/5 to All on Wed Jul 9 18:40:01 2025
    Package: merecat
    Version: 2.31+git20220513+ds-5
    Severity: normal

    hi Joost,

    I setup a bridge on my debian machine so I can run qemu on it so
    my network setup script changed from this one:

    --- the old one ---------------------------------------------------------
    link set eth0 up
    dhclient eth0 -------------------------------------------------------------------------

    to this one

    --- the new one --------------------------------------------------------- #!/bin/sh -uex

    # 02:XX:XX:XX:XX:XX is for private mac addrs
    # eth0 is wired to the internet box
    # (router, dhcp server and port forwarding)

    <<% ip -b -
    link add name br0 type bridge
    link set br0 address 02:00:00:00:00:00
    link set eth0 master br0
    link set eth0 up
    link set br0 up
    %
    dhclient br0 -------------------------------------------------------------------------

    I restarted all the services and everything (ssh, git, ....) is fine but merecat.

    /etc/merecat.conf:hostname is commented so merecat should listen on all interfaces and doas ss -lp |grep http tells me:

    tcp LISTEN 0 1024 *:http *:*

    yet, merecat answers only on lo. I started digging in the code but I
    have no patch to provide for now.

    regards
    Mar