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)




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



Home | Main Index | Thread Index | Old Index