| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
time_t. Deal with the possibility that time_t != int32_t. This boils
down to this sort of thing:
- time(&ut.ut_time);
+ ut.ut_time = time(NULL);
and similar for ctime(3) etc. I've kept it minimal for the stuff
that may need to be portable (or 3rd party code), but used Matt's time32
stuff for cases where that isn't as much of a concern.
Approved by: re (jhb)
|
|
|
|
|
|
| |
the module compiled in or loaded instead of bogusly checking for ppp0.
Also if and only if the caller is actually root and the kernel does not
have ppp support, try to load the ppp module before giving up.
|
|
|
|
| |
Approved by: peter
|
| |
|
| |
|
|
|
|
|
|
| |
PR: 37680
Submitted by: Scott Bertilson <scott@nts.umn.edu>
MFC after: 2 weeks
|
|
|
|
|
|
|
|
| |
PR: i386/34607
Not objected by: peter
Approved by: ru
Obtained from: ppp-2.4.1b2
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
/usr/share/examples/pppd.
Update pppd(8) documentation to reflect this, usr.sbin/pppd/pppd.8.
Remove the out-of-place pppd(8) configuration files in etc/ppp,
ppp.shells.sample and ppp.deny.
Make the appropriate changes to the build process, etc/Makefile and
etc/mtree/BSD.usr.mtree, so it all works.
The files from etc/ppp, ppp.shells.sample and ppp.deny, were moved
with a repo copy. Note it in the logs with a forced commit to these
two.
Submitted by: Maxim Konovalov <maxim@macomnet.ru> provided the new samples.
|
|
|
|
|
|
| |
PR: 11989
Submitted by: Phil Homewood <phil@rivendell.apana.org.au>
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
in the signal handlers which may pose a risk when executable by untrusted
users.
Submitted by: Przemyslaw Frasunek <venglin@freebsd.lublin.pl>
MFC After: 3 days
|
|
|
|
|
| |
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
|
| |
|
|
|
|
| |
- MAN[1-9] -> MAN.
|
| |
|
|
|
|
| |
Compatability is not an existing english word.
|
|
|
|
| |
Use _PATH_* where where possible.
|
| |
|
|
|
|
|
|
| |
This should fix the buildworld problems some people were seeing.
Approved by: jkh
|
|
|
|
| |
Approved by: jkh
|
|
|
|
|
| |
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
incarnated, it just matches other deficiencies related to crunchgen
and friends... and we already have similar code in ppp/Makefile.
RELEASE_CRUNCH should be axed, but for now let's be consistent.
Submitted by: Patrick Powell <papowell@astart.com>
|
|
|
|
|
|
|
| |
the reported connection time.
PR: 11943
Submitted by: Peter Mutsaers <plm@xs4all.nl>
|
|
|
|
|
|
|
|
|
| |
sizeof(ifr->ifr_addr) for the variable length field ifr->ifr_addr.sa_len.
Otherwise the increment will be wrong in certain cases.
Obtained from: Whistle source tree
For the record: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> suggests
SIOCGIFCONF should be dropped in favor of a sysctl mechanism.
|
|
|
|
|
|
|
|
|
| |
Enable MS-CHAP support.
release/Makefile:
Build a separate NOCRYPT version of pppd, to keep This Great
Nation's top-secret cryptographic tools out of the filthy hands
of those evil furriners.
|
|
|
|
|
|
|
|
|
|
| |
MD4Update(), but our version in libmd expects a byte count.
This code is not currently compiled or linked into pppd, so I'm
reasonably sure I didn't break anything. :-) I added the necessary
statements to the Makefile, but left them commented out because we
are in feature freeze. When the code is enabled, we must be careful
to build it only if the DES library is available.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
24 (which is magnalink!) rather than the correct (according to the rfc) 26.
Initial attempt at a compatability kludge that will negotiate for either
but will prefer to use the correct deflate compression type.
|
| |
|
| |
|
| |
|
|
|
|
| |
options file but there was no suitable secret in the secrets file.
|
|
|
|
|
| |
Log us out of utmp & wtmp if we're already in there.
PR: 4862
|
|
|
|
|
|
|
| |
don't claim that _any_ serial speed is settable, mention that it has to
be supported by the device driver. Some have very flexible baud rate
selection (ie: based on divisors etc, such as the com ports), while others
have explicit baud rate choices.
|
| |
|
|
|
|
|
| |
this limits the number of retries before aborting. This can save
expensive phone bills. :-) See rev 1.6 of main.c for original.
|
|
|
|
| |
local:remote IP addresses on the command line or the options.ttynn files.
|
|
|
|
|
|
|
|
|
| |
- (see auth.c rev 1.13) allow the pap/chap secrets file to specify an
override for the otherwise hard coded IP addresses. This allows specific
users to dial in on a rotary which would otherwise get a dynamic address
forced to authenticate and get their own fixed addresses.
- (see options.c rev 1.9) recognize the old dns1 and dns2 options. This
is a hack (TM). :-)
|
|
|
|
| |
duplicate cbcp.c in SRCS... :->
|
| |
|
|
|
|
|
|
| |
composite of other files)
Reminded by: pst
|
|
|
|
| |
connect script to main.c that can cause problems on bsd-style tty systems.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
dial-on-demand, packet filtering, idle timeouts, etc). The IPX support
is pretty much there but more work needs to be done in sys-bsd.c for
the interface ioctls (Linux has a very different way of configuring IPX
interfaces).
Along the way some things have temporarily been lost due to very messy
conflicts. I will recover them shortly when I can think clearer.
The main one is the local:remote address override in pap-secrets and
chap-secrets. Some other home-grown features (dns1,dns2) have been
implemented differently. Microsoft's chap client auth hacks have been
implemented. There are bound to be more rough edges... The changes for
connect-max-retries doesn't fit well with the dial-on-demand code.
|
|
|
|
|
|
| |
mixed up versions. Also, these were imported onto the 1.1.2 branch
(since the last one was imported there, sigh) and that causes cvsup in
checkout mode some problems (there isn't any 1.1.1 branch at all!!).
|
| |
|