6 Commits
Author SHA1 Message Date
Claude 3b86b397ad Rename modemmenu to dmodem-login, the repository to D-Modem/login
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
2026-11-23 05:04:16 +00:00
Claude 13763f2a34 docs: rewrite the dial-up network page in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:28:42 +00:00
Claude 45ab167526 dialup: callers on 100.120.224.0/19, server 100.120.224.1
The pool is 100.120.224.10-100.120.255.254; a pool may now be up to a
/16 (65536 addresses).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRVTwDhoXdaYHRwQ4BT
2026-11-08 15:10:51 +00:00
Claude 18d136c8b5 dialup: callers on 100.77.0.0/24; empty firewall lists load
- the samples' subnet moves to 100.77.0.0/24, in RFC 6598's shared
  address space, which no home or office LAN uses (Tailscale's caveat
  noted)
- an empty ALLOW_CIDRS (the default) or port list left a stray brace in
  the nftables rules, so modemmenu-dialup up failed: the set's elements
  line is now built apart

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRVTwDhoXdaYHRwQ4BT
2026-11-08 14:52:59 +00:00
Claude 3577eeffbe dialup: callers always isolated from each other
Anything from one caller to another (SUBNET) is dropped before
ALLOW_CIDRS is looked at, so no allowed range can open it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRVTwDhoXdaYHRwQ4BT
2026-11-08 13:50:32 +00:00
Claude 06d7aa7734 PPP address pool, isolated dial-up network and DNS overrides
- [ppp_pool]: each PPP caller gets its own address of a range
  ({ppp_local}, {ppp_remote}, {ppp_dns}, {ppp_dns2} and MODEM_PPP_*),
  as flock'd lock files in state_dir/ppp-pool shared by every modemmenu
  and -serve session, so several lines can run PPP at once.  The samples
  move to 10.77.0.0/24 with the pool.
- dialup/: modemmenu-dialup puts the callers' links in a VRF of their
  own, egress by a VLAN, the host's uplink (NAT) or none, with an
  nftables firewall: only the listed service ports of the host, no
  private range (host LANs, other callers) unless ALLOW_CIDRS opens it.
  pppd's ip-up.d/ip-down.d hooks attach each link.
- modemmenu-dns: dnsmasq in the VRF on 10.77.0.1, with overrides from
  /etc/modemmenu/dns.d/*.conf (AIM/ICQ, AOL, MSN, Yahoo names ready).
- make install-dialup, docs/dialup-network.md; confref reads section
  names with underscores.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRVTwDhoXdaYHRwQ4BT
2026-11-08 13:48:06 +00:00