Date: Tue, 14 Jul 2020 11:29:59 +0200 (CEST) From: Ronald Klop <ronald-lists@klop.ws> To: freebsd-ports@freebsd.org Subject: Forbidden access on http://pkg.freebsd.org/FreeBSD:13:amd64/ Message-ID: <1558374543.95.1594718999822@localhost> References: <5f0d64d4.1398b3.36875857@rpi3>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, I had a nice script which periodically checks if there are updates for the pkgs. Since last night it gets a "Forbidden" status asking for the directory listing. Is this on purpose? And what is the best way to check if there are updates as a non-root user? Regards, Ronald. Van: Cron Daemon <ronald@rpi3> Datum: dinsdag, 14 juli 2020 09:55 Aan: ronald@klop.ws Onderwerp: Cron <ronald@rpi3> bin/verify_site.sh "amd64_pkgs" "http://pkg.freebsd.org/FreeBSD:13:amd64/" > > fetch: http://pkg.freebsd.org/FreeBSD:13:amd64/: Forbidden > > > From owner-freebsd-ports@freebsd.org Tue Jul 14 09:38:48 2020 Return-Path: <owner-freebsd-ports@freebsd.org> Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 36BF835C3C1 for <freebsd-ports@mailman.nyi.freebsd.org>; Tue, 14 Jul 2020 09:38:48 +0000 (UTC) (envelope-from lwhsu.freebsd@gmail.com) Received: from mail-yb1-f196.google.com (mail-yb1-f196.google.com [209.85.219.196]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B5b7B1ksSz4QCB for <freebsd-ports@freebsd.org>; Tue, 14 Jul 2020 09:38:46 +0000 (UTC) (envelope-from lwhsu.freebsd@gmail.com) Received: by mail-yb1-f196.google.com with SMTP id y13so7887043ybj.10 for <freebsd-ports@freebsd.org>; Tue, 14 Jul 2020 02:38:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1UTMeSUe/NoMhbkIphtTbMx78meFiMJnxVkF5peoaZo=; b=sn4Ga/Kwr0ZnLAVq2RDmmcDhWDX5r+xnRunaXHigWbLNEurB6ASFJAWKafKAv3gpzN ns39TmQdkzBefs5UvH+GpPPc88zt+evfm9DLn+seuyLik+ibXzaMZfhYzOL2ALaV99bw rVPQl1xWrfCwLGkVjAaAIqVTCsOOBpw6SFVB5n5SPq0kT6Sj+p285q1q5y+sLMOZrOV2 69HiGiq2XwZWhpDteRsXtH18G8i6tbn7FIuMvTsZvDTxUK4lhUc8AHrb3YCeqF6d9Mm8 37gn/8QlnyxSVq1P5ECcLsm3BH+gxQ3SRBjMl6vwrkw6QPDMH0oC2hYpRshK3GtF3Fw3 GDMg== X-Gm-Message-State: AOAM532g49h32oE2cEgZ/VtCDkjazzc6U5jepVbiklfRJfGrgCMPXzrR SMxjz5tWZj3hIuBJ1H1E8T0i8CGySW1dx+e6ZBCNJLQU0No= X-Google-Smtp-Source: ABdhPJxefKUvndzNm64Mu3+q11pDpji2UCkltQ8hs62MdWWEWF6l3tWeDkCDV0tc7AozdKxIzoskBeGTzHH++dmKKaI= X-Received: by 2002:a25:30d5:: with SMTP id w204mr6650818ybw.405.1594719525069; Tue, 14 Jul 2020 02:38:45 -0700 (PDT) MIME-Version: 1.0 References: <5f0d64d4.1398b3.36875857@rpi3> <1558374543.95.1594718999822@localhost> In-Reply-To: <1558374543.95.1594718999822@localhost> From: Li-Wen Hsu <lwhsu@freebsd.org> Date: Tue, 14 Jul 2020 17:38:33 +0800 Message-ID: <CAKBkRUy4hNky0bfNSpJo9jafW13Dnqxt9MwocGbN=0f-Dpww5g@mail.gmail.com> Subject: Re: Forbidden access on http://pkg.freebsd.org/FreeBSD:13:amd64/ To: Ronald Klop <ronald-lists@klop.ws> Cc: freebsd-ports@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4B5b7B1ksSz4QCB X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of lwhsufreebsd@gmail.com designates 209.85.219.196 as permitted sender) smtp.mailfrom=lwhsufreebsd@gmail.com X-Spamd-Result: default: False [-1.35 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.975]; URL_IN_SUBJECT(1.00)[pkg.freebsd.org]; FROM_NEQ_ENVFROM(0.00)[lwhsu@freebsd.org,lwhsufreebsd@gmail.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; RCVD_TLS_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_LONG(-1.04)[-1.035]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.34)[-0.343]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[209.85.219.196:from]; FORGED_SENDER(0.30)[lwhsu@freebsd.org,lwhsufreebsd@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.219.196:from]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; MIME_TRACE(0.00)[0:+]; TAGGED_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-ports>, <mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports/> List-Post: <mailto:freebsd-ports@freebsd.org> List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-ports>, <mailto:freebsd-ports-request@freebsd.org?subject=subscribe> X-List-Received-Date: Tue, 14 Jul 2020 09:38:48 -0000 I think the better way is mimicking the pkg fetching https://pkg.freebsd.org/FreeBSD:13:amd64/latest/packagesite.txz and parse the content in it. There are some discussions at https://github.com/FreshPorts/freshports/issues/142 which might be useful. Li-Wen On Tue, Jul 14, 2020 at 5:30 PM Ronald Klop <ronald-lists@klop.ws> wrote: > > Hi, > > I had a nice script which periodically checks if there are updates for the pkgs. > Since last night it gets a "Forbidden" status asking for the directory listing. > > Is this on purpose? > And what is the best way to check if there are updates as a non-root user? > > Regards, > Ronald. > > > Van: Cron Daemon <ronald@rpi3> > Datum: dinsdag, 14 juli 2020 09:55 > Aan: ronald@klop.ws > Onderwerp: Cron <ronald@rpi3> bin/verify_site.sh "amd64_pkgs" "http://pkg.freebsd.org/FreeBSD:13:amd64/" > > > > fetch: http://pkg.freebsd.org/FreeBSD:13:amd64/: Forbidden > > > > > > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1558374543.95.1594718999822>