LWP::UserAgent and referer?

Robert L. Harris Robert.L.Harris at rdlg.net
Wed Nov 21 16:26:36 CST 2001



Nope, http only, and wget failes as unauthorized also.

Thus spake Nelson Ingersoll (ningersoll at cso.atmel.com):

> 
>    Can you use ftp?  FTP would be a much better mechanism to move files 
> than is HTTP.  Plus you'd have the benefit of not having to worry about 
> stupid HTTP tricks like this one getting in your way.  Obviously you would 
> have to have an account on each ftp server system; but, that actually makes 
> it more secure.
> 
> - Nelson ...
> ===================================================================
> Nelson E. Ingersoll             <> Sr. Principal Software Grunt
> -------------------------------------------------------------------
> ATMEL Corporation               <> Desk:     719-540-1263
> Mail Stop 10240                 <> FAX:      719-540-6998
> 1150 E. Cheyenne Mtn Blvd.      <> Pager:    719-921-7917
> Colorado Springs, CO  80906     <> INTERNET: ningersoll at atmel.com
> United States of America        <>           ningersoll at codenet.net
> ================== No good deed goes unpunished! ==================
> 
> 
> At 11/21/2001 02:40 PM, Robert L. Harris wrote:
> 
> 
> >I'm trying to use a perl script to mirror some patches.  The maker wishes
> >you to manually go and download each time, which gets a bit tedious.
> >
> >I've got it getting a list of patches, etc, but when I use "getstore"
> >from LWP::Simple I get an error message:
> >
> >
> >----------------------------------------------
> >
> >403 Error - Authentication Failed (Forbidden)
> >
> >  Your browser failed to send us the proper authentication information
> >to gain access to this portion of the site.
> >
> >  Parts of the support sites require information (The HTTP_REFERER
> >header) to indicate which part of the site you are coming from, so
> >you can be displayed the correct page. If you are reading this page,
> >your browser failed to send that information.
> >
> >----------------------------------------------
> >
> >
> >
> >It seems they're tracking which pages you used to come through.  Any
> >way to work around this?  Mirroring these gets very tedious by hand
> >each week (yeah, they patch that often.
> >
> >
> >
> >:wqr
> >---------------------------------------------------------------------------
> >Robert L. Harris                |  Micros~1 :
> >Senior System Engineer          |    For when quality, reliability
> >  at RnD Consulting             |      and security just aren't
> >                                \_       that important!
> >DISCLAIMER:
> >      These are MY OPINIONS ALONE.  I speak for no-one else.
> >FYI:
> > perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'



:wq!
---------------------------------------------------------------------------
Robert L. Harris                |  Micros~1 :  
Senior System Engineer          |    For when quality, reliability 
  at RnD Consulting             |      and security just aren't
                                \_       that important!
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.
FYI:
 perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'




More information about the Pikes-peak-pm mailing list