summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/anonFTP.c
Commit message (Collapse)AuthorAgeFilesLines
* Silence warnings :murray2001-09-221-2/+2
| | | | | | Use static as necessary. Use __unused as necessary. sizeof(int) != sizeof(void *)
* Compensate for default disabling of network services in inetd.conf(5)rwatson2001-08-021-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by providing the opportunity to edit inetd.conf during the system installation process. The following modifications were made: (1) Expand the Anonymous FTP description dialog to indicate that inetd and ftpd must be enabled before it can be used. (2) Introduce a new configInetd() pair of dialogs, the first describing inetd, giving a couple of examples of services that require it, and hinting at potential risk, then asking the user if they wish to enable it. The second indicates that inetd.conf must be configured to enabled specific services, and asks if the user would like to load inetd.conf into the editor to modify it. Add this configuration action to the index. There are some further improvements that might be considered: (1) Provide a more inetd.conf-specific configuration tool that speaks inetd.conf(5). However, this is made difficult by the "yet another configuration format" nature of inetd.conf, as well as its use of commenting to disable services, rather than an in-syntax way to disable a service without commenting it out. Submissions here would probably be welcome. (2) There's some overlap between settings in the somewhat obtuse Security Profile mechanism and other settings, including the inetd setting, and NFS server configuration. As features become individually tunable, they should probably be removed from the security profile mechanism. Otherwise, somewhat counter-intuitively, sysinstall (in practice) queries multiple times whether inetd, nfsd, etc, should be enabled/disabled. A possible future direction might be to drive profiles not by degree of paranoia, rather, the set of services desired. Or simply to remove the Security Profile mechanism and resort to feature-driven configuration. Reviewed by: imp, chris, jake, nate, -arch, -stable
* Mark relevant functions __printflike()/__printf0like() and silence some ofkris2001-07-051-1/+1
| | | | | | the non-constant format string warnings. MFC after: 1 week
* Argh, this is what I get for testing, making one last "harmless cosmeticjkh2000-01-251-1/+1
| | | | | tweak" and then committing. /me got what he deserved, an embarassing build failure.
* o Fix http proxy code for various extentions and deal with FTP archivejkh2000-01-251-3/+2
| | | | | | | | | format changes. o Make anonymous ftp setup more analy retentive. PR: 16070 Submitted by: Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
* In retrospect, msgNotify() should leave its contents on the screenjkh1999-12-171-2/+2
| | | | | longer to give the user something to look at while things are happening. Change it to do so and insert the appropriate screen saves elsewhere.
* Completely rip-out and redesign sysinstall's refresh model as welljkh1999-12-141-7/+6
| | | | | | | | | | | | as redoing all the menus to have proper, or at least non-hallucinogenic, keyboard accelerators. This requires my recent update to libdialog to work properly and will probably also exhibit some other "interesting" behavior while the last few missing screen clears are found (which is why I'm not going to MFC immediately). At least now, however, sysinstall does not gratuitously redraw random screens at the drop of a hat and drive serial console installers out of their minds.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Totally change the way variables are accounted for in sysinstall.jkh1999-02-051-2/+2
| | | | | | | | Now we know which variables are internal and which need to be backed to /etc/rc.conf.site. rc.conf is not touched now. Also kget kernel change information back properly and set up a loader.rc file to use it.
* Sync up to current state of development.jkh1997-04-021-2/+2
|
* Add a registration screen so we can finally start counting our little userjkh1997-03-091-1/+2
| | | | puppies.
* It's easier to go forwards than backwards with this, and the RELENG_2_1_0jkh1997-02-071-1/+1
| | | | | sysinstall was already broken (I think there's a PR for this somewhere). This will require some additional changes elsewhere, like bringing in pw.
* 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-162/+25
| | | | | common layout code into some work functions and make all the layout-using routine adopt them. Also reorganize includes and generally clean up.
* As Paul has just pointed out, much of my strncpy() usage was eitherjkh1996-12-091-9/+9
| | | | | | | bogus or overly complex and really needed to be done more consistently and sanely throughout - no question about it. Done. Suggested-By: Paul Traina <pst@Shockwave.COM>
* Close a security hole in anonymous ftp setup.jkh1996-09-061-2/+2
| | | | Submitted-By: Jason Garman <garman@phs.k12.ar.us>
* Simplify some dialogs on the basis of my changes to ui_objects.c in libdialog.jkh1996-09-011-30/+7
| | | | Also update copyright notices.
* Try to make screen update more efficient (less flickering) by morejkh1996-08-031-4/+3
| | | | judicious use of dialog_clear_norefresh().
* Fix an ancient index list bug.jkh1996-04-281-7/+8
| | | | | Make FTP re-initializion work. Fix fix fix.
* Move some of functions around in order to make this stuff easierjkh1996-04-281-4/+3
| | | | to work on.
* Bring this into sync.jkh1996-04-231-14/+5
| | | | | | | | | | I still have a _very very annoying_ display bug which occurs when a menu item causes a submenu to be displayed - the screen repaints for the original menu (which is restored upon return from the submenu) are off by about 4 characters. I've tried restoring the screen, the cursor position, you name it - same deal. Grrrr! This commit is my first step in trying to get someone else to help me look into this one since I'm just tearing my hair out at this point!
* 1. Update all the copyrights to delete useless clauses 3 and 4.jkh1996-04-131-22/+21
| | | | | 2. Change more of the menu code over to new system. 3. Streamline label editor.
* Major surgery.jkh1996-04-071-2/+2
| | | | | | | | | | | | | | | 1. Use new dialog menu hacks (no strings, just arrays of dialogMenuItem structs) so that I can create composite menus with radio/checkbox/... items in them, removing some long-standing UI bogons in various menus. This work isn't finished yet, but will be done in two phases. This is phase one. 2. Remove all the script installation stuff. I never got time to document it, it was arcane and it just complicated much of the code. There are better ways of doing this if I want to do auto-driven installations later. 3. Remove much dead code and otherwise attempt to remove as much historical grot as possible so that this code is easier to hack on. This is also a two-stage process, phase one of which is now complete.
* Make the editor a selectable option. Some people don't care for `ee'!jkh1996-03-231-2/+2
|
* Lots of fixes:jkh1996-03-181-59/+57
| | | | | | | | | | | | | | | | 1. Revamp package installer to use new dependency lists and also pkg_add's new `read from stdin' mode to prevent a copy of the package from hitting the disk unnecessarily. 2. More fixes for running "not as init" - don't get upset if CDROM already mounted, do the right thing instead. 3. If running as init, assume first-time install and _don't show the (W)rite option in the fdisk screen. 4. Many other little tweaks, some of which will have to wait for fuller testing until I can create a boot floppy (testing certain system-destroying features of sysinstall can be a royal pain). Expect some more commits.
* Miscellaneous cleanup before big round of menu restructuring (to use newjkh1996-03-021-216/+217
| | | | libdialog features).
* Make editor start on right screen for anonFTP setup.jkh1995-11-121-2/+7
| | | | Don't clobber mediaDevice if post-configuring networking from CDROM.
* Add verbosity to add in tracking a mystery sig-11 with this..jkh1995-11-111-59/+43
|
* Fix some missing parameters to the anon ftp setup area.jkh1995-11-111-5/+5
|
* Various cosmetic tweaks.jkh1995-11-111-5/+5
|
* Tweaks to anon ftp setup.jkh1995-11-101-2/+9
| | | | Submitted by: coranth
* o Now that Coranth has made the anonymous FTP configuration not use adduser,jkh1995-11-091-0/+491
bring it back. o Simplify the vsystem() call by ripping out a good deal of the extraneous grot.
OpenPOWER on IntegriCloud