Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Download of source for file-5.22 blocked by firewall? Neil Bothwick <neil@××××××××××.uk>