Linux ACL 的本质:模式位不够用时,权限怎么落到 inode
POSIX ACL 不是另一套权限系统,而是在 owner/group/other 之外增加命名用户、命名组和 mask。本文讲清 getfacl/setfacl、mask、默认 ACL、继承、备份和常见坑。
Engineering notes and ranked practice on OpenWrt / Yocto / NVIDIA Tegra and edge AI gateways: understand by reading, grow through practice; traceable, reproducible, bounded.
Practice and exams · routing/bridging/debugging
138 questions cover ip addr / ip link / ip route / bridge, VLANs, policy routing, NAT, raw IP and iPerf3 throughput. Exams grade at the end; practice gives instant feedback.
This is not command memorization; it builds a troubleshooting order: link → bridge → rule → table → route → NAT → capture.
Draw 25 random questions from the 100 / 38 bank; 20 to pass. Submit at the end.
PracticeGrade immediately; previous, skip and jump to any question.
Attention, FFN, positional encoding, training and inference
OpenWrtUCI, netifd, ubus, fw4, ImageBuilder
OpenWrtUCI, netifd, bridge/VLAN, static routes, PPPoE
VLAN802.1Q, PVID, access/trunk, bridge vlan filtering
ACLgetfacl/setfacl, mask, default ACLs, inheritance and backup
prplOS / AMXData model, transactions, NetModel, USP
YoctoLayers, recipes, BitBake, images
PPPoEpppd, LCP, auth, DNS, teardown
iPerf3TCP/UDP, reverse, loss, trustworthy results
POSIX ACL 不是另一套权限系统,而是在 owner/group/other 之外增加命名用户、命名组和 mask。本文讲清 getfacl/setfacl、mask、默认 ACL、继承、备份和常见坑。
VLAN 不是给接口加个数字,而是 802.1Q 标签、端口成员关系和 PVID/untagged 规则。本文讲清 tag、access/trunk、Linux VLAN 接口和 bridge vlan filtering 的内核路径。
以太网是广播多路访问,需要 ARP;点对点只有两个端点,地址可以成对配置,通常不需要 ARP。ip addr 里的 peer 是链路对端,不是路由里的 via 网关。
ip addr 改的不是网卡硬件,而是内核协议栈挂在 net_device 上的地址对象:IPv4 的 in_device/in_ifaddr,IPv6 的 inet6_dev/inet6_ifaddr。地址生效后还会生成 local/connected 路由。
ip rule 指向 table 14,但 table 14 是空的,流量却没有断。原因是查表失败不是丢包:内核会继续匹配下一条 rule,最后落到 main。
从 brlan0 出发:无线 VAP 在桥里,蜂窝 qmapmux0.0 不在桥里;LAN 走三层转发 + SNAT;table 14 为空会 fallback 到 main;raw IP 没有 ARP。附 100 道 ip/bridge 练习。
Subscribe via RSS to get new posts automatically.
Technical questions, feedback and leads: use the guestbook.