Files
makronix/docs/reference/npf-default.conf
T
lotherkandClaude Sonnet 5.5 840782e24c sysinst, media, tests: desktop defaults, four CDs, Portuguese, AHCI test VMs
- sysinst simple mode: sshd on with root login by password, npf firewall,
  mDNS (mdnsd, nsswitch), PulseAudio, CUPS, dbus; extra programs from N
  package CDs (extras.c); cgd root fix (mnt2_mounted)
- Portuguese (pt_BR) catalogs and patch 0013; welcome text for DVD/CDs
- media: console=auto (0008), RAM-disk installer with two CDs (0012),
  package CDs and DVD packages (cd3.sh), userland.sh for the build VM
- tests: line-by-line checks, mDNS pattern, UEFI Enter loop, VMSH_AHCI
  (QEMU 11.1.2 loses PIIX IDE interrupts under load)
- docs: UPDATING.md, npf-default.conf, AGENTS.md updates

Measured 2026-11-07: simple 37 PASS, DVD+sources 42 PASS, cgd BIOS 35 PASS;
cgd UEFI with console=auto not green yet.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 21:09:35 +00:00

33 lines
993 B
Plaintext

# Makronix: nothing comes in that was not asked for.
#
# The file sysinst writes (overlay/usr.sbin/sysinst/setup.c, write_npf_conf);
# this copy is for reading and for `npfctl validate' (NetBSD 11.99.9).
# Everything this computer starts is let out and the replies come back
# (stateful); the network set-up (DHCP, IPv6 neighbour and router discovery),
# ping, ssh and mDNS work. Edit /etc/npf.conf and run `/etc/rc.d/npf reload'.
# See npf.conf(5).
alg "icmp"
group default {
pass final on lo0 all
# out: everything, with the replies
pass stateful out final all
# DHCP replies (a broadcast, so no state) and IPv6 set-up
pass in final proto udp from any port 67 to any port 68
pass final family inet6 proto ipv6-icmp all
# ping
pass stateful in final family inet4 proto icmp all
# remote login
pass stateful in final proto tcp to any port ssh
# mDNS and DNS-SD (mdnsd): the multicast announcements, port 5353
pass in final proto udp to any port 5353
block in final all
}