Open woffs opened 2 years ago
RejectPlaintextPorts generates each port on an extra line in config, but manual says it should be one line:
RejectPlaintextPorts port,port,...
services.tor.settings.RejectPlaintextPorts = [ 23 80 ];
leads to two lines in torrc
RejectPlaintextPorts 23 RejectPlaintextPorts 80
and the warning
[warn] Option 'RejectPlaintextPorts' used more than once; all but the last value will be ignored.
resulting in Port 23 not being rejected
"x86_64-linux"
Linux 5.10.79, NixOS, 21.05.4116.46251a79f75 (Okapi)
yes
nix-env (Nix) 2.3.16
"nixos-21.05.4116.46251a79f75"
/nix/var/nix/profiles/per-user/root/channels/nixos
The typed configuration for services.tor.settings should just go away.
services.tor.settings
Issue description
RejectPlaintextPorts generates each port on an extra line in config, but manual says it should be one line:
Steps to reproduce
leads to two lines in torrc
and the warning
resulting in Port 23 not being rejected
Technical details
"x86_64-linux"
Linux 5.10.79, NixOS, 21.05.4116.46251a79f75 (Okapi)
yes
yes
nix-env (Nix) 2.3.16
"nixos-21.05.4116.46251a79f75"
/nix/var/nix/profiles/per-user/root/channels/nixos