1 |
On Wed, Feb 28, 2018 at 01:25:27AM +0000, Grant Edwards wrote |
2 |
> Is there any way for me to "blacklist" a pool rsync server so that |
3 |
> emerge --sync won't try to use it? |
4 |
|
5 |
How about an iptables rule to block the bad address? BTW... |
6 |
|
7 |
[d531][waltdnes][~] nslookup rsync.us.gentoo.org |
8 |
Server: 192.168.123.254 |
9 |
Address: 192.168.123.254#53 |
10 |
|
11 |
Non-authoritative answer: |
12 |
Name: rsync.us.gentoo.org |
13 |
Address: 128.61.111.10 |
14 |
Name: rsync.us.gentoo.org |
15 |
Address: 128.61.111.8 |
16 |
Name: rsync.us.gentoo.org |
17 |
Address: 208.100.4.53 |
18 |
Name: rsync.us.gentoo.org |
19 |
Address: 156.56.247.193 |
20 |
Name: rsync.us.gentoo.org |
21 |
Address: 216.165.129.134 |
22 |
Name: rsync.us.gentoo.org |
23 |
Address: 141.219.155.230 |
24 |
Name: rsync.us.gentoo.org |
25 |
Address: 129.21.171.72 |
26 |
Name: rsync.us.gentoo.org |
27 |
Address: 134.161.116.17 |
28 |
Name: rsync.us.gentoo.org |
29 |
Address: 128.61.111.7 |
30 |
Name: rsync.us.gentoo.org |
31 |
Address: 128.61.111.9 |
32 |
Name: rsync.us.gentoo.org |
33 |
Address: 2607:f128:1:3::2 |
34 |
Name: rsync.us.gentoo.org |
35 |
Address: 2620:8d:8000:15:225:90ff:fefd:344c |
36 |
Name: rsync.us.gentoo.org |
37 |
Address: 2001:48a8:11:97d::84:84 |
38 |
|
39 |
An easy solution is to hard-code one working IP address in /etc/hosts |
40 |
as rsync.us.gentoo.org |
41 |
|
42 |
/etc/portage/repos.conf/gentoo.conf has the "sync-uri". Is it legal |
43 |
to specify something like... |
44 |
|
45 |
sync-uri = rsync://128.61.110.10/gentoo-portage |
46 |
|
47 |
-- |
48 |
Walter Dnes <waltdnes@××××××××.org> |
49 |
I don't run "desktop environments"; I run useful applications |