Hajimu UMEMOTO
a404ab168e
Check the return value from rad_cvt_ipv6prefix().
...
PR: bin/89808
MFC after: 1 week
2007-03-01 16:13:56 +00:00
Bernd Walter
f219cbb721
MFp4: struct fsm_opt_hdr needs to be __packed as it is used as an array for
...
handling wire data
This is required to get ppp working on arm.
2007-01-05 00:33:00 +00:00
Hajimu UMEMOTO
bba6dc1d5b
Listen to a control socket on an IPv4 as well through
...
an IPv4-mapped IPv6 address.
Reported by: Julian H. Stacey <jhs__at__flat.berklix.net>
Test by: Julian H. Stacey <jhs__at__flat.berklix.net>
MFC after: 1 week
2006-09-18 03:50:30 +00:00
Brian Somers
e5bec77751
Remove leading zeros
...
Suggested by: mdoc police (ru)
2006-09-06 15:58:59 +00:00
Brian Somers
d398d50285
Remove __DATE__ so that compiling the same source produces the same binary
...
(for non-static binaries at least).
2006-09-06 06:33:39 +00:00
Brian Somers
3026fd06ca
If the peer REJects our MRU request and that request is for a value
...
less than the current MTU, set our mtu to the value requested.
2006-09-06 06:23:55 +00:00
Ruslan Ermilov
e1fe3dba5c
Reimplementation of world/kernel build options. For details, see:
...
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html
The src.conf(5) manpage is to follow in a few days.
Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
2006-03-17 18:54:44 +00:00
Brian Somers
add176cd53
Fix a typo
...
Obtained from: OpenBSD
2005-09-22 11:18:30 +00:00
Brian Somers
343427d174
Remove this file as it's mostly out of date. Up-to-date info such as
...
the program's origin is already in the man page.
Update requested by: Xavier Venient & Jason McIntyre
2005-09-12 11:20:07 +00:00
Hajimu UMEMOTO
4f10131848
NI_WITHSCOPEID cleanup. Neither RFC 2553 nor RFC 3493 defines
...
NI_WITHSCOPEID, and our getaddrinfo(3) does nothing special
for it, now.
2005-05-13 16:31:11 +00:00
Brian Somers
fc1e80d469
The kernel doesn't need to include a tun device - the module will be loaded
...
on demand if required.
2005-05-06 16:13:32 +00:00
Jesus R. Camou
cebee7e48e
Update the manual page for ppp(8).
...
PR: docs/78605
Submitted by: John E. Hein <jhein@timing.com>
Approved by: trhodes (mentor)
MFC after: 1 day
2005-04-28 22:31:37 +00:00
Brian Somers
8ff1207b33
Be concerned about huge callback numbers by truncating them rather than
...
scribbling past the end of our buffer.
Problem spotted by: Damien COUDERC couderc at openbsd dot org
2005-02-15 10:59:54 +00:00
Ruslan Ermilov
36a142c455
Expand contractions.
2005-02-13 23:45:54 +00:00
Ruslan Ermilov
0227791b40
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
Brian Somers
23417e56ea
Use the correct length when copying trailing data!!
...
PR: 77104
Submitted by: Martin Birgmeier martin at email dot aon dot at
MFC after: 3 days
2005-02-08 10:38:24 +00:00
Brian Somers
880447787d
Add a radius_Flush() function that waits for the response (or timeout) to
...
any pending RADIUS transaction. Use this before sending RAD_STOP RADIUS
messages so that we definitely ``stop'' the session.
It was discovered that sometimes when the link timed out, we got lucky
enough to have an un-ACK'd RADIUS accounting transaction in progress,
resulting in the RAD_STOP message failing to send.
Original report found on: A russion news group
Text translated by: glebius
Tested by: Alexey Popov llp at iteranet dot com
MFC after: 7 days
2005-01-27 14:09:33 +00:00
Ruslan Ermilov
3ac17feb8a
Fixed xref.
2005-01-21 10:48:35 +00:00
Ruslan Ermilov
1a74e6a157
Scheduled mdoc(7) sweep.
2005-01-11 11:47:22 +00:00
Brian Somers
ec91ed9155
Use the standard BSD copyright as per OpenBSD and /sys/net/slcompress*
2005-01-10 11:47:17 +00:00
Brian Somers
00d9db0314
Cast unsigned variables to int
2005-01-10 11:12:36 +00:00
Brian Somers
50be714be3
ifr_flagshigh is FreeBSD specific
2005-01-10 11:12:10 +00:00
Brian Somers
eb1ecbb230
Integrate some OpenBSD alignment fixes. This hopefully also fixes PR 38058...
...
Obtained from: Brad <brad@comstyle.com>
2005-01-10 09:48:51 +00:00
Ruslan Ermilov
b5b0bba4df
NOPAM -> NO_PAM
2004-12-21 12:49:24 +00:00
Ruslan Ermilov
dd991de030
Overhaul ppp(8) build options so they are safe to use in
...
/etc/make.conf:
NOALIAS -> retired (support provided by PPP_NO_NAT)
NOATM -> PPP_NO_ATM (also subject to NO_ATM global)
NODES -> PPP_NO_DES (support was broken, now recovered)
NOI4B -> PPP_NO_I4B (also subject to NO_I4B global)
NOKLDLOAD -> PPP_NO_KLDLOAD
NONAT -> PPP_NO_NAT
NONETGRAPH -> PPP_NO_NETGRAPH
NOPAM -> PPP_NO_PAM (will be subject to NO_PAM global)
NORADIUS -> PPP_NO_RADIUS
NOSUID -> retired (support provided by PPP_NO_SUID)
PPP_NOSUID -> PPP_NO_SUID
2004-12-21 12:01:15 +00:00
Ruslan Ermilov
564299ef5f
The C define is NONAT.
2004-12-21 11:12:05 +00:00
Ruslan Ermilov
731db6a428
NOINET6 -> NO_INET6
2004-12-21 10:49:29 +00:00
Ruslan Ermilov
a216173556
NOCRYPT -> NO_CRYPT
2004-12-21 10:16:04 +00:00
Ruslan Ermilov
07736e20e9
NOATM -> NO_ATM
2004-12-21 09:08:06 +00:00
Peter Pentchev
3f8718c17d
Describe the special meaning of the $ and ~ characters, and the fact
...
that you can get around it by double-quoting them.
PR: 42762
Submitted by: AIDA Shinra <aida-s@jcom.home.ne.jp>
Discussed with: brian
2004-12-16 16:59:19 +00:00
Brian Somers
125eb366ea
Implement an ``enable/disable echo'' option, defaults to off.
...
This allows LCP ECHOs to be enabled independently of LQR reports.
Note: This introduces a change in the default behaviour (search for lqr and
echo in the man page). I'll update UPDATING to reflect this.
PR: 74821
2004-12-13 12:51:19 +00:00
Brian Somers
0508c09a41
Send NAS-IP-Address as well as NAS-Identifier
...
Add ``disable NAS-IP-Address'' and ``disable NAS-Identifier'' options to
support pre-rfc2865 RADIUS servers.
This pushes our enable/disable items over the 32 bit limit, so reoganise
things to allow a bunch more options.
Go to version 3.4.1 so that any compatability problems can be identified.
2004-11-29 17:11:15 +00:00
David E. O'Brien
37c510c7c0
Catch up with PHK's sio(4) cuaa->cuad rework [sys/dev/sio/sio.c rev. 1.456].
...
PR: 73879
Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>
2004-11-19 03:56:47 +00:00
Ruslan Ermilov
a35d88931c
For variables that are only checked with defined(), don't provide
...
any fake value.
2004-10-24 15:33:08 +00:00
Brian Somers
2167678b9c
Handle a malloc() failure when allocating urgent ports
...
PR: 59995
2004-10-11 10:21:53 +00:00
Brian Somers
5d604c1161
Add a bunch of malloc() return checks
...
PR: 71592
Submitted by: Dan Lukes <dan@obluda.cz> with further changes
2004-10-11 09:45:58 +00:00
Ruslan Ermilov
1ffcdfc986
Fixed the NONETGRAPH build.
...
Reported by: wsk@gddsn.org.cn
2004-09-13 19:04:03 +00:00
Poul-Henning Kamp
eae11b7e7d
Mark bundle as unused in case we're compiled with NORADIUS.
2004-09-07 15:48:27 +00:00
Marcel Moolenaar
3b39173d4b
Fix the NOSUID build: make sure we have the kldload(2) prototype.
2004-09-07 06:28:00 +00:00
Brian Somers
f2f076a92a
Build with -DNOINET6...
2004-09-06 23:54:54 +00:00
Marcel Moolenaar
7a31cc1039
Reduce WARNS level to 3. Casting causes alignment warnings on platforms
...
with strong alignment (All 64-bit platforms, except amd64).
2004-09-06 05:57:42 +00:00
Marcel Moolenaar
1814213e06
Fix the build on 64-bit platforms.
2004-09-06 00:07:58 +00:00
Brian Somers
48f98fe46a
Fix a warning
...
Submitted by: Stefan Farfeleder <stefanf at FreeBSD dot org>
2004-09-05 12:32:20 +00:00
Brian Somers
057f1760a8
Make ppp WARNS=5 clean
2004-09-05 01:46:52 +00:00
Colin Percival
d37df47d31
Join the 21st century: Cryptography is no longer an optional component
...
of releases. The -DNOCRYPT build option still exists for anyone who
really wants to build non-cryptographic binaries, but the "crypto"
release distribution is now part of "base", and anyone installing from a
release will get cryptographic binaries.
Approved by: re (scottl), markm
Discussed on: freebsd-current, in late April 2004
2004-08-06 07:27:08 +00:00
Gleb Smirnoff
b5bc6d4db0
Add configuration option "set pppoe [standard|3Com]" which allows
...
to configure mode for ng_pppoe(4) node under control.
Reviewed by: brian
Approved by: julian (mentor)
2004-07-29 05:59:43 +00:00
Alexander Kabaev
1bb0b6dee7
Avoid casts as lvalues.
2004-07-28 07:20:04 +00:00
Brian Somers
b00fb49742
Report the number of bytes not written when complaining about failed writes
2004-07-20 01:42:30 +00:00
Brian Somers
e715b13bca
Support a ``set rad_alive N'' command to enable periodic RADIUS accounting
...
information being sent to the RADIUS server.
Logging of RADIUS accounting information moves to a ``set log [+-]radius''
level, along with the RADIUS alive info, and the version number is bumped
to 3.2 to reflect this.
Mostly submitted by: alx@sm.ukrtel.net (back in January)
MFC after: 3 weeks
2004-07-17 01:07:53 +00:00
Brian Somers
6489fd2148
Fix ``set ifaddr''. The code was actually using an uninitialised variable,
...
but conveniently, because ncpaddr.ncpaddr_family != AF_INET, the call to
ncpaddr_getip4addr() became a no-op leaving the local address as it was
(defaulting to whatever my hostname resolves to).
PR: 62050
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
MFC after: 3 days
2004-07-15 09:42:16 +00:00