• Bug#1099871: chkrootkit: some issues with ifpromisc

    From Richard Lewis@21:1/5 to Peter Marschall on Sun Apr 20 15:40:01 2025
    On Fri, 14 Mar 2025 at 20:38, Peter Marschall <peter@adpm.de> wrote:
    On Donnerstag, 13. März 2025 20:36:21 Mitteleuropäische Normalzeit Richard Lewis wrote:
    On Sun, 9 Mar 2025, 07:51 Peter Marschall, <peter@adpm.de> wrote:

    it would be good if the output of `ifpromisc`
    would be sorted - at least for the non-EXPERT case.

    I am working on a patch to ifpromisc.c to sort the output so you would get

    interfaces in alphabetical order (and maybe: for each interface, sort
    the sniffers alphabetically and then by pid)

    This wont be done for trixie. For now, see below.

    --- [ BEGIN: diff -u /var/log/chkrootkit/log.expected /var/log/chkrootkit/log.today ] ---
    --- /var/log/chkrootkit/log.expected 2025-02-16 07:56:57.219215812 +0100 +++ /var/log/chkrootkit/log.today 2025-03-10 12:37:31.287903279 +0100 @@ -169,8 +165,8 @@

    -virbr0: not promisc and no packet sniffer sockets
    virbr1: not promisc and no packet sniffer sockets
    +virbr0: not promisc and no packet sniffer sockets

    as an interim, you could have the FILTER do a sed
    s/^virbr[0-9]+/virbrN/ and the result would be stable

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)