Re: Anonymous read-only Git access

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

 



On 2020-03-05 14:48 +0800, Kewen.Lin wrote:
> on 2020/3/5 下午2:33, Xi Ruoyao wrote:
> > On 2020-03-05 13:50 +0800, yilu@xxxxxxxxxxx wrote:
> > > Hi,everyone
> > > I want to get the GCC-10 source and I followed the instructions in 
> > > https://gcc.gnu.org/git.html, however, the command
> > > git clone git://gcc.gnu.org/git/gcc.git SomeLocalDir
> > > cannot work. 
> > > And I found I cannot connect https://gcc.gnu.org/git/gcc.git even without
> > > firewall(I'm in China). I got a 403 Forbidden
> > >  "You don't have permission to access /git/gcc.git/ on this server."
> > >  "Apache Server at gcc.gnu.org Port 443".  
> > > What can I do in this situation? 
> > 
> > I guess some guy in BUPT "attacked" gcc.gnu.org somehow (maybe
> > unintentionally,
> > just playing or testing some software) and caused the entire IP segment to
> > be
> > banned.
> > 
> 
> Good guess.  Maybe try to browse https://gcc.gnu.org/git/.
> I was guessing he accessed the link with browser instead of git clone,
> since I got the same error too if try with browser.

Oh I misunderstanded the OP.  I thought that message was printed by "git clone"
command...

With a browser it would always show 403.  Technically "406 Not Acceptable" is
better for this case according to RFC 7231, I think.
-- 
Xi Ruoyao <xry111@xxxxxxxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux