summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fix "delete ...", it now only insists onbrian1997-06-134-23/+40
| | | | | | | | | | | | one arg too. Discovered by: Rikk Salamat <rikks@web-impact.com>
* | Add ppp.linkdown file to compliment ppp.linkup.brian1997-06-134-23/+45
| | | | | | | | | | | | | | | | Submitted by: Forgotten Passed on by: Terry Dwyer 61 8 9491 5161 <tdwyer@io.telstra.com.au> Also remove extraneous setuid(0) - it's only undone by the subsequent call to SelectSystem().
* | Fix "show ?" alignment.brian1997-06-131-2/+2
| | | | | | | | | | PR: 3830 Submitted by: Josh Gilliam <josh@quick.net>
* | Document ppp over tcp (how to tunnel)brian1997-06-132-4/+212
| |
* | YAMF22jkh1997-06-121-2/+2
| |
* | YAMF22jkh1997-06-123-11/+24
| |
* | YAMF22jkh1997-06-123-4/+12
| |
* | YAMF22 - Bugs Of Evil in variable handling and rc.conf editing.jkh1997-06-114-74/+84
| | | | | | | | PR#: 3218 [partial]
* | Sort out ppp over tcp:brian1997-06-114-32/+58
| | | | | | | | | | | | | | | | | | | | o Allow "set var" with no args to blank var (don't req ""). o Zero VarTerm ASAP if not in interactive mode. o Never print anything to stdout in -direct mode. o Count redial when failing to open modem. o Increase device size to 40 characters (for host:port). o Remove missed "if (fd == 0) fd = 1;". o Don't give up on incoming non-terminal connections.
* | Make the man page a little more detailed.brian1997-06-094-648/+1944
| | | | | | | | | | Update the version number to 1.00. Increase the predictor-1 buffer by 2 bytes.
* | Add a sample script file so people have some idea of what to pass to Load.jkh1997-06-091-0/+51
| |
* | Overhaul ppp:brian1997-06-0962-2149/+1739
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o Use syslog o Remove references to stdout/stderr (incl perror()) o Introduce VarTerm - the interactive terminal or zero o Allow "set timeout" to affect current session o Change "set debug" to "set log" o Allow "set log [+|-]flag" o Make MSEXT and PASSWDAUTH stuff the default o Move all #ifdef DEBUG stuff into the code - this shouldn't be too much overhead. It's now controlled with "set log +debug" o Add "set log command, debug, tun, warn, error, alert" o Remove cdefs.h, and assume an ansi compiler. o Improve all diagnostic output o Don't trap SIGSEGV o SIGHUP now terminates again (log files are controlled by syslog) o Call CloseModem() when changing devices o Fix parsing of third arg of "delete" I think this fixes the "magic is same" problems that some people have been experiencing. The man page is being rewritten. It'll follow soon.
* | 1. Make it possible to set up all the TCP/IP values from a script.jkh1997-06-096-94/+107
| | | | | | | | 2. Update to XFree86 3.3
* | Clobber unneeded prototypes; in particular, the redeclaration of malloc()wpaul1997-06-061-0/+4
| | | | | | | | | | | | | | | | will break compilation if DESTDIR is not set. The update.c module is actually from the Sun RPC distribution so this is really their bogon, but I should have noticed it when I integrated the code into rpc.ypupdated. Sung to me by: Satoshi
* | Add support for srcdir overrides.jkh1997-06-063-6/+20
| |
* | Resurrect / implement some of the more esoteric scripting features,jkh1997-06-0516-36/+555
| | | | | | | | such as partitioning a disk or overriding an interactive prompt.
* | Remove mis-leading version info.brian1997-06-032-4/+2
| |
* | Back out last change (which in fact breaks rfc1661)brian1997-06-021-4/+5
| | | | | | | | | | | | | | | | and modify the behaviour so that a timer is started and the restart counter is zeroed (as per the State Machine Diagram). Pointed-out-by: joerg
* | Go directly to ST_STOPPED when a TerminateReq isbrian1997-06-011-3/+3
| | | | | | | | | | | | | | | | | | received and after the TerminateAck is sent (as per rfc1661) rather than to ST_STOPPING. Going to ST_STOPPING will leave us in a state where we're waiting for the other side to do something - not a good idea, especially as the client side sends a TerminateReq then exits on idle timeout.
* | Reduce MAX_M[RT]U back to 2048. Even on a null-modembrian1997-06-012-8/+6
| | | | | | | | | | | | | | | | ppp link, we gain nothing with a larger mtu. Suggested by: joerg Fix pred1 buffer size (must be == MAX_MTU)
* | Remove initial startup printf's in -direct mode.brian1997-06-014-16/+25
| | | | | | | | Make "same magic" error send a NAK (as per rfc).
* | Implement "set mtu" command to allow the client tobrian1997-06-015-14/+69
| | | | | | | | | | | | reduce the interface mtu. Allow max mru spec of 16k. Add "show m[rt]u" ability.
* | Remove "set mtu ..." ability. Currently, this is anbrian1997-05-311-2/+2
| | | | | | | | | | "alias" for "set mru ...", but there's no such thing as setting your mtu in the ppp protocol (rfc1661).
* | Fix typos (of the printed output kind).jkh1997-05-304-8/+8
| |
* | Another (harmless, luckily) mind-o: somehow I typed 'rpc.ypupdated.'wpaul1997-05-291-2/+2
| | | | | | | | | | | | | | instead of 'rpc.ypupdated' when I added rpc.ypupdated to the SUBDIRS list. Carved into my forehead with an rusty railroad spike by: Mark Murray
* | Mind-o: MAN8= yes --> NOMAN= yeswpaul1997-05-291-2/+2
| | | | | | | | Etched onto my brain with acid by: Mark Murray.
* | Correct the return of DialModem()brian1997-05-293-15/+12
| | | | | | | | Suggested by: kfurge <kfurge@worldnet.att.net>
* | Activate new Secure RPC programs.wpaul1997-05-281-3/+3
| |
* | This commit was generated by cvs2svn to compensate for changes in r26236,wpaul1997-05-288-0/+1210
| | | | | | | | which included commits to RCS files with non-trunk default branches.
* | This commit was generated by cvs2svn to compensate for changes in r26234,wpaul1997-05-287-0/+1833
| | | | | | | | which included commits to RCS files with non-trunk default branches.
* | Always write out rc.conf, regardless of status.jkh1997-05-272-6/+4
| | | | | | | | PR: 3698
* | Correct SNAP server paths.jkh1997-05-274-10/+14
| | | | | | | | Bring in CDE fixes.
* | sysconfig -> rc.confjkh1997-05-271-6/+6
| | | | | | | | Submitted by: Igor Vinokurov <igor@cs.ibank.ru>
* | Update Makefile to build tcpdump-3.3 .fenner1997-05-271-11/+10
| | | | | | | | | | PR: 3371 Submitted by: Chris Timmons <skynyrd@opus.cts.cwu.edu>
* | Lame typo fix here too.jkh1997-05-262-4/+4
| |
* | YAMF22jkh1997-05-262-70/+110
| |
* | De-couple ppp from libalias. If libalias isn't there, thebrian1997-05-2625-119/+259
| | | | | | | | | | | | | | | | | | alias commands simply won't work. Only root may specify the location of the alias lib (otherwise, it's hard-coded). Make logprintf silently fail if LogOpen hasn't been called. Suggested by: eivind
* | Include <alias.h>, not "alias.h"brian1997-05-252-4/+2
| |
* | This commit adds support to ypbind(8) for binding to non-local servers.wpaul1997-05-255-5/+606
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The standard SunOS ypbind(8) (and, until now, the FreeBSD ypbind) only selects servers based on whether or not they respond to clnt_broadcast(). Ypbind(8) broadcasts to the YPPROC_DOMAIN_NONACK procedure and waits for answers; whichever server answers first is the one ypbind uses for the local client binding. This mechanism fails when binding across subnets is desired. In order for a client on one subnet to bind to a server on another subnet, the gateway(s) between the client and server must be configured to forward broadcasts. If this is not possible, then a slave server must be installed on the remote subnet. If this is also not possible, you have to force the client to bind to the remote server with ypset(8). Unfortunately, this last option is less than ideal. If the remote server becomes unavailable, ypbind(8) will lose its binding and revert to its broadcast-based search behavior. Even if there are other servers available, or even if the original server comes back up, ypbind(8) will not be able to create a new binding since all the servers are on remote subnets where its broadcasts won't be heard. If the administrator isn't around to run ypset(8) again, the system is hosed. In some Linux NIS implementations, there exists a yp.conf file where you can explicitly specify a server address and avoid the use of ypbind altogether. This is not desireable since it removes the possibility of binding to an alternate server in the event that the one specified in yp.conf crashes. Some people have mentioned to me how they though the 'restricted mode' operation (using the -S flag) could be used as a solution for this problem since it allows one to specify a list of servers. In fact, this is not the case: the -S flag just tells ypbind(8) that when it listens for replies to its broadcasts, it should only honor them if the replying hosts appear in the specified restricted list. This behavior has now been changed. If you use the -m flag in conjunction with the -S flag, ypbind(8) will use a 'many-cast' instead of a broadcast for choosing a server. In many-cast mode, ypbind(8) will transmit directly to the YPPROC_DOMAIN_NONACK procedure of all the servers specified in the restricted mode list and then wait for a reply. As with the broadcast method, whichever server from the list answers first is used for the local binding. All other behavior is the same: ypbind(8) continues to ping its bound server every 60 seconds to insure it's still alive and will many-cast again if the server fails to respond. The code used to achieve this is in yp_ping.c; it includes a couple of modified RPC library routines. Note that it is not possible to use this mechanism without using the restricted list since we need to know the addresses of the available NIS servers ahead of time in order to transmit to them. Most-recently-requested by: Tom Samplonius
* | Typo: .SH --> .Sh.max1997-05-251-1/+1
| | | | | | | | | | PR: 3683 Submitted by: Kazuo Horikawa <k-horik@yk.rim.or.jp>
* | When no last file specified for % command user barf(error diagnostic)ache1997-05-241-1/+3
| | | | | | | | instead of segmentation fault
* | Fix the reconnect option, and add an explanation to vars.hbrian1997-05-2411-28/+65
| |
* | Fixes skeleton directory test-it-is-a-directory logic.davidn1997-05-241-2/+2
| | | | | | | | | | | | | | PR: 3666 Reviewed by: Submitted by: iaint@css.tuu.utas.edu.au Obtained from:
* | Merge from 2.2 - XiG support updates.jkh1997-05-234-70/+76
| |
* | Typo fix: ${.DESTDIR} -> ${DESTDIR}.asami1997-05-232-4/+4
| | | | | | | | Reviewed by: bde
* | Add ${DESTDIR} to absolute pathnames of required sources.asami1997-05-232-2/+2
| | | | | | | | Reviewed by: bde
* | Typo (${.DESTDIR} -> ${DESTDIR}).asami1997-05-231-2/+2
| | | | | | | | Reviewed by: bde
* | Finish updating for the latest alias code.brian1997-05-234-0/+432
| | | | | | | | Submitted by: Charles Mott <cmott@srv.net>
* | Add SO_REUSEADDR socket opt in case the last telnetbrian1997-05-231-1/+2
| | | | | | | | | | | | connection is in a time_wait. Submitted by: Brian Campbell <brianc@pobox.com>
* | Use the latest alias engine - now in libalias.brian1997-05-2313-2626/+841
| | | | | | | | Submitted by: Charles Mott <cmott@srv.net>
OpenPOWER on IntegriCloud