| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
|
|
|
|
|
|
|
|
| |
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix
|
|
|
|
|
| |
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D39730
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.
The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
No functional change intended.
Notes:
svn path=/head/; revision=326276
|
|
|
|
|
|
|
|
|
| |
PR: 151400
Submitted by: Aragon Gouveia - aragon at phat dot za dot net with minor fixes
MFC after: 3 weeks
Notes:
svn path=/head/; revision=218397
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
create stdin and stdout, don't blindly try to use stdin as a bi-directional
channel. Instead, detect the pipe and set up a special exec handler
that indirects write() calls through stdout.
This fixes the problem where ``set device "!ssh -e none host ppp
-direct label"'' no longer works with an openssh-5.2 server side as
that version of openssh ignores the USE_PIPES config setting and
*always* uses pipes (rather than socketpair) for stdin/stdout channels.
MFC after: 3 days
Notes:
svn path=/head/; revision=196514
|
|
|
|
| |
Notes:
svn path=/head/; revision=177100
|
|
|
|
| |
Notes:
svn path=/head/; revision=139116
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=138198
|
|
|
|
| |
Notes:
svn path=/head/; revision=134789
|
|
|
|
|
|
|
| |
Suggested by: mike
Notes:
svn path=/head/; revision=102500
|
|
|
|
|
|
|
| |
Submitted by: Federico G. Schwindt <fgsch@olimpo.com.br>
Notes:
svn path=/head/; revision=98970
|
|
|
|
|
|
|
|
|
| |
in our headers.
Submitted by: bde
Notes:
svn path=/head/; revision=97140
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Bump version number to 3.0.4
o When talking to a RADIUS server, provide a NAS-Port-Type.
When the NAS-Port-Type is Ethernet, provide a NAS-Port value equal
to the SESSIONID from the environment in direct mode or the
NGM_PPPOE_SESSIONID message in other modes. If no SESSIONID is found,
default to the interface index in client mode or zero in server mode.
When the NAS-Port-Type is ISDN, set the NAS-Port to the minor number
of the physical device (ie, the N in /dev/i4brbchN).
This makes it easier for the RADIUS server to identify the client
WRT accounting data etc.
Prompted by: lsz8425 <lsz8425@mail.cd.hn.cn>
Notes:
svn path=/head/; revision=96582
|
|
|
|
|
|
|
|
| |
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
Notes:
svn path=/head/; revision=95258
|
|
|
|
|
|
|
|
|
|
|
| |
discipline to do the async escaping, but no other benefits are available yet.
Change ``ifdef HAVE_DES'' to ``ifndef NODES'' for consistency.
Make the Makefile a little more sane WRT RELEASE_CRUNCH.
Notes:
svn path=/head/; revision=93418
|
|
|
|
|
|
|
|
| |
available, default ipv6cp to disabled and refuse to let the user
enable it.
Notes:
svn path=/head/; revision=81697
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
structures (well, they're treated as opaque).
It's now possible to manage IPv6 interface addresses and routing
table entries and to filter IPV6 traffic whether encapsulated or
not.
IPV6CP support is crude for now, and hasn't been tested against
any other implementations.
RADIUS and IPv6 are independent of eachother for now.
ppp.linkup/ppp.linkdown aren't currently used by IPV6CP
o Understand all protocols(5) in filter rules rather than only a select
few.
o Allow a mask specification for the ``delete'' command. It's now
possible to specifically delete one of two conflicting routes.
o When creating and deleting proxy arp entries, do it for all IPv4
interface addresses rather than doing it just for the ``current''
peer address.
o When iface-alias isn't in effect, don't blow away manually (via ``iface
add'') added interface addresses.
o When listening on a tcp server (diagnostic) socket, bind so that a
tcp46 socket is created -- allowing both IPv4 and IPv6 connections.
o When displaying ICMP traffic, don't display the icmp type twice.
When display traffic, display at least some information about unrecognised
traffic.
o Bump version
Inspired after filtering work by: Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
Notes:
svn path=/head/; revision=81634
|
|
|
|
| |
Notes:
svn path=/head/; revision=79186
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
envoked -- don't use them (as return values from open()), then
(say) close(STDIN_FILENO) when daemonising.
This is done by grabbing 3 descriptors to /dev/null at startup and
releasing them after we've daemonised.
MFC after: 1 week
Notes:
svn path=/head/; revision=79173
|
|
|
|
|
|
|
| |
Approved by: Toshiharu OHNO <tohno@sirius.ocn.ne.jp>
Notes:
svn path=/head/; revision=78189
|
|
|
|
| |
Notes:
svn path=/head/; revision=75120
|
|
|
|
| |
Notes:
svn path=/head/; revision=74687
|
|
|
|
|
|
|
|
|
|
|
|
| |
Allow ``set server open'' to re-open the diagnostic socket.
Handle SIGUSR1 by re-opening the diagnostic socket
When receiving SIGUSR2 (and in ``set server none''), don't forget the
socket details so that ``set server open'' and SIGUSR1 open it again.
Don't create the diagnostic socket as uid 0 ! It's far to dangerous.
Notes:
svn path=/head/; revision=71657
|
|
|
|
|
|
|
| |
Make some functions static.
Notes:
svn path=/head/; revision=67912
|
|
|
|
| |
Notes:
svn path=/head/; revision=66898
|
|
|
|
| |
Notes:
svn path=/head/; revision=59104
|
|
|
|
|
|
|
|
|
|
|
| |
when we're redialing/reconnecting.
While we're here, log redial, reconnect and phone number
announcements to LogCHAT, and reduce some other logging to
LogDEBUG.
Notes:
svn path=/head/; revision=59084
|
|
|
|
|
|
|
|
|
|
|
| |
dropping out of background/foreground/direct mode.
This avoids either having to wait for the redial timer before
exiting or jaming up in select() waiting for something that'll
never happen.
Notes:
svn path=/head/; revision=58453
|
|
|
|
| |
Notes:
svn path=/head/; revision=58038
|
|
|
|
|
|
|
|
| |
exactly the same in FreeBSD & OpenBSD despite libalias and libradius
being local to the ppp sources under OpenBSD.
Notes:
svn path=/head/; revision=58037
|
|
|
|
|
|
|
|
|
| |
is aligned. Teach this to ``show route''.
Clean up some of the sockaddr parsing routines.
Notes:
svn path=/head/; revision=58032
|
|
|
|
|
|
|
| |
``struct descriptor'' -> ``struct fdescriptor''
Notes:
svn path=/head/; revision=58028
|
|
|
|
| |
Notes:
svn path=/head/; revision=56350
|
|
|
|
|
|
|
| |
Submitted by: Rich Neswold <rneswold@MCS.Net>
Notes:
svn path=/head/; revision=55146
|
|
|
|
| |
Notes:
svn path=/head/; revision=53889
|
|
|
|
|
|
|
| |
``set mode foreground'' etc.
Notes:
svn path=/head/; revision=53830
|
|
|
|
| |
Notes:
svn path=/head/; revision=53298
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
doing a HangupDone(). The HangupDone() may fuel
bundle_CleanDatalinks(), and if so, the bogus
UpdateSet() ends up select()ing on a closed
descriptor.....
Change the main `do/while' loop to a `for' loop so
that any `continue's do the bundle_CleanDatalinks()
& bundle_IsDead() bit.
Notes:
svn path=/head/; revision=53070
|
|
|
|
|
|
|
|
|
| |
``-unitX''.
Pointed out twice by: Gert-Jan Vons <gert-jan@bigfoot.com>
Notes:
svn path=/head/; revision=53067
|
|
|
|
|
|
|
| |
Submitted by: Gert-Jan Vons <gert-jan@bigfoot.com>
Notes:
svn path=/head/; revision=53043
|
|
|
|
|
|
|
|
|
| |
Warn about -alias being depricated (but still allow it).
Don't moan twice about failing to open any tun device.
Fix a diagnostic and add the -quiet switch to the usage message.
Notes:
svn path=/head/; revision=52396
|
|
|
|
| |
Notes:
svn path=/head/; revision=50479
|
|
|
|
|
|
|
|
|
|
|
|
| |
that ppp stays in the foreground.
o Add the -quiet switch to quieten ppps startup
o Add the -nat flag and discourage the use of the -alias flag. Both do
the same thing.
o Correct some nat usage strings.
o Change the internal ``alias'' command to ``nat''.
Notes:
svn path=/head/; revision=50059
|
|
|
|
|
|
|
|
|
|
| |
writable rather than not being writable at all.
PR: 13009
Kind-of submitted by: Anthony Kimball <alk@pobox.com>
Notes:
svn path=/head/; revision=49581
|
|
|
|
|
|
|
| |
mode.
Notes:
svn path=/head/; revision=47119
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the layering.
We now ``stack'' layers as soon as we open the device (when we figure
out what we're dealing with). A static set of `dispatch' routines are
also declared for dealing with incoming packets after they've been
`pulled' up through the stacked layers.
Physical devices are now assigned handlers based on the device type
when they're opened. For the moment there are three device types;
ttys, execs and tcps.
o Increment version number to 2.2
o Make an entry in [uw]tmp for non-tty -direct invocations (after
pap/chap authentication).
o Make throughput counters quad_t's
o Account for the absolute number of mbuf malloc()s and free()s in
``show mem''.
o ``show modem'' becomes ``show physical''.
Notes:
svn path=/head/; revision=46686
|
|
|
|
| |
Notes:
svn path=/head/; revision=46086
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
need to process a signal (usually a SIGALRM). Check to see
if we need to process a signal both before *and* after calling
select() as older (pre-2.0) versions of ppp used to.
This handles the possibility that ppp may block at some
point (maybe due to an open() of a misconfigured device).
Previously, we'd potentially lock up in select().
The `necessary' marker reduces the increased signal checking
overhead so that at full speed with no compression transferring
an 83Mb file via a ``!ppp -direct'' device, we get a 1%
throughput gain.
Notes:
svn path=/head/; revision=45126
|
|
|
|
|
|
|
|
|
| |
in OpenBSD as well as FreeBSD (I still don't know why).
Add a debug diagnostic when creating a child process as
a link.
Notes:
svn path=/head/; revision=44539
|