summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* `dns' option defaults to disabled, not enabled.brian1998-08-092-4/+4
|
* Add missing .Elbrian1998-08-092-2/+4
|
* /var/run/tunX.pid is created regardless of ppps mode.brian1998-08-092-14/+4
| | | | Spotted by: Alex <garbanzo@hooked.net>
* Use IFT_PPP from net/if_types.h rather than hard-coding it.brian1998-08-091-2/+3
|
* When entering ``term'' mode, don't output any messages untilbrian1998-08-096-19/+29
| | | | | | | the device is successfully opened. If we fail to open it, mention the fact. Also go back into command mode as soon as the device is closed rather than waiting for the user to type something before noticing.
* Don't forget to call PacketAliasInit().brian1998-08-091-1/+7
| | | | PR: 7515
* Missed these...brian1998-08-072-0/+757
|
* o Support callback types NONE, E.164, AUTH and CBCP.brian1998-08-0735-123/+841
| | | | | | | | | | | | | | (see the new ``set callback'' and ``set cbcp'' commands) o Add a ``cbcp'' log level and mbuf type. o Don't dump core when \T is given in ``set login'' or ``set hangup''. o Allow ``*'' and blanks as placeholders in ppp.secret and allow a fifth field for specifying auth/cbcp dialback parameters. o Remove a few extraneous #includes o Define the default number of REQs (restart counter) in defs.h rather than hardcoding ``5'' all over the place. o Fix a few man page inconsistencies.
* Add snprintf.c to SRCS so that the function quad_to_string exists. Thejb1998-08-061-1/+1
| | | | | | | | snprintf function itself is still #ifdef'd out by conf.h. This allows this program to link when compiled without optimization. With optimization, the call to quad_to_string gets removed by the compiler. Unfortunately the linker still links in the quad_to_string function even though it isn't called. 8-(
* Don't mess around in OBJDIR for includes, and remove some warnings.eivind1998-08-0611-28/+31
|
* The control code ^_ (0x1f) should really be called "us" rather than "ns".yokota1998-08-062-3/+4
| | | | | In the mean time, accept both "us" and "ns" in the keymap file as ^_ for the compatibility with the existing keymap files.
* Update DPT driver from 1.4.3 to 1.4.5eivind1998-08-053-22/+51
| | | | Submitted by: Simon Shapiro <shimon@simon-shapiro.org>
* - On second thought, attempt to get the read-only lock, but don'tnate1998-08-041-1/+16
| | | | | | | consider it a exit failure if it doesn't work. This means that root processes can safely get the lock, but normal processes can still use the 'pw' utility to get information (which may change out from under them.)
* - Removed read-only lock from 'pw'. This removes portions of the FIXnate1998-08-041-22/+1
| | | | | | | | from PR/6787, but allow non-root users to use pw to get password information. However, this should be safe since the fixes for disallowing multiple instances from modifying the DB are still intact. Bug noted by: dima@best.net (Dima Ruban)
* Remove old sendmail (to the Attic)peter1998-08-04223-89246/+0
|
* Descend into makemap/mailstats/praliases when building sendmail.peter1998-08-041-2/+2
|
* Use sendmail-8.9.1 makemappeter1998-08-041-0/+12
|
* Use sendmail-8.9.1 praliasespeter1998-08-041-0/+9
|
* Build sendmail-8.9.1 makemap.peter1998-08-041-0/+9
|
* Connect up sendmail-8.9.1peter1998-08-041-55/+49
|
* PR: 7489thepish1998-08-041-2/+2
| | | | | Submitted by: Jos.Backus@nl.origin-it.com Correct execvp fail message in current
* Added the `saver' key definition. The saver key will activate the screenyokota1998-08-033-3/+13
| | | | saver if one is loaded.
* - Set bell pitch in hertz and duration in msecs.yokota1998-08-032-6/+14
| | | | | | | The change corresponds to syscons.c 1.268. PR: bin/6037 Submitted by: Kouichi Hirabayashi (kh@eve.mogami-wire.co.jp)
* Fixed printf format errors.bde1998-08-022-4/+4
|
* Fixed printf format errors.bde1998-08-022-6/+6
|
* PR: 7469brian1998-08-023-4/+11
| | | | | | Be careful that the current or next prompt in the list that we're iterating through doesn't get changed by descriptor_Read().
* On receipt of a sig 15, do a full bundle_Close() even ifbrian1998-08-022-7/+3
| | | | | our current phase is PHASE_DEAD as it's possible that there are links stuck in OPENING waiting for a redial timer.
* When we receive an LCP config REQ in Opened state,brian1998-08-011-6/+8
| | | | | | | | do TLD *before* processing the config request as TLD initialises the peers LCP values. It's strange that an IRC isn't required here - but I'll bow to the wisdom of the rfc.
* Cosmetic: Diagnostic wording (Unknown -> Unexpected)brian1998-08-011-4/+14
|
* Always dial immediately on ``open'', ``dial'' and ``call''.brian1998-07-313-31/+12
| | | | We don't need a ``!''.
* ndc hardcodes 'named' instead of using $named_program from rc.confphk1998-07-311-2/+2
| | | | | | PR: 7425 Reviewed by: phk Submitted by: frf <frf@xocolatl.com>
* Document meanings of flags to the -r and -s options.jkoshy1998-07-301-6/+28
|
* Allow an optional ``!'' in the open, dial & call commands.brian1998-07-295-59/+109
| | | | | When used, the redial timer is ignored and the modem is opened immediately.
* Use tcsetattr TCSANOW instead of TCSADRAIN so that dedicated mode doesn'tbrian1998-07-291-2/+3
| | | | end up blocking indefinitely when there's no carrier.
* Document the kern.logsigexit sysctl variable (sort of).joerg1998-07-291-1/+2
| | | | Reminded by: bde
* MAXPATHLEN is long enoughimp1998-07-291-2/+2
|
* when changing mktemp -> mkstemp, make sure to include the new simp1998-07-291-2/+2
|
* Fix temp file race in unused file. If someone wanted to clean theimp1998-07-291-13/+3
| | | | tree a little, many files here are likely ripe for removal...
* Silence ``Network unreachable'' warnings when usingbrian1998-07-284-19/+20
| | | | | | | | | | | | | | | | | | ``add .... HISADDR''. The network will never be reachable at this point unless we're in -auto or reading the command from ppp.linkup. We can now run the following lines and get the expected results: set ifaddr 1.2.3.4/0 5.6.7.8/0 add default HISADDR where a route is added immediately in auto mode and the whole thing is delayed 'till the IP numbers have been agreed in other modes. Essentially, ppp.linkup is no longer required.
* o Tidy up PAP and CHAP diagnostics. They're now all logged as PHASEbrian1998-07-282-21/+31
| | | | | | | diagnostics (which are on by default). o Deal correctly with both sides wanting CHAP. o Output a warning if we're using an empty ``authname''. This is *not* what we want to do.
* Don't exit() from cleanup() if we got there via a non-signal sincejkh1998-07-281-2/+3
| | | | | | we're only going to exit (after printing a more detailed error message) afterwards anyway. PR: 7020
* Paranoia: use mkdtemp instead of mktempnectar1998-07-281-4/+3
| | | | | PR: bin/3212 Reviewed by: jkh@FreeBSD.ORG
* Paranoia: use mkstemp instead of mktemp.nectar1998-07-271-6/+8
| | | | | PR: bin/3211 Reported by: Mark Pritchard <mpp@FreeBSD.ORG>
* Harlan.Stenn@pfcs.com added two (very interesting) options to syslogd forphk1998-07-271-3/+3
| | | | | | | | | | -current (Thanks Harald). However, on my attempt to try this on -STABLE, I found that when forwarding to another host the actual messages gets lost. This is due to a wrong index because when the -v option was added, the indexes shifted one place. PR: 7407 Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
* Add (struct timezone *) cast to NULL for K&Rache1998-07-241-4/+4
|
* Use NULL as gettimeofday arg instead of 0 castache1998-07-231-8/+8
| | | | | Add missing arg to error diagnostic Print yet one arg of error diagnostic
* last patch misapplied.phk1998-07-221-2/+2
|
* Add -u, -v and -vv options to syslogd, this improves the control andphk1998-07-223-17/+147
| | | | | | | logging verbosity about facility & priority levels. PR: 7278 Reviewed by: phk Submitted by: Harlan Stenn <Harlan.Stenn@pfcs.com>
* A comment in /usr/src/usr.sbin/ypserv/Makefile.ypphk1998-07-221-4/+3
| | | | | | | | | | (a.k.a. /var/yp/Makefile.dist) refers to an obsoleted usage of the -m option of rpc.yppasswdd. It is currently taken over by the -t option. -m is used for a different purpose now. PR: 7279 Reviewed by: phk Submitted by: Amakawa Shuhei <amakawa@nebula.sf.t.u-tokyo.ac.jp>
* This may apply to all known versions of inetd.phk1998-07-221-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | For a tcp/nowait connection, inetd invokes accept(2) for each pending connection; this call returns a file descriptor associated with the new connection. Twelve years ago, code was added to inetd to detect "failing servers". The heuristic that identifies a failing server is one that has been invoked a large number of times over some specified interval (e.g., more than 128 ftp services started in 60 seconds may flag the ftp service as "failing"). These compile-time constants vary depending on vendor. The problem is that, when a failing server is detected, the code neglects to close the file descriptor returned by the accept(2). Security-Implications: I suppose someone with ample free time could orchestrate an attack buy pummeling services until the inetd process finally runs out of file descriptors thus rendering inetd useless to any new connections that require a new descriptor. PR: 7286 Reviewed by: phk Submitted by: Jeff Forys <jeff@forys.cranbury.nj.us>
OpenPOWER on IntegriCloud