summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Fixed printf format errors.bde1998-07-063-12/+12
|
* Removed bogus #ifdef INET - <net/if_slvar.h> no longer depends on it.bde1998-07-061-3/+1
|
* Correct use of .Nm. Spelling. Add rcsid and remove unused #includes.charnier1998-07-068-42/+48
|
* Document `-I' and `-R' options to `pkg_info'.jkoshy1998-07-061-0/+5
| | | | PR: 7155
* Don't disable ^D in interactive mode.brian1998-07-041-2/+4
| | | | Wished for by: pkh
* Don't require context when there's only one linkbrian1998-07-041-6/+8
| | | | for ``open lcp''
* MF22: check for null pointer.jkh1998-07-041-2/+6
|
* Make things clearer.brian1998-07-041-7/+49
| | | | Submitted (some time ago) by: Ted Mittelstaedt <tedm@portsoft.com>
* Version 2.0-beta becomes 2.0 :-)brian1998-07-041-3/+3
|
* Suggest port 8668 rather than 6668 for natd.brian1998-07-041-1/+1
| | | | 6668 is IRC.
* Only start checking carrier when the datalink state machinebrian1998-07-032-12/+12
| | | | | | | | exceeds DATALINK_READY. When we go back to READY or less (eg. ``close lcp''), switch the carrier-checking-timer off again. This fixes the callback example in ppp.conf.sample. Noted as broken by: Damian Kuczynski <damian@best.pw.edu.pl>
* Fix off by 1 error.guido1998-07-021-2/+2
|
* /var/log/wtmp entries for ptys are treated differently in ac, sincephk1998-07-021-3/+3
| | | | | | | | | they may not be logins. The code for determining whether it is a pty entry is broken. PR: 7137 Reviewed by: phk Submitted by: Tom Rush <tarush@mindspring.com>
* The CCP layer now behaves as follows:brian1998-06-305-15/+41
| | | | | | | | | | | | | o If we've denied and disabled all compression protocols, stay in ST_INITIAL and do an LCP protocol reject if we receive any CCP packets. o If we've disabled all compression protocols, go to ST_STOPPED and wait for the other side to ask for something. o If we've got anything enabled, start REQing as soon as the auth layer is up. o If we're in multilink mode, than the link level CCP goes straight to ST_STOPPED irrespective of what's configured so that we never try to compress compressed stuff by default.
* Don't assume that time_t is long.bde1998-06-291-2/+2
|
* Don't assume that time_t is long. Fixed printf format errors.bde1998-06-291-4/+6
|
* Don't assume that time_t is long.bde1998-06-293-9/+18
|
* Don't assume that time_t is long.bde1998-06-291-2/+4
|
* Don't assume that time_t is long. Fixed printf format errors (don'tbde1998-06-291-20/+27
| | | | assume that ntohl() returns long).
* Don't assume that time_t is long.bde1998-06-291-2/+5
|
* Don't assume that time_t is long.bde1998-06-291-2/+4
|
* Crank the max possible disks/slices constants way down.jkh1998-06-292-12/+12
| | | | | The probe for this sometimes makes IDE drives chatter their guts out and takes an inordinately long time in such cases..
* o Fix remaining sizeof problems for 64 bit machines.brian1998-06-2722-209/+261
| | | | | | | | | | o Allow ``set ....'' when we have multiple links but aren't in multilink mode. o Do a TLS when we receive a ``Open'' event in ``Closed'' state, despite the rfc state transition table. This is clearly an error in the RFC as TLS cannot have yet been called (without TLF) in the ``Closed'' state. I've posted a message to comp.protocols.ppp for confirmation.
* Note in log file if messages are being forwarded from asteve1998-06-271-2/+9
| | | | | | | remote machine. PR: 7055 Submitted by: Edwin Groothus <edwin@nwm.wan.philips.com>
* Typo.steve1998-06-271-2/+2
| | | | | PR: 7093 Submitted by: Stefan Eggers <seggers@semyam.dinoco.de>
* More u_long -> u_int32_tbrian1998-06-271-3/+3
|
* I find it *really* irritating that you can't ``cvs rm''brian1998-06-272-224/+0
| | | | things without removing them first.
* Remove redundant includesbrian1998-06-2717-63/+26
|
* Don't dlopen()/dlsym() libalias, use it in the same waybrian1998-06-279-56/+110
| | | | as the rest of the world uses libraries.
* Don't assume ``sizeof(u_long) == 4''brian1998-06-274-13/+13
| | | | Submitted by: Theo
* Cast void * to char * for log_Printf().brian1998-06-271-2/+2
|
* ``struct tunnel_header'' -> u_int32_t in OpenBSD.brian1998-06-274-10/+7
| | | | | | struct tunnel_header is going soon. Suggested by: Theo
* Don't depend on sizeof(u_long) == 4.brian1998-06-261-4/+4
|
* DISTRIBUTION=desbrian1998-06-261-1/+2
|
* Document environment variables used by pkg_{add,create,info}. Thesejkoshy1998-06-263-2/+108
| | | | | | | include PKG_TMPDIR, TMPDIR, PKG_DBDIR. Add a FILES section to these manual pages. PR: docs/7064
* Add ``ipcp'' as an optional argument to ``open'', and makebrian1998-06-259-57/+143
| | | | | | | | | open capable of re-negotiatiating the various layers. It is now possible to change various link options and then re-open the relevant layer, making the changes effective - for example, switching off VJ compression or starting ECHO LQRs on-the-fly.
* A long time ago I hacked mountd so that it would deal intelligentlywpaul1998-06-251-3/+5
| | | | | | | | | | with export lines where the same hostname was specified more than once (this happens a lot with netgroups sometimes). Recently I discovered that it needs to be hacked to deal with multiple instances of the same IP address too. I've been using this modification locally for several months with no hassles.
* Implement new argument -l (OpenBSD has -a but we already use that).guido1998-06-252-59/+98
| | | | | | | This allows one to specify additional sockets in the unix domain that syslogd listens to. Its primary use is to create log sockets in chroot environments. Obtained from:OpenBSD (with a bug fixed d
* Reviewed by: guido@mouse.gvr.orgjulian1998-06-241-25/+18
| | | | | | Submitted by: Archie@whistle.com redo the last patch to allow differentiated kernel logging in a much better way.
* Oops - forgot these with the last commit.brian1998-06-242-0/+91
|
* o If we come out of select() with only write descriptors thatbrian1998-06-2410-31/+71
| | | | | | | | | | | end up writing zero bytes, sleep for 1/10 of a second so that we don't end up using up too much cpu. This should only ever happen on systems that wrongly report a descriptor as writable despite the tty buffer being full. Discussed with: Jeff Evarts o Do an initial run-time check to see if select() alters the passed timeval. This knowledge isn't yet used, but will be soon.
* MF22: more explanatory message from config on version mismatch detection.jkh1998-06-241-2/+5
|
* Forgot to resync the RELNOTES to 2.3.5peter1998-06-231-3/+56
|
* Suggest the use of ``accept dns'', not ``enable dns'' inbrian1998-06-212-4/+4
| | | | server mode.
* remove old hack that's no longer needed and now breaks the compilepeter1998-06-211-5/+2
|
* Correct punctuation.mph1998-06-211-4/+4
|
* Merge ppp 2.3.3 -> 2.3.5 changes onto mainline.peter1998-06-2014-355/+488
|
* Do an InitRestartCounter when we get a TerminateReqbrian1998-06-201-1/+2
| | | | | | in Opened state..... I have no idea why this never caused problems in the past - maybe the restart counter was bogusly initialised somewhere else :-/
* Re-initialise our timer service after fork()ingbrian1998-06-203-7/+8
| | | | | | to lose our terminal session. Is this a bug in setitimer() ? - it must be called again in the child !
* Create & use fsm2initial(), a function to bring abrian1998-06-206-49/+35
| | | | | state machine back to ST_INITIAL without going through any unnecessary TLS/TLF pairs.
OpenPOWER on IntegriCloud