feat: login rate limiting, network drivers in initfs
P2-2: Login rate limiting (userutils/login.rs): - Tracks consecutive failures, resets on success - 3+ failures: exponential delay up to 30 seconds - Applies to both password and blank-password login paths P2-3: Network stack in initfs (base-initfs + service files): - Added e1000d, rtl8168d to base-initfs BINS - 60_smolnetd.service: network stack in initfs - 61_dhcpd.service: DHCP client in initfs - Network available before switch_root Part of COMPREHENSIVE-FIX-AND-IMPROVEMENT-PLAN Phases P2.
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/userutils.git"
|
||||
patches = [
|
||||
"../../../local/patches/userutils/redox.patch",
|
||||
]
|
||||
patches = ["P4-login-rate-limit.patch"]
|
||||
|
||||
[build]
|
||||
template = "custom"
|
||||
@@ -10,5 +8,6 @@ script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_cargo
|
||||
cp -rv "${COOKBOOK_SOURCE}/res" "${COOKBOOK_STAGE}/etc"
|
||||
rm -f "${COOKBOOK_STAGE}/etc/motd"
|
||||
ln -s id "${COOKBOOK_STAGE}/usr/bin/whoami"
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user