summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Correct ``set server'' usage and add mention that ``set ns'' changedbrian1998-06-082-4/+5
| | | | | in README.changes. Suggested by: stuart henderson <stuart@internationalschool.co.uk>
* Always ask for homedir.wosch1998-06-071-11/+38
| | | | | PR: 6754 Submitted by: uhlar@netlab.sk
* Fix previous commit. bit 1 is the execute bit, not the read bit *blush*brian1998-06-071-2/+2
| | | | | ie, BINMODE=4551 -> BINMODE=4554 Pointed out by: Bruce Evans <bde@zeta.org.au>
* PR: docs/3636thepish1998-06-071-1/+1
| | | | | Submitted by: Gary Palmer gpalmer@FreeBSD.ORG Add mention of the 1024-character line length limit on the netgroup database.
* Use a relative libalias.so name (hardcoded at 2.5 - yeuch!).brian1998-06-071-1/+5
|
* Make ppp world-readable so that root can get at it overbrian1998-06-071-2/+2
| | | | | | NFS when nobody isn't in group network :-) Pointed out by: Bruce Evans <bde@zeta.org.au>
* Update the write descriptor selection set for our data linksbrian1998-06-071-3/+5
| | | | | | | *after* shuffling fragments from the IP queue into the individual link queues. This fixes a latency problem pointed out by: Bruce Evans <bde@zeta.org.au>
* Make ``set ? log'' more verbose.brian1998-06-061-4/+5
| | | | Suggested by: Paul Dufresne <dufrp@oricom.ca>
* Put the correct pid in /var/run/tunX.pidbrian1998-06-063-4/+7
| | | | Suggested by: many
* PR: docs/5986thepish1998-06-061-14/+14
| | | | | Submitted by: MITSUNAGA Noriaki mitchy@er.ams.eng.osaka-u.ac.jp Replace use of obsolete .q groff macro with .Dq
* Create a new flag, "nochange", which will specify that a directory ispeter1998-06-056-14/+21
| | | | | | | | | | | | to be created if it's missing, otherwise completely ignore it's modes and owners. Primary intended targets: /usr/src and /usr/obj. Adjust the 'not created: File exists' message to mention that it's a directory that's the problem, otherwise it doesn't make sense. I had created chown-style -L and -P flag to control logical/physical mode (ie: whether symlinks were followed), but the nochange flag is enough to get the blasted thing out of my hair so I took them back out.
* Fix a bunch of spelling errors.steve1998-06-041-1/+1
| | | | | PR: 6856 Submitted by: Josh Gilliam <josh@quick.net>
* Darnit, that last commit was only supposed to change files in thewpaul1998-06-041-2/+9
| | | | | | | | | | | -current branch. I mistakenly checked out the 2.2.x rpc.ypxfrd into my -current working directory. No harm done, but I got really confused when I went to check out rpc.ypxfrd again and found the changes I wanted to make were already there. (I'm going to fix the other 2.2.x versions of the other programs in a minute.) Anyway: protect errno in the signal handler, in the -current version of rpc.ypxfrd this time.
* Protect errno in signal handlers, like in portmap.wpaul1998-06-042-3/+14
|
* Simplified using new yacc rules. This will fix bugs when we stop pickingbde1998-06-041-5/+3
| | | | up a possibly stale version of ns_parser.h from contrib/bind.
* Remove bogus #defines and redefintions for KERNEL, mount, nfs_init, thepeter1998-06-011-6/+0
| | | | beastie builds just fine without them and gets less warnings.
* Add a FILES section which references /etc/groupdes1998-05-311-1/+3
| | | | Suggested by: Masafumi NAKANE <max@wide.ad.jp>
* Inherit BINDIR, don't set it here.bde1998-05-311-2/+4
|
* Fixed double slashes in pathnames.bde1998-05-311-2/+2
|
* o If there's a session leader left running for a descriptorbrian1998-05-297-16/+43
| | | | | | | | | | | that we're now closing, manually HUP that session leader so that the tty is fully released. o Always restart our carrier detect timer in the receiving process if it was running in the sending process (as we now *always* pass the descriptor). o Tweak argv when we go into pause() mode to keep our session so that ps can see what's going on (without checking for a `pause' state in `ps -l').
* Some documentation corrections & typo fixes....brian1998-05-297-180/+217
|
* o Make modes consistent throughout ppp. The same strings are usedbrian1998-05-297-98/+90
| | | | | | | | | | | | | | | in `set mode', `allow modes', on the command line and when outputting mode names. The strings are matched so that only enough characters to uniquely identify the string are required, so you can now ppp -a mylabel (for auto mode) ppp -b mylabel (for background mode) ppp -dd mylabel (for direct dial mode) etc. o Make -ddial dial when specified on the command line (oops). Pointed out by: Alex <garbanzo@hooked.net>
* srandomdev() isn't available in all 2.* versions. Onlybrian1998-05-291-2/+2
| | | | use it for version 3 (-current) & up.
* o #define the name "tun" in defs.h against the future possibilitybrian1998-05-287-117/+170
| | | | | | | | | | | | | | | | | | | | | | of supporting architectures with different device names. o Close /dev/tunX when destroying the bundle. o Don't forget to close the parent end of the pipe in the child process when exec'ing a program from a chat script. o If we close our controlling terminal, ditch the current session with it, allowing getty(8) (or whatever) to regain control. o After transferring our controlling terminal descriptor to another ppp instance, we now fork a new ppp to continue where we left off, transferring ownership of all uucp locks and the /var/run/tunX.pid file. Meanwhile the parent closes all file descriptors, defaults all signals and does a pause() to wait for a HUP after the transferred descriptor is finally closed. We don't run /bin/cat any more (again!). Suggested by: bde TODO: It seems clocal devices need their pause()d session leader to be given a manual HUP, as closing the last open descriptor doesn't do the job.
* o Don't forget to close our transfer socket if we cannotbrian1998-05-287-19/+50
| | | | | | | generate the data to transfer. o Transfer uucp lock ownership for the transferred device. o Don't assume we know the correct values of dev_is_modem and mbits after the transfer.
* Use AF_LINK rather than AF_UNSPEC to set an ethernet multicast address.julian1998-05-281-14/+33
| | | | | | | | This is obviously not a terribly used function as it's apparently been broken forever. It IS possible that this fix is wrong and that the KERNEL is wrong (in which case you should fix if_ethersubr.c) either way it certainly has more hope of working now than before. I'd take it to 2.2 except that obviously no-one cares :-)
* Don't assume stdout is a tty in interactive modebrian1998-05-272-18/+26
| | | | Analyzed by: dmaddox@scsn.net (Donald J. Maddox)
* Typo police. '#ifndef lint' around CVS id. Don't use __progname in usage().des1998-05-272-15/+12
| | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
* ELF preparation step 2:sos1998-05-261-2/+1
| | | | | | | | | | | | | | Move a.out libraries to /usr/lib/aout to make space for ELF libs. Make rtld usr /usr/lib/aout as default library path. Make ldconfig reject /usr/lib as an a.out library path. Fix various Makefiles for LIBDIR!=/usr/lib breakage. This will after a make world & reboot give a system that no longer uses /usr/lib/*, infact one could remove all the old libraries there, they are not used anymore. We are getting close to an ELF make world, but I'll let this all settle for a week or two...
* o Only do the /bin/cat bit when we're transferring our ctty.brian1998-05-252-5/+5
|
* Give correct times with old wtmp files.steve1998-05-251-2/+3
| | | | | PR: 4732 Submitted by: Andrew Timonin <tim@pool1.convey.ru>
* o Don't try to transfer tty device descriptors as there's no way ofbrian1998-05-255-32/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | transferring session rights with them. Instead, create two `/bin/cat' processes. A new child is spawned and disassociated from the terminal and the parent, which continues with the rest of the ppp process. Meanwhile, the parent spawns another child, and both the parent and child exec the `/bin/cat' commands with the appropriate descriptors. This way, the session is owned by the parent, and the tty is held open. o Close LCPs that have done a TLF and are now in ST_STOPPED before calling Down. This prevents them from trying to come back up again after the peer has shut them down (it seems a bit strange that the rfc says that a Down in ST_STOPPED will cause a TLS etc). o Don't try to set the physical link name pointer when we're receiving and renaming a datalink. The physical hasn't been created yet, and as it happens, the garbage physical pointer happens to be the value of another physical - so we're pointing that other physical name at ourselves. yeuck. o Re-arrange the order of things in main (DoLoop()). We now handle signals only after the select and not before the UpdateSet. It's possible that either a signal (FSM timeout) or a descriptor_Read() brings a link down, after which we'd better tidy up any dead direct and 1off descriptors before calling UpdateSet() again. o Mention when we detect a PPP packet when we see one before the link is up (then start LCP as before).
* Merge updates from 2.2jkh1998-05-248-26/+28
|
* Sync documentation with 2.2 updates.jkh1998-05-246-15/+12
|
* Fix Anders Email address.steve1998-05-241-1/+1
|
* Add a fuller-featured Norwegian keycap entry.steve1998-05-241-6/+23
| | | | | PR: 6173 Submitted by: Anders Nordby <nickerne@nome.no>
* Add chkgrp, a small utility for checking for syntax errors in groupdes1998-05-243-0/+220
| | | | | | | files. PR: bin/1387 Suggested-by: Giles Lean <giles@nemeton.com
* Add chkgrpdes1998-05-241-3/+3
|
* Loosely document the '-s' commandline option.steve1998-05-241-1/+7
| | | | PR: 6713
* Add 'newsyslog.conf' to the list of files to not clobbersteve1998-05-241-1/+2
| | | | | | during the upgrade process. PR: 6629
* Show the link mode in `show links'.brian1998-05-231-3/+4
|
* Oops - patch failed in last commit ????brian1998-05-231-7/+1
|
* o Move our prompt descriptor list outside of the bundle.brian1998-05-2315-239/+222
| | | | | | | | | | | | | | | | | | | | It's now dealt with by the `server' object. This simplifies things as we only have one list of prompt descriptors and the log_ routines check prompt::logactive to determine whether it should be used for output. o Include the MP socket UpdateSet() result in bundle::UpdateSet(). o Don't select on the tun device unless we're in NETWORK phase or AUTO mode. o Stop the idle timer when we go to DEAD phase. We may have transferred a link and not had a chance to kill it. o Don't fail when trying to unlink our transferred datalink from our descriptor lists just before the transfer. o Add our link descriptor to the write set if we got a short write the last time (physical::out is set). o Log the connection source address when a connection is closed. o Remove descriptor::next field. Descriptor lists are not required any more.
* o Make sure we adjust our min seq and process any outstanding queuedbrian1998-05-234-12/+46
| | | | | | | | incoming fragments when a link goes down. o Don't use the minimum sequence numbers of links that aren't open. o Understand sequence number wrapping when determining the minimum sequence number. o Add & adjust a few comments.
* o If all CCPs are disabled & denied, don't send a REQ - just enterbrian1998-05-234-5/+21
| | | | STOPPED state waiting for the peer to say something.
* Don't give .It too many args.brian1998-05-212-4/+4
|
* Remove -Wpointer-arithbrian1998-05-211-2/+2
|
* o Add some missing #includesbrian1998-05-212-2/+6
| | | | o Calculate base device name correctly.
* MFMP: Make ppp multilink capable.brian1998-05-2195-9201/+16517
| | | | See the file README.changes, and re-read the man page.
* Close forgotten descriptor.brian1998-05-191-1/+4
| | | | | PR: 6690 Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
OpenPOWER on IntegriCloud