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 13:52:03
Message-Id: 54BFAEFC.8000301@libertytrek.org
In Reply to: [gentoo-user] Download of source for file-5.22 blocked by firewall? by Tanstaafl
1 From the sync output:
2
3 >>> Downloading
4 'http://mirror.datapipe.net/gentoo/distfiles/file-5.22.tar.gz'
5 --2015-01-21 08:49:43--
6 http://mirror.datapipe.net/gentoo/distfiles/file-5.22.tar.gz
7 Resolving mirror.datapipe.net... 64.27.65.115
8 Connecting to mirror.datapipe.net|64.27.65.115|:80... connected.
9 HTTP request sent, awaiting response... 404 Not Found
10 2015-01-21 08:49:43 ERROR 404: Not Found.
11
12 >>> Downloading 'ftp://ftp.gw.com/mirrors/pub/unix/file/file-5.22.tar.gz'
13
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 >

Replies

Subject Author
Re: [gentoo-user] Download of source for file-5.22 blocked by firewall? Alec Ten Harmsel <alec@××××××××××××××.com>