IRCNow

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
openbsd:hardening [2020/06/03 08:33]
net_wayfarer Incomplete rewrite process for pf section.
openbsd:hardening [2020/06/03 09:12]
net_wayfarer Replaced wget command with ftp.
Line 38: Line 38:
 #      A list of mirrors can be found at https://​www.openbsd.org/​ftp.html. #      A list of mirrors can be found at https://​www.openbsd.org/​ftp.html.
 echo "​https://​cdn.openbsd.org/​pub/​OpenBSD"​ > /​etc/​installurl echo "​https://​cdn.openbsd.org/​pub/​OpenBSD"​ > /​etc/​installurl
-#      Alternatively, if wget is installed, one can scrape an up-to-date list of HTTPS mirrors using the +#      Alternatively,​ one can scrape an up-to-date list of HTTPS mirrors using the following typed 
-#      ​following typed method, and must uncomment at least one of the following https:// prefixed lines. +#      method, and must uncomment at least one of the following https:// prefixed lines. 
-wget "​https://​www.openbsd.org/​build/​mirrors.dat" ​-O - | grep -e "​^GC"​ -e "​^UHS"​ | uniq | sed '​s/​^GC/​\#​\#/;​s/​^UHS/​\#​\#/'​ | tee /​etc/​installurl 2>&1 >/​dev/​null+ftp -o - "​https://​www.openbsd.org/​build/​mirrors.dat" ​2>/​dev/​null ​| grep -e "​^GC"​ -e "​^UHS"​ | uniq | sed '​s/​^GC/​\#​\#/;​s/​^UHS/​\#​\#/'​ | tee /​etc/​installurl 2>&1 >/​dev/​null
 # #
 ##################################################################​ ##################################################################​