summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Add a reconnect capability directing ppp to re-establishbrian1997-04-219-22/+136
| | | | | | | | | | | the connection after an unexpected loss of carrier: set reconnect timer ntries The man page warns against using this command when your timeout value is slightly more than the other sides :{} Suggested by: burton@bsampley.vip.best.com (Burton Sampley)
* Sync with 2.2 and clean up some tortured english that was added.jkh1997-04-2018-62/+263
|
* Fix typo in previous commitache1997-04-191-2/+2
|
* Unceremoneously discard HDLC frames with less than two bytes in them.phk1997-04-191-1/+7
| | | | | | | XXX: real fix: this could should check the number of bytes in the packet before accessing them. Found by: phkmalloc
* Fix make depend.dfr1997-04-193-1/+19
|
* Generate mount*.[ch] and nfs_prot*.[ch] from the .x files.dfr1997-04-1810-1593/+146
| | | | | | | | | | Delete bogus local versions of mount*.[ch] and nfs_prot*.[ch]. Use v3 protocol by default for NFS mounts. If v3 is not supported, v2 is used automatically. Add a new mount options for NFS, 'nfsv2' to allow the administrator to force the use of the older protocol. Document the new mount options and fix a couple of markup problems.
* Add FILES section to manpage.danny1997-04-162-2/+80
| | | | | Create /var/run/ttyXn.if interface file and /var/run/slX.pid PID file, following format of pppd(8).
* Suggested by: David Nugentdanny1997-04-163-10/+10
| | | | Use /etc/ppp/ppp.deny instead of /etc/ppp/ppp.disabled
* Fixed type mismatch caused by bogus prototypes. rpcgen for some reasonbde1997-04-151-2/+2
| | | | doesn't generate any prototypes for the functions to be registered.
* fix some typos, and some slight clean up...jmg1997-04-151-48/+57
| | | | Closes PR#3266
* fix a few typos..jmg1997-04-151-24/+27
| | | | Closed PR#3265
* fix a couple typos...jmg1997-04-151-3/+3
| | | | Closer PR#3264
* Reviewed by: Brian Somers <brian@freebsd.org>danny1997-04-154-28/+119
| | | | | | | | pppd now creates /var/run/ttyXn.if file containing the interface name; check that a 'login' user is not listed in /etc/ppp/ppp.disabled; check that a 'login' user's shell is listed in /etc/ppp/ppp.shells; make sure that passwordless 'login' logins are recorded in wtmp and utmp.
* Remove osreldate. I got the number wrong anyway :(brian1997-04-152-8/+2
|
* Make the next number redial ability configurable. Thebrian1997-04-147-55/+113
| | | | | | | | | "set redial pause [times]" command becomes "set redial end-pause[.next-pause] [times]" and next-pause defaults to 3 seconds. This keeps things backwards compatable. Suggested by: ache
* Allow forcing of local_ip:remote_ip in pap-secretsbrian1997-04-132-18/+64
| | | | | | | | and chap-secrets files. This allows specific users to have pre-allocated IP numbers while others get assigned dynamically. Submitted by: David Nugent <davidn@unique.usn.blaze.net.au>
* Make -background option attempt each phone number at mostbrian1997-04-134-13/+27
| | | | | once. Make -background ignore redial. Output exit value to syslog with "PPP Terminated" message.
* Only wait for the redial timeout when the last phone number in thebrian1997-04-123-55/+400
| | | | | | | | | | | list has been dialed. Alternate number dialing has no "pause". Suggested by: joerg Document this behaviour. Document that the number of dial attempts applies to the number of phone calls rather than the number of times each number is dialed. Add a missing .El. Give a decent description of how to connect to an ISP.
* Support input and output filters with remote printing.brian1997-04-123-33/+374
| | | | | Output filters are executed on a per-file basis as it's necessary to supply the file size to the "other side".
* Avoid processing obviously bogus domain names in the YPBINDPROC_DOMAINwpaul1997-04-101-1/+12
| | | | and YPBINDPROC_SETDOM procedures.
* Add a sanity test to ypproc_xfr_2_svc(): check that the map and domainwpaul1997-04-101-8/+48
| | | | | | | | | in the transfer request actually exist. Technically ypxfr can do this too, but why waste the cycles getting ypxfr off the ground for a transfer we already know is going to fail. Also apply stricter access control rules; ypproc_xfr_2_svc() is in a different class than the normal map access procedures procedures.
* Add extra paranoia test. In theory this doesn't really gain you anything,wpaul1997-04-101-2/+12
| | | | but the extra warning message could be useful.
* Oops...now really commit the doc change.guido1997-04-091-1/+3
|
* Make a sysconfig variable controlling if teh kernel should acceptguido1997-04-091-8/+10
| | | | | | | nfs requests from non-privileged ports. Change mountd such that it does never set this variable, but only clears it when run with -n. Also document this in the man page.
* Ignore SIGPIPE or any user can quit ppp just telnetting to itache1997-04-092-10/+18
| | | | | | and quitting telnet immediately (while phone number dialed) Log client connection/disconnection with PHASE_BIT now. Add more error recovery on client disconnection
* YAMF22jkh1997-04-051-3/+5
|
* Document the -u option.mpp1997-04-041-1/+6
| | | | Forgotten by: guido
* Make all this work under -current again.jkh1997-04-036-6/+15
| | | | Submitted-By: Chuck Robey <chuckr@glue.umd.edu>
* Variable name typo.wosch1997-04-021-2/+2
| | | | | Reviewed by: Guy Helmer <ghelmer@cs.iastate.edu Submitted by: Paul Sandys <myj@nyct.net>
* Sync up to current state of development.jkh1997-04-027-22/+26
|
* Don't fail when the vfs.nfs.nfs_privport sysctl doesn't existbde1997-04-011-4/+4
| | | | | | | | | | (presumably because the kernel is old). Moved the declaration of a variable realated to this sysctl outside of an unrelated ifdef. Not fixed: - this sysctl is badly named (nfs occurs twice). - it's silly to have for FreeBSD in FreeBSD code, especially when only half of the FreeBSD-dependent code is ifdefed.
* Remove the syslog stuff, and allow various return valuesbrian1997-03-312-6/+11
| | | | | | | | | in uu_lock(). Add uu_lockerr() for turning the results of uu_lock into something printable. Remove bogus section in man page about race conditions allowing both processes to get the lock. Include libutil.h and use uu_lock() correctly where it should. Suggested by: ache@freebsd.org
* Activate the -h flag which tells chown/chgrp to work on the symlink itselfpeter1997-03-313-38/+29
| | | | | using lchown(). Most of the code was already here, the option was recognised but ignored for SYSV/POSIX.2(?) compatability.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-3173-113/+113
| | | | posix standard on the topic.
* Move uucplock into libutil and create a manual page.brian1997-03-301-4/+2
|
* Removed `#define KERNEL'. This was a hack-around for nfs.h being brokenbde1997-03-291-4/+0
| | | | | | | | in the Lite2 merge to not export some nfs constants. It started causing warnings when I added a kernel-only #define for DIRBLKSIZ. Removed `#define NFS'. This was an old, bad interface for telling <sys/mount.h> to export nfs stuff.
* Allow the samplerate (in DPI) to be set on the command line, the rest ofpeter1997-03-292-2/+9
| | | | the code appears to support it.
* Reserve a placeholder for 4 SMP ipi interrupts in the same way thatpeter1997-03-292-2/+6
| | | | | | | it's done for pci. This is so that systat and vmstat can get at the interrupt counts for the Inter-Processor Interrupts when running a smp kernel. This doesn't affect the normal kernel, but makes life easier for the smp people who don't have to track two versions of config.
* Use new mount args (mount "ufs" instead of MOUNT_UFS).bde1997-03-291-1/+1
| | | | | | | | vnconfig doesn't seem to be in Lite2, although dev/vn is. The Lite2 merge in userland has converted all mount calls except this one and one for devfs in init, so we can drop support for old mount args soon. Vnconfig probably shouldn't support mounting - it only supports ufs.
* Catch this puppy up to RELENG_2_2jkh1997-03-291-3/+5
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-293-5/+5
| | | | posix standard on the topic.
* Remove support for "port none" and "port auto", it gains nothing,ache1997-03-284-12/+2
| | | | | | non-standard and not used. "port auto" is equal to "port?" or missing "port" keyword now. "port none" is really probe routine task (return -1 for no ports).
* Add code that will reject nfs requests in teh kernel from nonprivilegedguido1997-03-271-1/+14
| | | | | | ports. This option will be automatically set/cleraed when mount is run without/with the -n option. Reviewed by: Doug Rabson
* YAMF22jkh1997-03-272-4/+4
|
* Sync with 2.2jkh1997-03-271-3/+3
|
* Add #define's for port "none" and "auto"ache1997-03-263-5/+7
| | | | Now port ommiting is equal to port "none" not to port 0
* - update MNT_* flags to match lite2 properly. get rid of old #if 0 flagspeter1997-03-251-22/+9
| | | | | | that are gone, add new missing ones. - don't dereference kernel relative pointers in user space for() loops, it doesn't work real well.
* YAMF22jkh1997-03-256-25/+34
|
* Print negative values only for two cases usedache1997-03-251-3/+3
| | | | | in config for iobase: -1 (auto) and -2 (none) Other values are printed as big port numbers
* Fix iobase printing for autodetect and none casesache1997-03-251-1/+3
| | | | (negative numbers was printed as very big ports)
OpenPOWER on IntegriCloud