summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/ftp.c
Commit message (Collapse)AuthorAgeFilesLines
* Farewall, sysinstall! You served us well for many years, but 10.0 is onenwhitehorn2011-10-031-282/+0
| | | | | | | | digit beyond your time. Various sysinstall dependencies (e.g. libftpio, libdisk, libodialog, etc.) will be cleaned up in coming days. Some will take longer than others due to a few other consumers (tzsetup and sade).
* MACHINE is changed to "pc98" on FreeBSD/pc98.nyan2005-12-081-6/+0
|
* The MACHINE variable on pc98 is "i386". So, use "pc98" directly in PC98 case.nyan2002-10-141-0/+6
|
* Introduce DEVICE_INIT, DEVICE_GET, and DEVICE_SHUTDOWN macros. As thedd2001-07-021-4/+4
| | | | | | | | | names suggest, they perform methods on Device's. In addition, they check that the pointer passed to them is valid; if it isn't, they pretend that the action failed. This fixes some crashes due to NULL dereferences (e.g., PR 26509). Approved by: jkh (some time ago)
* Avoid sending a pointless `CWD .' command which confuses somemurray2001-03-141-1/+3
| | | | | | non-standard ftp servers. PR: 21856
* Enable the same path deduction as for ftp install (great for snapshot tests)jkh2000-12-061-1/+1
| | | | | | | Allow user to change proxy server Allow user to change ftp path Submitted by: pho
* Remove the bogus check against "none" for release names (whichjkh2000-09-221-3/+3
| | | | | | | | | | really doesn't make any sense, what was I smoking) and allow the more canonical usage of "any" for either side of the comparison for release name or architecture (meaning you can also set CD_VERSION=any in a cdrom.inf file to cause sysinstall to always match it and likewise with the architecture, if specified). Sensibly suggested by: Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
* Simplify the ftp directory search code a little and eliminate a warning.jkh2000-09-191-6/+4
|
* Use a much saner method of locating the release directory on an FTP server.jhb2000-07-251-17/+45
| | | | | | | | | Now, if a release is specified, instead of just looking for a directory with the same name as the release, try several possible directories (each suffixed with the release name) relative to the base directory including ".", "releases/MACHINE", "snapshots/MACHINE", and each of those prefixed with "pub/FreeBSD/". This will allow us to remove the evil symlinks under pub/FreeBSD/releases/MACHINE/ to the snapshots on the ftp site.
* IPv6 support.ume2000-07-141-2/+3
| | | | | | | | | | | IPv6 configuration is only done by rtsol. Does someone really need manual configuration? :-) You can specify IPv6 DNS server as well. We have only one server ftp7.jp.freebsd.org that speaks IPv6 in this time. ftp7.jp speaks IPv4 as well and also listed as Japan #7. Approved by: jkh
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Collapse the "get" code substantially by combining common functions.jkh1998-12-221-9/+3
| | | | | Also make mountpoint for each media type easier to change. Also reshuffled some menus for easier usage.
* MF22: only fclose() OpenConn if non-NULL.jkh1998-01-281-3/+5
|
* Don't attempt to deref OpenConn after it's been set to NULL. :)jkh1997-10-031-4/+6
|
* For people running paranoid ftpds, use the real username to log injkh1997-10-031-2/+11
| | | | | with when running multi-user and we actually have one. Suggested by: Joao Carlos Mendes Luis <jonny@coppe.ufrj.br>
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Argh! Last-minute typo fix (having this be broken in -current sucks).jkh1997-02-181-1/+1
|
* Don't just unset FTP_PATH unilaterally, it might have been a timeoutjkh1997-02-181-5/+3
| | | | in which case we should simply log in again.
* Sync with RELENG_2_2 changes.jkh1997-01-301-11/+28
|
* Cosmetic tweaks.jkh1997-01-291-2/+2
| | | | Also redirect stderr to Debug when running multiuser.
* Fix a variety of problems with my timeout handling, make it morejkh1997-01-181-5/+8
| | | | | configurable (you can now set the timeout interval), fix a crash-bug when no network device was attached.
* Now that I know which parts of the installation really need it (sincejkh1997-01-171-11/+13
| | | | | there's no menu display bug to work around now), be far more selective in my use of DITEM_RECREATE (which is slow and involves much screen I/O).
* Keep our serial ports distinct so that first device is not found forjkh1997-01-151-2/+3
| | | | | | all (closes PR#2296). Print better FTP failure diagnostics Do better media failure checking in install.
* Make the FTP installation codepath a lot more defensive. Trapjkh1997-01-151-1/+4
| | | | | | bogus path and FTP I/O errors much earlier, offer retry possibilities at steps along the way so you don't have to resume from the very beginning again on a hard error.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Do something I've wanted to do for quite some time - collapse all thejkh1997-01-031-3/+1
| | | | | common layout code into some work functions and make all the layout-using routine adopt them. Also reorganize includes and generally clean up.
* 1. Correct bogon in cdromInit when running multi-user which took cdrom offlinejkh1997-01-011-6/+9
| | | | | | | | | | if wrong version. 2. Make sure network device is initialized in ftpInit 3. Eliminate bogus size values in the menus. For now, we'll have to admit that nobody's added it up yet. In the future, these menus should be build dynamically anyway, not declared static. 4. Add more debugging to networking code to chase the mystery ppp device problem.
* Cosmetic tweaks, initialize a few variables, fix a reversed conditional.jkh1996-12-111-3/+3
|
* Do a few things I've been threatening to do for a long time:jkh1996-12-111-425/+179
| | | | | | | | | | | | | | | | 1. Don't use the MSDOSFS code for accessing FreeBSD distribution data. Use Robert Nordier's stand-alone DOS I/O library for the purpose. It this works as well as Robert says it does, it should drastically reduce (or even eliminate) our "I can't install from my DOS partition!" calls. 2. As a result of the above, go to stdio file descriptors for all media types. 3. Taking advantage of #2, start using libftpio for FTP transfers instead of maintaining our own parallel version of the FTP transfer code. Yay! I ripped something out for a change! #1 Submitted-By: Robert Nordier <rnordier@iafrica.com>
* Handle SIGPIPE in a couple of crucial places.jkh1996-08-011-6/+24
|
* Fix even more lurking bogons - why do I never find these until the lastjkh1996-07-081-6/+6
| | | | possible minute? :-)
* Add a new -fake argument to make sysinstall not actually change things whilejkh1996-04-281-40/+43
| | | | I'm testing it.
* Update the -current sources from the 2.1 branch.peter1995-12-071-5/+11
| | | | Approved (in spirit) by: jkh
* Merge RELENG_2_0_5 into HEADrgrimes1995-06-111-75/+142
|
* Remove trailing whitespace.rgrimes1995-05-301-34/+34
|
* Sync up my work for the night. This should implement ALL possiblejkh1995-05-291-2/+3
| | | | | | installation methods and provide a fairly robust set of menu options. This should also fix a few more bugs on Poul-Henning's latest gripe list.
* Add a little more debugging to the lowlevel ftp stuff.phk1995-05-271-2/+4
|
* Clean up the configuration stuff a bit more - we should now populatejkh1995-05-261-1/+3
| | | | | | /etc with good things(tm). Fire off ppp with all the proper initial options set.
* media_strategy.c: Add explanation for URL.phk1995-05-251-11/+18
| | | | ftp.c: Clean up debug, improve error handling.
* Never commit before breakfast: A typo. Sorry Gary.phk1995-05-241-4/+4
|
* Close the transfer socket.phk1995-05-241-1/+5
|
* "Bring out your dead!" Always try to reap the children we leave around.jkh1995-05-241-2/+2
|
* Bring everybody up to date on my morning's work.jkh1995-05-241-2/+2
| | | | | | | | | | | | | | | | | | | | 1. Fix a few bugs in the ftp installation code and implement proper ftp and network shutdown routines. 2. Clean up the menus a fair bit - add a FreeBSD configuration menu. 3. Eliminate the last of the "chaining" - the installation now does the most obvious thing in the most obvious cases and doesn't present you with more menus than you were expecting. This makes it necessary to be a little more explicit in places, but it's still less confusing. 4. Add a few more safety nets for the user. Change a few hard-and-fast limits to warnings (it now runs as non-root, Bruce). 5. Add descriptions for all the supported ethernet cards. 6. Make the cpio floppy extract put up a menu requesting the drive you wish to use if you have more than one; don't just always assume drive A.
* Makefile:gpalmer1995-05-241-17/+24
| | | | | | | | | | Add testftp: target ftp.c: add more debugging output and fix a few more problems media_strategy: make the ftp system actually do something resembling common sense. it now works after a fashion, although it soon falls over for some reason.
* Sync to latest ftp-capable sysinstall. We're getting there!jkh1995-05-241-178/+264
|
* Add a final configuration menu and the beginnings of the backing codejkh1995-05-241-13/+25
| | | | | for it. The ftp installation method is working well enough to test. Many more bug fixes, says Gary.
* 1. Bring in the first cut of Poul's ftp routines. We still don'tjkh1995-05-231-0/+252
use them yet, but it's close (we're working on the last wrinkles in the CD install for now). 2. Complete the CDROM installation strategy code. 3. Simplify the distribtuion loading code. 4. General error message cleanup. 5. Write the /etc/fstab file now and split those routines into config.c 6. Clean up the menus a little more.
OpenPOWER on IntegriCloud