summaryrefslogtreecommitdiffstats
path: root/loader2/ftp.c
Commit message (Collapse)AuthorAgeFilesLines
* Renamed loader2 subdirectory to loader (hooray for git)David Cantrell2008-08-251-785/+0
|
* Strip urlinstall.c down to just looking for the stage2 image.Chris Lumens2008-06-181-8/+1
|
* Fix use of sizeof on a malloc()'d char **Peter Jones2008-03-181-3/+6
|
* Free some variables so we can http GET twice if needed.Chris Lumens2008-03-041-0/+13
|
* Remove our own DNS functions, since glibc's are available now.Chris Lumens2008-02-051-11/+12
|
* Clean up typos and other things for GPLv2+ changes.David Cantrell2007-12-171-4/+4
| | | | | | | Shorten 'Red Hat Author(s)' to just 'Author(s)'. Perhaps eventually we'll get an AUTHORS file and will just remove author names from the individual files. Also fixed a type in scripts/dumphdrlist.py where Author was listed twice.
* GPLv2+ boilerplates for loader2/ source files.David Cantrell2007-12-171-9/+16
|
* Added IPv6 DNS lookup support to libisys.David Cantrell2006-11-021-4/+5
|
* Don't need that variable anymore.Chris Lumens2006-11-011-7/+5
|
* Use splitHostname so we don't attempt to gethostbyname on a string containing aChris Lumens2006-10-311-4/+9
| | | | port number (#212622).
* If we're not passed a port, use the default.Chris Lumens2006-10-311-17/+3
|
* Teach the loader about more HTTP redirect response codes.Chris Lumens2006-09-281-2/+3
|
* Break httpGetFileDesc up into helper functions to read and example HTTP headersChris Lumens2006-09-141-75/+139
| | | | | and response codes. Handle 301 Redirect by calling httpGetFileDesc again with the redirect location (#188198, #204488).
* * loader2/ftp.c (getHostAddress): Use mygethostbyname().David Cantrell2006-07-311-18/+10
| | | | | | | | * loader2/urls.c (addrToIp): Use mygethostbyname(). * loader2/urls.c (urlinstStartTransfer): Use mygethostbyname() to try and determine host address family before calling ftpOpen() or httpGetFileDesc().
* * isys/dns.c: Removed code that's not in use anymore.David Cantrell2006-07-281-0/+5
| | | | * loader2/ftp.c: Notes to myself.
* * loader2/ftp.c (ftpOpen, ftpGetFileDesc): Support IPv6 hosts, whichDavid Cantrell2006-07-271-47/+136
| | | | | | | | | | | | means using the EPSV command instead of PASV. We don't get the IP address of the server in the response, so ftpGetFileDesc needs to bring in the in6_addr we already made for the server so we can then make the socket connection. * loader2/ftp.h: Prototype updates. * loader2/urls.c: Pass the in6_addr for the FTP server to the ftpGetFileDesc() function.
* * loader2/urls.c (urlinstStartTransfer): Determine address familyDavid Cantrell2006-07-261-248/+315
| | | | | | | | | | | | | | | | | | and pass that to the ftpOpen() call. * urlinstall.py (UrlInstallMethod.__init__): Use urlparse. * isys/dns.c, isys/dns.h: Updated for IPv6 support. * loader2/Makefile: Cleanups. * loader2/ftp.c, loader2/ftp.h: Updated for IPv6 support. * loader2/loader.c: Whitespace consistency. * loader2/method.c: Whitespace consistency. * loader2/urls.c: Updated for IPv6 support.
* Not very exciting IPv6 stuff yet.David Cantrell2006-05-081-2/+2
|
* catch return from write()Peter Jones2005-03-021-1/+1
|
* When unable to connect to an HTTP or FTP server for some reason, display anChris Lumens2005-01-121-10/+23
| | | | error message instead of flashing back to the input screen. (#144546).
* add support for passing a port with your http host. patch fromJeremy Katz2004-06-161-4/+17
| | | | otaylor (#126100)
* use \r\n instead of \t\n (#108562)Jeremy Katz2003-11-031-1/+1
|
* katzj warning cleanup complianceMike Fulbright2003-07-071-1/+0
|
* support for sending MAC address as an HTTP header, needed for RHN provisioningMike Fulbright2003-07-071-4/+14
|
* restructuring and clean up of some of the older unused code in the loader.Jeremy Katz2002-11-261-0/+525
still a lot to do, but this gets to stage2 for cd, nfs, http, and ftp booting from either the cd initrd or the pxe initrd