NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: bin/47841 (http://ftp.jp.netbsd.org/ fails with weird error)



The following reply was made to PR bin/47841; it has been noted by GNATS.

From: Justin Cormack <justin%specialbusservice.com@localhost>
To: matthew green <mrg%eterna.com.au@localhost>
Cc: gnats-bugs%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
	tsutsui%ceres.dti.ne.jp@localhost
Subject: re: bin/47841 (http://ftp.jp.netbsd.org/ fails with weird error)
Date: Mon, 12 Jan 2015 11:06:53 +0000

 --001a1134da4a017ba3050c72814a
 Content-Type: text/plain; charset=UTF-8
 
 On Jan 12, 2015 2:14 AM, "matthew green" <mrg%eterna.com.au@localhost> wrote:
 >
 >
 > >
 --------------------------------------------------------------------------------
 > > pkg_add: Can't process
 http://ftp.NetBSD.org:80/pub/pkgsrc/packages/NetBSD/amd64
 > > /7.0_BETA/All/pkgin*: Host not found
 > > pkg_add: no pkg found for '
 http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd6
 > > 4/7.0_BETA/All/pkgin', sorry.
 > > pkg_add: 1 package addition failed
 > >
 > > Networking is fine (ipv4 and ipv6), can install everything else from
 > > that host fine, eg source packages and sets. So somehow globbing on
 > > ftp seems broken, possibly only with some web servers.
 > >
 > > However it is ok using ftp.allbsd.org, so it is maybe http server
 > > specific - maybe a bozohttpd issue?
 >
 > hmm.
 >
 > bozohttpd does not do any sort of globbing.  it returns you
 > directory listing, or a file...  globbing how pkg* uses seems
 > to only be possible with an ftp server that enables globbing.
 >
 
 Indeed, no http server does. I haven't had a chance to look through the
 code yet but I think it is misparsing the directory listing, based on the
 bogus DNS lookup it is doing. It seems somewhat fragile.
 
 Justin
 
 --001a1134da4a017ba3050c72814a
 Content-Type: text/html; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable
 
 <p dir=3D"ltr"><br>
 On Jan 12, 2015 2:14 AM, &quot;matthew green&quot; &lt;<a href=3D"mailto:mr=
 g%eterna.com.au@localhost">mrg%eterna.com.au@localhost</a>&gt; wrote:<br>
 &gt;<br>
 &gt;<br>
 &gt; &gt; -----------------------------------------------------------------=
 ---------------<br>
 &gt; &gt; pkg_add: Can&#39;t process <a href=3D"http://ftp.NetBSD.org:80/pu=
 b/pkgsrc/packages/NetBSD/amd64">http://ftp.NetBSD.org:80/pub/pkgsrc/package=
 s/NetBSD/amd64</a><br>
 &gt; &gt; /7.0_BETA/All/pkgin*: Host not found<br>
 &gt; &gt; pkg_add: no pkg found for &#39;<a href=3D"http://ftp.NetBSD.org/p=
 ub/pkgsrc/packages/NetBSD/amd6">http://ftp.NetBSD.org/pub/pkgsrc/packages/N=
 etBSD/amd6</a><br>
 &gt; &gt; 4/7.0_BETA/All/pkgin&#39;, sorry.<br>
 &gt; &gt; pkg_add: 1 package addition failed<br>
 &gt; &gt;<br>
 &gt; &gt; Networking is fine (ipv4 and ipv6), can install everything else f=
 rom<br>
 &gt; &gt; that host fine, eg source packages and sets. So somehow globbing =
 on<br>
 &gt; &gt; ftp seems broken, possibly only with some web servers.<br>
 &gt; &gt;<br>
 &gt; &gt; However it is ok using <a href=3D"http://ftp.allbsd.org";>ftp.allb=
 sd.org</a>, so it is maybe http server<br>
 &gt; &gt; specific - maybe a bozohttpd issue?<br>
 &gt;<br>
 &gt; hmm.<br>
 &gt;<br>
 &gt; bozohttpd does not do any sort of globbing.=C2=A0 it returns you<br>
 &gt; directory listing, or a file...=C2=A0 globbing how pkg* uses seems<br>
 &gt; to only be possible with an ftp server that enables globbing.<br>
 &gt;</p>
 <p dir=3D"ltr">Indeed, no http server does. I haven&#39;t had a chance to l=
 ook through the code yet but I think it is misparsing the directory listing=
 , based on the bogus DNS lookup it is doing. It seems somewhat fragile.</p>
 <p dir=3D"ltr">Justin</p>
 
 --001a1134da4a017ba3050c72814a--
 


Home | Main Index | Thread Index | Old Index