Distro Repositories

Arch Linux

Arch Linux mirror

Table 1. Distribution’s Upstream Mirror
Attribute Information

Status/ID

1052 (HTTP), 1053 (HTTPS), 1054 (RSYNC)

HTTP

http://arch.mirror.square-r00t.net/

HTTPS

https://arch.mirror.square-r00t.net/

RSYNC

rsync://arch.mirror.square-r00t.net/arch/

Location

Matawan, NJ, USA

Tier

2 (Eligible for inclusion as Tier 1)

IPv4

209.222.21.46

IPv6

2001:19f0:5:149e:5400:ff:fe87:3207

Sync Mirror

rsync://arch.mirror.constant.com/archlinux/

Last sync status file

available here

Sync Script

RepoMirror

Unifi repository

A repository of built packages necessary for installing Unifi (from the AUR). These include:

Automatic setup

To enable this repository automatically, one can simply do:

curl -sL https://unifi.arch.repo.square-r00t.net/addrepo.sh | bash

as the root user.

Warning
Simply piping from the Internet is a very bad idea, especially as the root user (which is what the above requires).
Manual setup

To manually add the repository:

# As root user.
curl -sL -o /tmp/sqrt_key.asc https://unifi.arch.repo.square-r00t.net/PACKAGE_KEY.asc
pacman-key --add /tmp/sqrt_key.asc
pacman-key --lsign 3D1A5E5849EF1CE10E9A7FE89794C5DC796566F8

Then add the following to /etc/pacman.conf:

[unifi]
SigLevel = Required
Server = https://$repo.arch.repo.square-r00t.net/

Finally, run pacman -Syy.

Miscellany repository

A repository of built packages that don’t go in any other repositories. These include:

Automatic setup

To enable this repository automatically, one can simply do:

curl -sL https://sqrt.arch.repo.square-r00t.net/addrepo.sh | bash

as the root user.

Warning
Simply piping from the Internet is a very bad idea, especially as the root user (which is what the above requires).
Manual setup

To manually add the repository:

# As root user.
curl -sL -o /tmp/sqrt_key.asc https://sqrt.arch.repo.square-r00t.net/PACKAGE_KEY.asc
pacman-key --add /tmp/sqrt_key.asc
pacman-key --lsign 3D1A5E5849EF1CE10E9A7FE89794C5DC796566F8

Then add the following to /etc/pacman.conf:

[sqrt]
SigLevel = Required
Server = https://$repo.arch.repo.square-r00t.net/

Finally, run pacman -Syy.

Speed Tests

Several speed testing faculties are available, depending on what protocol you’re looking to use.

iperf

iperf(2)/iperf3 are tools used to test raw throughput of a connection/route. They are advantageous over other speed tests offered because they have very little protocol overhead, allowing you to get a more accurate reading. They also support e.g. UDP transmission/testing.

Note
Your distribution may call the iperf binary "iperf2", or it may call the iperf3 binary "iperf". Be sure to run iperf --version to determine which.

iperf2

I offer an iperf(2) instance (both TCP and UDP, IPv4 and IPv6) running on default ports (5001 TCP/UDP). To perform a TCP test:

iperf -c mirror.square-r00t.net

And for a UDP test:

iperf -c mirror.square-r00t.net -u

iperf3

I offer an iperf3 instance (both TCP and UDP, IPv4 and IPv6) running on default ports (5201 TCP/UDP). To perform a TCP test:

iperf3 -c mirror.square-r00t.net

And for a UDP test:

iperf3 -c mirror.square-r00t.net -u

HTTP(S)

To test via HTTP or HTTPS, you can use one of the following:

Examples

1GB HTTP fetch via curl:

curl -Lo /dev/null http://mirror.square-r00t.net/speedtest/1GB.dat

10MB HTTPS fetch via wget:

wget --output-document=/dev/null https://mirror.square-r00t.net/speedtest/10MB.dat

RSYNC

Rsync can actually provide some helpful statistics. The files can be found at rsync://mirror.square-r00t.net/speed/.

Examples

Test 100MB of data:

rsync --info=progress2 rsync://mirror.square-r00t.net/speed/100MB.dat .
rm -f 100MB.dat

Test 1GB of data with compression

rsync --info=progress2 -z rsync://mirror.square-r00t.net/speed/1GB.dat .
rm -f 1GB.dat

Conctact Information

Email

GPG

Key information here.