[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1002706: linux-image-5.10.0-10-amd64: nftables stateless NAT in raw table mangles fragmented UDP packets



Package: src:linux
Version: 5.10.84-1
Severity: important

Dear Maintainer,


We have using kernel linux-image-5.10.0-10-amd64 and nftables(0.9.8-3.1)
for a stateless NAT GW. We are using the nftables "raw" tables to
replace statically source and destination addresses for pakets
traversing the host with two nftables map.

If fragmented UDP packets are traversing the gateway the second fragment
gets modified at the location where in a non fragmented packet the UDP
checksum would be located.

On the Sample below the packet content at 0x1a-0x1b was changes from
0x61 0x61 to 0xba 0x9e 


nft list ruleset:

table ip raw {
    map M_publicip_in {
        type ipv4_addr : ipv4_addr
        elements = { 100.64.1.1 : 10.1.2.3 }

    }

    map M_publicip_out {
        type ipv4_addr : ipv4_addr
        elements = { 10.1.2.3 : 100.64.1.1 }
    }

    chain PREROUTING {
        type filter hook prerouting priority -300; policy accept;

        jump publicip_out
        jump publicip_in
    }

    chain publicip_out {
        ip saddr set ip saddr map @M_publicip_out accept
    }

    chain publicip_in {
        ip daddr set ip daddr map @M_publicip_in accept
    }
}



Pre NAT sample:

root@debian:~# tcpdump -l  -i eth0 -nvvvx
tcpdump: listening on eth0, link-type EN10MB (Ethernet), snapshot length
262144 bytes
21:50:15.314671 IP (tos 0x0, ttl 64, id 3756, offset 0, flags [+], proto
UDP (17), length 1500)
    10.2.1.1.45866 > 100.64.1.1.9999: UDP, length 2013
    0x0000:  4500 05dc 0eac 2000 4011 d621 0a02 0101
    0x0010:  6440 0101 b32a 270f 07e5 0016 4865 6c6c
    0x0020:  6f2c 2057 6f72 6c64 2161 6161 6161 6161
    0x0030:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0040:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0050:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0060:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0070:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0080:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0090:  6161 6161 6161 6161 6161 6161 6161 6161
    0x00a0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x00b0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x00c0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x00d0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x00e0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x00f0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0100:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0110:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0120:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0130:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0140:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0150:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0160:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0170:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0180:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0190:  6161 6161 6161 6161 6161 6161 6161 6161
    0x01a0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x01b0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x01c0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x01d0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x01e0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x01f0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0200:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0210:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0220:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0230:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0240:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0250:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0260:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0270:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0280:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0290:  6161 6161 6161 6161 6161 6161 6161 6161
    0x02a0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x02b0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x02c0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x02d0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x02e0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x02f0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0300:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0310:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0320:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0330:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0340:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0350:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0360:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0370:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0380:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0390:  6161 6161 6161 6161 6161 6161 6161 6161
    0x03a0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x03b0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x03c0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x03d0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x03e0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x03f0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0400:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0410:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0420:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0430:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0440:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0450:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0460:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0470:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0480:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0490:  6161 6161 6161 6161 6161 6161 6161 6161
    0x04a0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x04b0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x04c0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x04d0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x04e0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x04f0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0500:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0510:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0520:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0530:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0540:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0550:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0560:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0570:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0580:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0590:  6161 6161 6161 6161 6161 6161 6161 6161
    0x05a0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x05b0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x05c0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x05d0:  6161 6161 6161 6161 6161 6161
21:50:15.314687 IP (tos 0x0, ttl 64, id 3756, offset 1480, flags [none],
proto UDP (17), length 561)
    10.2.1.1 > 100.64.1.1: ip-proto-17
    0x0000:  4500 0231 0eac 00b9 4011 f913 0a02 0101
    0x0010:  6440 0101 6161 6161 6161 6161 6161 6161
    0x0020:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0030:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0040:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0050:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0060:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0070:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0080:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0090:  6161 6161 6161 6161 6161 6161 6161 6161
    0x00a0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x00b0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x00c0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x00d0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x00e0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x00f0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0100:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0110:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0120:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0130:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0140:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0150:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0160:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0170:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0180:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0190:  6161 6161 6161 6161 6161 6161 6161 6161
    0x01a0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x01b0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x01c0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x01d0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x01e0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x01f0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0200:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0210:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0220:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0230:  61


Post NAT:

21:49:32.999088 IP (tos 0x0, ttl 63, id 87, offset 0, flags [+], proto
UDP (17), length 1500)
    10.2.1.1.46549 > 10.1.2.3.9999: UDP, length 2013
    0x0000:  4500 05dc 0057 2000 3f11 3eb4 0a02 0101
    0x0010:  0a01 0203 b5d5 270f 07e5 56a8 4865 6c6c
    0x0020:  6f2c 2057 6f72 6c64 2161 6161 6161 6161
    0x0030:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0040:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0050:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0060:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0070:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0080:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0090:  6161 6161 6161 6161 6161 6161 6161 6161
    0x00a0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x00b0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x00c0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x00d0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x00e0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x00f0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0100:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0110:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0120:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0130:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0140:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0150:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0160:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0170:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0180:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0190:  6161 6161 6161 6161 6161 6161 6161 6161
    0x01a0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x01b0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x01c0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x01d0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x01e0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x01f0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0200:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0210:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0220:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0230:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0240:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0250:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0260:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0270:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0280:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0290:  6161 6161 6161 6161 6161 6161 6161 6161
    0x02a0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x02b0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x02c0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x02d0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x02e0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x02f0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0300:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0310:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0320:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0330:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0340:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0350:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0360:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0370:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0380:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0390:  6161 6161 6161 6161 6161 6161 6161 6161
    0x03a0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x03b0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x03c0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x03d0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x03e0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x03f0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0400:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0410:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0420:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0430:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0440:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0450:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0460:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0470:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0480:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0490:  6161 6161 6161 6161 6161 6161 6161 6161
    0x04a0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x04b0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x04c0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x04d0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x04e0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x04f0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0500:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0510:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0520:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0530:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0540:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0550:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0560:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0570:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0580:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0590:  6161 6161 6161 6161 6161 6161 6161 6161
    0x05a0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x05b0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x05c0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x05d0:  6161 6161 6161 6161 6161 6161
21:49:32.999096 IP (tos 0x0, ttl 63, id 87, offset 1480, flags [none],
proto UDP (17), length 561)
    10.2.1.1 > 10.1.2.3: ip-proto-17
    0x0000:  4500 0231 0057 00b9 3f11 61a6 0a02 0101
    0x0010:  0a01 0203 6161 6161 6161 ba9e 6161 6161
    0x0020:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0030:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0040:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0050:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0060:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0070:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0080:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0090:  6161 6161 6161 6161 6161 6161 6161 6161
    0x00a0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x00b0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x00c0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x00d0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x00e0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x00f0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0100:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0110:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0120:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0130:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0140:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0150:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0160:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0170:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0180:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0190:  6161 6161 6161 6161 6161 6161 6161 6161
    0x01a0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x01b0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x01c0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x01d0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x01e0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x01f0:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0200:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0210:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0220:  6161 6161 6161 6161 6161 6161 6161 6161
    0x0230:  61


Script to reproduce a test environment on a freshly installed debian
bullseye




#!/bin/bash

# ============================================================
# setup nns test
# here traffic for ip 100.64.1.1 will be rewritten to 10.1.2.3
ip netns add test
ip link add eth1 type veth
ip link set dev veth0 netns test name eth0

ip link set dev eth1 up
ip address add 10.2.1.1/30 dev eth1

ip netns exec test ip link set dev eth0 up
ip netns exec test ip address add 10.2.1.2/30 dev eth0

ip route add 100.64.1.1/32 via 10.2.1.2

# Load nftables rules for stateless nat
ip netns exec test /usr/sbin/nft -f test.nft


# ============================================================
# setup nns test2
# here the ip adress 10.1.2.3 is bound
ip netns add test2
ip netns exec test2 ip link add eth0 type veth
ip netns exec test2 ip link set dev veth0 netns test name eth1
ip netns exec test2 ip link set dev eth0 up
ip netns exec test2 ip address add 10.1.2.3/28 dev eth0

ip netns exec test ip link set dev eth1 up
ip netns exec test ip address add 10.1.2.1/28 dev eth1


# =================
# Enable forwarding
# =================
/sbin/sysctl net.ipv4.conf.all.forwarding=1
ip netns exec test /sbin/sysctl net.ipv4.conf.all.forwarding=1
ip netns exec test2 /sbin/sysctl net.ipv4.conf.all.forwarding=1


Script to send UDP fragmented frame


#!env python3
import socket


byte_message = bytes("Hello, World!" + "a"*2000, "utf-8")

opened_socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
opened_socket.sendto(byte_message, ("100.64.1.1", 9999))






-- Package-specific info:
** Version:
Linux version 5.10.0-10-amd64 (debian-kernel@lists.debian.org) (gcc-10
(Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian)
2.35.2) #1 SMP Debian 5.10.84-1 (2021-12-08)

** Command line:
BOOT_IMAGE=/boot/vmlinuz-5.10.0-10-amd64
root=UUID=953aec3f-1e3e-4de1-a4bb-73f63b069322 ro quiet

** Not tainted

** Kernel log:
Unable to read kernel log; any relevant messages should be attached

** Model information
sys_vendor: innotek GmbH
product_name: VirtualBox
product_version: 1.2
chassis_vendor: Oracle Corporation
chassis_version:
bios_vendor: innotek GmbH
bios_version: VirtualBox
board_vendor: Oracle Corporation
board_name: VirtualBox
board_version: 1.2

** Loaded modules:
binfmt_misc
nft_chain_nat
nf_nat
nf_conntrack
nf_defrag_ipv6
nf_defrag_ipv4
veth
nf_tables
libcrc32c
nfnetlink
intel_rapl_msr
intel_rapl_common
intel_pmc_core_pltdrv
intel_pmc_core
intel_powerclamp
ghash_clmulni_intel
hid_generic
aesni_intel
joydev
libaes
crypto_simd
cryptd
glue_helper
rapl
vmwgfx
usbhid
pcspkr
snd_intel8x0
serio_raw
hid
snd_ac97_codec
ac97_bus
ttm
snd_pcm
snd_timer
sg
evdev
drm_kms_helper
ac
button
snd
vboxguest
soundcore
cec
drm
fuse
configfs
ip_tables
x_tables
autofs4
ext4
crc16
mbcache
jbd2
crc32c_generic
sd_mod
t10_pi
crc_t10dif
sr_mod
cdrom
crct10dif_generic
ata_generic
ohci_pci
ohci_hcd
ahci
ata_piix
libahci
crct10dif_pclmul
crct10dif_common
crc32_pclmul
crc32c_intel
psmouse
libata
ehci_pci
i2c_piix4
ehci_hcd
usbcore
usb_common
e1000
scsi_mod
battery
video

** Network interface configuration:
*** /etc/network/interfaces:

source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

allow-hotplug enp0s3
iface enp0s3 inet dhcp

** Network status:
*** IP interfaces and addresses:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP group default qlen 1000
    link/ether 08:00:27:20:04:fd brd ff:ff:ff:ff:ff:ff
    inet 192.168.50.146/24 brd 192.168.50.255 scope global dynamic enp0s3
       valid_lft 34086sec preferred_lft 34086sec
    inet6 fd85:854e:3608:0:a00:27ff:fe20:4fd/64 scope global dynamic
mngtmpaddr
       valid_lft forever preferred_lft forever
    inet6 2a04:4540:4707:ac00:a00:27ff:fe20:4fd/64 scope global dynamic
mngtmpaddr
       valid_lft 52915sec preferred_lft 52915sec
    inet6 fe80::a00:27ff:fe20:4fd/64 scope link
       valid_lft forever preferred_lft forever
4: eth1@if3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UP group default qlen 1000
    link/ether d2:83:12:90:ad:f7 brd ff:ff:ff:ff:ff:ff link-netns test
    inet 10.2.1.1/30 scope global eth1
       valid_lft forever preferred_lft forever
    inet6 fe80::d083:12ff:fe90:adf7/64 scope link
       valid_lft forever preferred_lft forever

*** Device statistics:
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed
multicast|bytes    packets errs drop fifo colls carrier compressed
    lo:       0       0    0    0    0     0          0         0       
0       0    0    0    0     0       0          0
enp0s3: 8237736   53313    0    0    0     0          0        27  
627338    5299    0    0    0     0       0          0
  eth1:    2406      35    0    0    0     0          0         0   
19479      74    0    0    0     0       0          0


** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC
[Natoma] [8086:1237] (rev 02)
    Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-

00:01.0 ISA bridge [0601]: Intel Corporation 82371SB PIIX3 ISA
[Natoma/Triton II] [8086:7000]
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0

00:01.1 IDE interface [0101]: Intel Corporation 82371AB/EB/MB PIIX4 IDE
[8086:7111] (rev 01) (prog-if 8a [ISA Compatibility mode controller,
supports both channels switched to PCI native mode, supports bus mastering])
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 64
    Region 0: Memory at 000001f0 (32-bit, non-prefetchable) [virtual]
[size=8]
    Region 1: Memory at 000003f0 (type 3, non-prefetchable) [virtual]
    Region 2: Memory at 00000170 (32-bit, non-prefetchable) [virtual]
[size=8]
    Region 3: Memory at 00000370 (type 3, non-prefetchable) [virtual]
    Region 4: I/O ports at d000 [virtual] [size=16]
    Kernel driver in use: ata_piix
    Kernel modules: ata_piix, ata_generic

00:02.0 VGA compatible controller [0300]: VMware SVGA II Adapter
[15ad:0405] (prog-if 00 [VGA controller])
    Subsystem: VMware SVGA II Adapter [15ad:0405]
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 64
    Interrupt: pin A routed to IRQ 18
    Region 0: I/O ports at d010 [size=16]
    Region 1: Memory at e0000000 (32-bit, prefetchable) [size=16M]
    Region 2: Memory at f0000000 (32-bit, non-prefetchable) [size=2M]
    Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
    Kernel driver in use: vmwgfx
    Kernel modules: vmwgfx

00:03.0 Ethernet controller [0200]: Intel Corporation 82540EM Gigabit
Ethernet Controller [8086:100e] (rev 02)
    Subsystem: Intel Corporation PRO/1000 MT Desktop Adapter [8086:001e]
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 64 (63750ns min)
    Interrupt: pin A routed to IRQ 19
    Region 0: Memory at f0200000 (32-bit, non-prefetchable) [size=128K]
    Region 2: I/O ports at d020 [size=8]
    Capabilities: [dc] Power Management version 2
        Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
        Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [e4] PCI-X non-bridge device
        Command: DPERE- ERO+ RBC=512 OST=1
        Status: Dev=ff:1f.0 64bit- 133MHz- SCD- USC- DC=simple
DMMRBC=2048 DMOST=1 DMCRS=8 RSCEM- 266MHz- 533MHz-
    Kernel driver in use: e1000
    Kernel modules: e1000

00:04.0 System peripheral [0880]: InnoTek Systemberatung GmbH VirtualBox
Guest Service [80ee:cafe]
    Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Interrupt: pin A routed to IRQ 20
    Region 0: I/O ports at d040 [size=32]
    Region 1: Memory at f0400000 (32-bit, non-prefetchable) [size=4M]
    Region 2: Memory at f0800000 (32-bit, prefetchable) [size=16K]
    Kernel driver in use: vboxguest
    Kernel modules: vboxguest

00:05.0 Multimedia audio controller [0401]: Intel Corporation 82801AA
AC'97 Audio Controller [8086:2415] (rev 01)
    Subsystem: Dell 82801AA AC'97 Audio Controller [1028:0177]
    Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 64
    Interrupt: pin A routed to IRQ 21
    Region 0: I/O ports at d100 [size=256]
    Region 1: I/O ports at d200 [size=64]
    Kernel driver in use: snd_intel8x0
    Kernel modules: snd_intel8x0

00:06.0 USB controller [0c03]: Apple Inc. KeyLargo/Intrepid USB
[106b:003f] (prog-if 10 [OHCI])
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 64
    Interrupt: pin A routed to IRQ 22
    Region 0: Memory at f0804000 (32-bit, non-prefetchable) [size=4K]
    Kernel driver in use: ohci-pci
    Kernel modules: ohci_pci

00:07.0 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI
[8086:7113] (rev 08)
    Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Interrupt: pin A routed to IRQ 9
    Kernel driver in use: piix4_smbus
    Kernel modules: i2c_piix4

00:0b.0 USB controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW
(ICH6 Family) USB2 EHCI Controller [8086:265c] (prog-if 20 [EHCI])
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 64, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 19
    Region 0: Memory at f0805000 (32-bit, non-prefetchable) [size=4K]
    Kernel driver in use: ehci-pci
    Kernel modules: ehci_pci

00:0d.0 SATA controller [0106]: Intel Corporation 82801HM/HEM
(ICH8M/ICH8M-E) SATA Controller [AHCI mode] [8086:2829] (rev 02)
(prog-if 01 [AHCI 1.0])
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 64
    Interrupt: pin A routed to IRQ 21
    Region 0: I/O ports at d240 [size=8]
    Region 1: I/O ports at d248 [size=4]
    Region 2: I/O ports at d250 [size=8]
    Region 3: I/O ports at d258 [size=4]
    Region 4: I/O ports at d260 [size=16]
    Region 5: Memory at f0806000 (32-bit, non-prefetchable) [size=8K]
    Capabilities: [70] Power Management version 3
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
        Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [a8] SATA HBA v1.0 BAR4 Offset=00000002
    Kernel driver in use: ahci
    Kernel modules: ahci


** USB devices:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


-- System Information:
Debian Release: 11.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-10-amd64 (SMP w/1 CPU thread)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE
not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-image-5.10.0-10-amd64 depends on:
ii  initramfs-tools [linux-initramfs-tool]  0.140
ii  kmod                                    28-1
ii  linux-base                              4.6

Versions of packages linux-image-5.10.0-10-amd64 recommends:
ii  apparmor             2.13.6-10
ii  firmware-linux-free  20200122-1

Versions of packages linux-image-5.10.0-10-amd64 suggests:
pn  debian-kernel-handbook  <none>
ii  grub-pc                 2.04-20
pn  linux-doc-5.10          <none>

Versions of packages linux-image-5.10.0-10-amd64 is related to:
pn  firmware-amd-graphics     <none>
pn  firmware-atheros          <none>
pn  firmware-bnx2             <none>
pn  firmware-bnx2x            <none>
pn  firmware-brcm80211        <none>
pn  firmware-cavium           <none>
pn  firmware-intel-sound      <none>
pn  firmware-intelwimax       <none>
pn  firmware-ipw2x00          <none>
pn  firmware-ivtv             <none>
pn  firmware-iwlwifi          <none>
pn  firmware-libertas         <none>
pn  firmware-linux-nonfree    <none>
pn  firmware-misc-nonfree     <none>
pn  firmware-myricom          <none>
pn  firmware-netxen           <none>
pn  firmware-qlogic           <none>
pn  firmware-realtek          <none>
pn  firmware-samsung          <none>
pn  firmware-siano            <none>
pn  firmware-ti-connectivity  <none>
pn  xen-hypervisor            <none>

-- no debconf information


Reply to: