Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
flush ruleset
table inet filter {
chain input {
type filter hook input priority filter; policy accept;
ip daddr 127.0.0.2 icmp type echo-request drop
}
}

View File

@@ -0,0 +1,22 @@
#! /usr/bin/env python3
#
# This is a simple reimplementation of the "nft" user-space tool in
# Python, in order to test language bindings. It does not support any
# command line argument supported by the nftables "nft" tool, but
# supports all nftables commands used in the Buildroot runtime test.
import sys
import nftables
nft = nftables.nftables.Nftables()
cmd = " ".join(sys.argv[1:])
ret_code, output, error = nft.cmd(cmd)
if len(output) > 0:
print(output.strip())
if len(error) > 0:
print(error.strip())
sys.exit(ret_code)