Gentoo Archives: gentoo-user

From: Alec Ten Harmsel <alec@××××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Download of source for file-5.22 blocked by firewall?
Date: Wed, 21 Jan 2015 14:01:38
Message-Id: 54BFB13B.3070304@alectenharmsel.com
In Reply to: Re: [gentoo-user] Download of source for file-5.22 blocked by firewall? by Tanstaafl
1 On 01/21/2015 08:51 AM, Tanstaafl wrote:
2 > From the sync output:
3 >
4 >>>> Downloading
5 > 'http://mirror.datapipe.net/gentoo/distfiles/file-5.22.tar.gz'
6 > --2015-01-21 08:49:43--
7 > http://mirror.datapipe.net/gentoo/distfiles/file-5.22.tar.gz
8 > Resolving mirror.datapipe.net... 64.27.65.115
9 > Connecting to mirror.datapipe.net|64.27.65.115|:80... connected.
10 > HTTP request sent, awaiting response... 404 Not Found
11 > 2015-01-21 08:49:43 ERROR 404: Not Found.
12 >
13 >>>> Downloading 'ftp://ftp.gw.com/mirrors/pub/unix/file/file-5.22.tar.gz'
14 > So, why the 'ERROR 404: Not Found'?
15 >
16 > It then falls back to ftp? But the ports it tries to use change every time?
17 >
18 > On 1/21/2015 7:38 AM, Tanstaafl <tanstaafl@×××××××××××.org> wrote:
19 >> Hi all,
20 >>
21 >> Ok, new one to me...
22 >>
23 >> I'm performing some updates after a hiatus of a couple of months, and
24 >> the second package to be installed was file-5.22.
25 >>
26 >> I have my firewall locked down pretty tight, controlling even outbound
27 >> access, and when portage tries to download the source for this file it
28 >> is being blocked by the firewall:
29 >>
30 >> kernel: [6185615.878195] (fw>): IN= OUT=enp2s0 SRC=###.###.###.###
31 >> DST=38.117.134.18 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=64958 DF PROTO=TCP
32 >> SPT=52338 DPT=65369 WINDOW=14600 RES=0x00 SYN URGP=0
33 >>
34 >> I've never had a problem like this and have had the same firewall rules
35 >> for a very long time.
36 >>
37 >> Here is what I have for portage access:
38 >>
39 >> # allow outbound subversion access for portage / layman
40 >> -A OUTPUT -p tcp -m tcp --dport 443 -j ACCEPT
41 >> -A OUTPUT -p tcp -m tcp --dport 3690 -j ACCEPT
42 >> -A OUTPUT -p tcp -m tcp --dport 56160 -j ACCEPT
43 >> # allow outbound access to git repos
44 >> -A OUTPUT -p tcp -m tcp --dport 9418 -j ACCEPT
45 >>
46 >> Have there been some additions that I need to add? Other ideas why I'm
47 >> unable to update file?
48 >>
49 >> Thanks
50 >>
51 >
52
53 I don't think it's your firewall, I can't download from either of those
54 URLs. Have you ran `emerge --sync` recently? Could be some mirrors have
55 changed or something, who really knows. fwiw sys-apps/file downloads
56 from lug.mtu.edu for me and that works fine.
57
58 Alec

Replies

Subject Author
Re: [gentoo-user] Download of source for file-5.22 blocked by firewall? Tanstaafl <tanstaafl@×××××××××××.org>