mirror of
https://github.com/D-Modem/login.git
synced 2026-11-28 20:38:06 -08:00
The program is dmodem-login (like dmodemd and dmodem-ari), the Go module github.com/D-Modem/login, the site d-modem.github.io/login. Its files, units, sockets, PAM service, pppd plugin, environment (DMODEM_LOGIN_*) and nftables tables follow. An old installation keeps working: - make install puts a modemmenu link to dmodem-login, and a modemmenu.so link to the plugin, which also takes its old modemmenu-socket option - the default configuration, users file, state_dir and PAM service fall back to modemmenu's when only those are there (config.Legacy) docs/rename.md (Simplified Technical English) lists the new names and what an old installation must change (the -serve socket, the units, the /etc/modemmenu files, the old nftables tables). CI's bbs job moves a bbs that still imports github.com/D-Modem/menu to the new path. The pppd plugin builds clean with -Wall -Wextra on GCC and Clang. COMMERCIAL-LICENSE.md and CONTRIBUTING.md (legal text) are not changed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRTD8BSptdpaUWGcs65
28 lines
829 B
Plaintext
28 lines
829 B
Plaintext
# /etc/dmodem-login/dnsmasq.conf: the dial-up callers' DNS server, run by
|
|
# dmodem-login-dns.service in their VRF. [ppp_pool] dns (ms-dns) points
|
|
# callers here. A DNS server only: no DHCP (PPP's IPCP gives the
|
|
# addresses).
|
|
|
|
# on the callers' side only (dialup.conf's SERVER_ADDR), never the host's
|
|
# own networks
|
|
listen-address=100.120.224.1
|
|
bind-interfaces
|
|
pid-file=/run/dmodem-login-dns.pid
|
|
|
|
# upstream: these, not the host's resolv.conf (its 127.0.0.53 is not in
|
|
# the VRF)
|
|
no-resolv
|
|
server=9.9.9.9
|
|
server=1.1.1.1
|
|
domain-needed
|
|
bogus-priv
|
|
cache-size=1000
|
|
|
|
# names of this system: bbs.dialup and the like, answered here only
|
|
local=/dialup/
|
|
address=/bbs.dialup/100.120.224.1
|
|
|
|
# the overrides for the services we provide: every *.conf here
|
|
# (services.conf, and a file per front end)
|
|
conf-dir=/etc/dmodem-login/dns.d/,*.conf
|