8237bc45e8
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.
14 lines
317 B
TOML
14 lines
317 B
TOML
[source]
|
|
git = "https://gitlab.redox-os.org/redox-os/userutils.git"
|
|
patches = ["P4-login-rate-limit.patch"]
|
|
|
|
[build]
|
|
template = "custom"
|
|
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"
|
|
"""
|