Rivoreo Source Code Repositories
src.rivoreo.one
/
net
/
rncn-node
/
5e80da22666d6aa7ea652c6f30199a6c219f967a
/
support.sh
5e80da2
Make DNS server port configurable per node; change configuration file format for the DNS server to allow local overrides for configuration updates
by WHR
· 9 weeks ago
81986fc
Don't configure IP addresses 10.10.10.10 and 10.0.0.10 on boot
by WHR
· 9 weeks ago
67b7c50
Create directory '/var/log/sniproxy' for sniproxy(8)
by WHR
· 9 weeks ago
8553e8d
update default dns in sni-proxy
by JohnnySun
· 9 weeks ago
c47cd7a
Don't replace '/etc/sniproxy.conf' again if it has already being replaced with the custom version
by WHR
· 9 weeks ago
26add95
Don't reference nonexisting table 'https_hosts' in 'sniproxy.conf'
by WHR
· 9 weeks ago
6feec0a
Enable sniproxy service on 'enable-services'
by WHR
· 9 weeks ago
16aca56
Fix missing configuration loading of 'run_sniproxy'
by WHR
· 9 weeks ago
428a75f
Add TCP MSS clamping rule in ip6tables
by WHR
· 9 weeks ago
0b42732
add 10.100.253.0/23 to protocol direct in bird config
by Johnny Sun
· 9 weeks ago
2a7d0f2
Ignore error for nonexisting /etc/ssh/ssh_known_hosts
by WHR
· 9 weeks ago
fc893d2
rm(1) /etc/systemd/system/ip6tables.service before trying to write it
by WHR
· 9 weeks ago
d1ebf97
Write configured SSH host keys of other nodes into /etc/ssh/ssh_known_hosts
by WHR
· 10 weeks ago
92822d5
Install ip6tables service and rules as appropriate
by WHR
· 10 weeks ago
e4489b3
Don't try to enable service 'rncn-dns-updater' if 'dns_config_update_url' isn't set
by WHR
· 10 weeks ago
6e78e05
Avoid installing package 'libc-devtools' that may be recommended by 'libc6-dev'
by WHR
· 10 weeks ago
22498eb
Merge duplicated code
by WHR
· 10 weeks ago
c0c94de
Optionally install and configure sniproxy(8)
by WHR
· 10 weeks ago
221c150
Don't try to install git, since the program didn't have a strong dependency to it, and in usual cases it would already have installed when this script runs
by WHR
· 10 weeks ago
fc8976b
Install noinet6.so for disabling IPv6 support for dynamically linked programs
by WHR
· 10 weeks ago
8b064e8
Check presence of BSD ping source code when initializing node state
by WHR
· 2 months ago
2893f2f
Add optinal wireguard-periodic-rebind-port service
by WHR
· 2 months ago
535568a
Explicitly disable ICMP redirect messages on WireGuard interfaces
by WHR
· 3 months ago
f8df105
Make monitor pinging timings configurable, and add minimal wait time to monitor pinging cycle
by WHR
· 3 months ago
0c2e3fc
No longer need to write multiple servers into /etc/resolv.conf, because using output DNAT worked much better
by WHR
· 3 months ago
597fc5b
Use DEFAULT_FALLBACK_NAME_SERVER as a fallback value for fallback_name_server
by WHR
· 3 months ago
71ceed8
Install dpkg-dev to provide dpkg-architecture(1)
by WHR
· 3 months ago
8f8db13
Load configuration for subcommand 'enable-services'
by WHR
· 3 months ago
f0acf2f
Optionally install wireguard-peer-resolver
by WHR
· 3 months ago
1ff248d
Move configuration directive 'wg_private_key' into a separate section
by WHR
· 3 months ago
9dd3ac9
Run 'systemctl daemon-reload' before enabling any service
by WHR
· 3 months ago
a4c9e0e
Install no-vm-drop-caches.service
by WHR
· 3 months ago
af662a3
Don't print logo if the login shell was started by sudo(1)
by WHR
· 3 months ago
8af024d
Install BSD ping man page as ping.bsd(8), and create a symbolic link 'ping4.bsd' to 'ping.bsd'
by WHR
· 3 months ago
c9651e7
Install BSD ping and prefer it in rncn-link-status-monitor.sh
by WHR
· 3 months ago
4a8e4ed
Don't print UTF-8 encoded characters on a 'linux' terminal
by WHR
· 3 months ago
a8b9ffa
Don't override 'PS1' variable from '/etc/profile'
by WHR
· 3 months ago
3f5d0fb
Workaround for zsh(1) didn't source '/etc/profile' on login
by WHR
· 3 months ago
b39f9c8
Run-time decide whether to print UTF-8 version or ANSI color version of the logo
by WHR
· 3 months ago
a68d5e3
Install bifsocket.so and bifcsocket.so for binding sockets to specified interface in dynamically linked programs
by WHR
· 3 months ago
8a47efe
Implement 'enable-services' subcommand
by WHR
· 3 months ago
6eaacfb
Optionally configure time zone
by WHR
· 3 months ago
9b215a1
'dnsutils' is a transitional package, install 'bind9-dnsutils' instead; install 'bind9-host' since it is needed somewhere
by WHR
· 3 months ago
dbb32bd
default install dnsutils
by JohnnySun
· 3 months ago
7b75af8
Add an iptables(8) mangle rule to clamp TCP MSS on tunnel interfaces; write an iperf3.service that bind(2)s to RNCN address
by WHR
· 3 months ago
9198489
Recognize 'iptables-legacy.service' and 'iptables-nft.service' as valid unit names for iptables service
by WHR
· 3 months ago
5e668f8
explicitly set accept_ra for default interface
by JohnnySun
· 3 months ago
c65febe
Always add NAT rule for fallback name server
by WHR
· 3 months ago
cbd6151
Fix typo
by WHR
· 3 months ago
867df00
optmize sysctl network buffer config and link-status-monitor quick init
by JohnnySun
· 3 months ago
09b6902
disable default route ra on rncn
by JohnnySun
· 3 months ago
ec3478f
try to reduce LSA change
by JohnnySun
· 3 months ago
f3fcbf7
Don't upgrade installed packages and don't install recommended packages from installing most packages
by WHR
· 3 months ago
19fc1b6
Explicitly enable IPv6 forwarding on WireGuard interfaces
by WHR
· 3 months ago
5f2ddc0
bugfix for default export-to-ospf-filter
by JohnnySun
· 3 months ago
ce7c56c
set all external router as ospf E1
by JohnnySun
· 3 months ago
2c32485
Fix missing semicolon in BIRD configuration
by WHR
· 3 months ago
eb35484
Export routes with adjusted metric for newly added fallback route advertisement entries to OSPF
by WHR
· 3 months ago
25c1ab5
Update the unicode logo
by WHR
· 4 months ago
21bd74f
Use variable 'default_route_interface' instead of hardcoded 'eth0' for ip6tables(8) rules
by WHR
· 4 months ago
436f78a
Determine default route only if its metric is 0
by WHR
· 4 months ago
f535c64
Fix an invalid regular expression used in function configure_pam_sshd
by WHR
· 4 months ago
5c77b27
add default value for peer_${current_peer}_metric_offset
by JohnnySun
· 4 months ago
b8ad466
add peer_metric_offset support
by JohnnySun
· 4 months ago
b9611df
Install our MOTD
by WHR
· 4 months ago
68e4575
Make sure the 'install' and 'enable-services' actions are performed by super user
by WHR
· 4 months ago
7942580
Fix a syntax error in date(1) command line
by WHR
· 4 months ago
cf47df3
Dynamically decide whether to advertise route for RNCN DNS addresses from the lookback interface, since these addresses are now being configured dynamically since commit 29b0c74b88d254a81eb403d7d5e0f2b416c35a71
by WHR
· 4 months ago
f984e2a
Don't redownload 'Country.mmdb' if it was recently downloaded
by WHR
· 4 months ago
eade880
Fix matching line for /etc/locale.gen
by WHR
· 4 months ago
a7ab129
Fix typo
by WHR
· 4 months ago
29b0c74
Automatically configure and deconfigure corresponding alias interfaces of 'lo' with rncn-dns service
by WHR
· 4 months ago
6b7d0d2
Add a default fallback name server to provide name resolution services before RNCN is fully up
by WHR
· 4 months ago
193d12d
install rncn_dns before write_resolv_conf
by JohnnySun
· 4 months ago
75359a7
Fix exit status of [(1) inadvertently being inherited by function write_resolv_conf
by WHR
· 4 months ago
57f5f9e
Make replacing resolv.conf optional; optionally add a fallback name server in resolv.conf
by WHR
· 4 months ago
bff56b3
Configure locales support
by WHR
· 4 months ago
274e929
Ignore sysctl(8) failure
by WHR
· 4 months ago
66cc7fe
Replace /etc/sysctl.conf and /etc/resolv.conf as necessary
by WHR
· 4 months ago
5ae32c6
Fix rncn-link-status-monitor.sh failed to generate new /etc/bird/bird.conf if old one didn't exist
by WHR
· 4 months ago
74451c9
Install systemd unit files rncn-bird-link-status-monitor.service and rncn-bird-ra-updater.service
by WHR
· 4 months ago
57122ae
Run chmod(1) on newly created WireGuard configuration file explictly
by WHR
· 4 months ago
462647b
Correct variable name
by WHR
· 4 months ago
1e3a448
Fix reversed argument order for some uses of function append_unique_line
by WHR
· 4 months ago
7589b4f
Rework installing logic of RNCN DNS
by WHR
· 4 months ago
740928d
Remove media unlock server
by WHR
· 4 months ago
6fd9e15
Make configuration directive 'ipv6_default_router' optional
by WHR
· 4 months ago
d027f6e
Install iptables service and rules
by WHR
· 4 months ago
f41de72
Make configration of in-kernel host name optional
by WHR
· 4 months ago
21799b9
Don't modify /etc/hosts unnecessarily; change hostname immediately after updating related configuration files
by WHR
· 4 months ago
82b6e83
Enable ECMP in OSPF
by JohnnySun
· 4 months ago
3019c8b
Automatically modify some system configuration files
by WHR
· 4 months ago
09d55aa
Don't redownload mihomo executable file if it already exist
by WHR
· 4 months ago
7531a9b
Fix wireguard interface missing 'rncn-' prefix
by WHR
· 4 months ago
87e66f4
Initial work to separate configuration data out of source code
by WHR
· 4 months ago