summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp
AgeCommit message (Collapse)Author
2000-09-14Fix some style nitsbrian
2000-09-14Support PPPoATM, disabled for now as /usr/include/netnatm doesn't existbrian
Submitted by: Jakob Stoklund Olesen <stoklund@taxidriver.dk>
2000-09-14Understand IPPROTO_ESP and IPPROTO_AH packetsbrian
Submitted by: Angelos D. Keromytis <angelos@dsl.cis.upenn.edu>
2000-09-07Remove redundant includesbrian
2000-09-06Correct a typo; Dag-Erling Smorgrav <des@ofug.org>brian
2000-09-02strtok() -> strsep()brian
2000-09-02name-server -> nameserverbrian
2000-09-02Don't delete sticky routes on exit as we may not have successfullybrian
added them yet. Instead just rely on our deleting all routes associated with our interface.
2000-09-02Some misc tidyupsbrian
strtok() -> strsep() Handle icmp replies for requests originating outside the ``public'' interface correctly Obtained from: FreeBSD
2000-08-31Use arc4random() instead of random()brian
Suggested by: Theo
2000-08-30Don't treat two or more whitespace followed by a comment asbrian
an empty argument
2000-08-30Complain about invalid arguments passed to ``set ifaddr''brian
2000-08-29Fix LogMAX; Mark Hannon <markhannon@one.net.au>brian
2000-08-29Use srandom(); Matt Behrens <matt@megaweapon.zigg.com>brian
2000-08-28Add LogFILTER logging to log packets allowed by the dial filter andbrian
dropped by any filter. Submitted by: Mark Hannon <markhannon@one.net.au> with some small tweaks by me.
2000-08-28Support radius accounting, and add a packet count to throughputbrian
statistics as a side effect. Submitted by: Marcin Cieslak <saper@system.pl> with some tweaks to RAD_ACCT_SESSION_ID and RAD_ACCT_MULTI_SESSION_ID generation by me.
2000-08-18Make -DNOSUID (or -DPPP_NOSUID) possible to build ppp without SUIDbrian
capabilities.
2000-08-18Make -DNOSUID (or -DPPP_NOSUID) possible to build ppp without SUIDbrian
capabilities.
2000-08-18Warn that the ``alias'' command is depricated.brian
We still process it for now though.
2000-08-17If we're in MP mode with a single open link, MP link level compressionbrian
isn't open and the links MRU >= our MRRU, send outbound traffic as PROTO_IP rather than PROTO_MP. This shaves some bytes off the front of each packet 'till the second link is brought up. Idea obtained from: Cisco
2000-08-16ISDN B channels have a bandwidth of 64000, not 65536brian
Pointed out by: Christian Weisgerber <naddy@mips.inka.de>
2000-08-16If the -p option is used, use setproctitle() to hide it's argumentbrian
(a password) asap.
2000-08-16setproctitle() doesn't need to be called with root privs, so movebrian
it from id.c into defs.c
2000-08-16Default the bandwidth of an ISDN B channel to 65536bpsbrian
2000-08-15SIGSEGV fix for FW_PUNCH code (not used in OpenBSD); FreeBSDbrian
2000-08-15Maintain input and output throughput averages and choose the highestbrian
of the two when calculating the MP throughput average for the ``set autoload'' implementation. This makes more sense as all links I know of are full-duplex. This also means that people may need to adjust their autoload settings as 100% bandwidth is now the theoretical maximum rather than 200% (but of course, halfing the current settings is probably not the correct answer either!). This involves a ppp version bump as we need to pass an extra throughput array through the MP local domain socket.
2000-08-15Calculate the average link throughput using a counter based on thebrian
cumulative total of all active links rather than basing it on the total of PROTO_MP traffic. This fixes a problem whereby Cisco routers send PROTO_IP packets only when there's only one link (hmm, what a good idea!).
2000-08-13Add forgotten filebrian
2000-08-13Add support for streaming media; FreeBSDbrian
Add support for radius accounting in radlib.c (not yet working in ppp); FreeBSD
2000-08-11If ``set title'' is given a `-' as the first character of thebrian
first arg, move it into the setproctitle() format string. This is only actually useful on FreeBSD.
2000-08-10Mention that pppoe requires netgraph(4) and without it, an externalbrian
pppoe program must be used (such as pppoe(8)).
2000-08-09Allow leading ``!'' characters in authkeys and chat scripts tobrian
be doubled up to mean a single literaly ``!''.
2000-07-20Don't mis-interpret sockaddr_in6 structures as sockaddr_in structuresbrian
when purging routes.
2000-07-19Support link identification from rfc1570brian
Add VERSION and COMPILATIONDATE macros Two new commands are available; ``ident'' and ``sendident''.
2000-07-12Permit multiple ``allow user'' lines in any given sectionbrian
This avoids line length limits when large numbers of users are allowed access to ppp.
2000-07-12Correct ``set filter'' usagebrian
Spotted by: sheldonh@FreeBSD.org CVS: ---------------------------------------------------------------------- CVS: PR: Fill this in if a GNATS PR is affected by the change. CVS: Submitted by: Fill this in if someone else sent in the change. CVS: Reviewed by: Fill this in if someone else reviewed your modification. CVS: Approved by: Fill this in if you needed approval for this commit. CVS: Obtained from: Fill this in if the change is from third party software. CVS: ---------------------------------------------------------------------- CVS: Enter Log. Lines beginning with `CVS:' are removed automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: CVS: ppp.8 CVS: ----------------------------------------------------------------------
2000-07-12Fix a rather nasty latency problem that occurs with single tcp sessionsbrian
thorough an MP setup with only a single link.
2000-07-11Allow a ``timeout secs'' filter option to let specific packet typesbrian
effect the idle timer in different ways. Submitted by: Stefan Esser <se@freebsd.org> With adjustments by me to document the option in the man page and to give the same semantics for outgoing traffic as incoming. I made the style more consistent in ip.c - this should really have been done as a separate commit.
2000-07-11Fix -auto breakage introduced with the last commitbrian
2000-07-07o Log the (payload/size) of all packet types, not just TCP packetsbrian
o If the new ``filter-decapsulation'' is enabled, delve into UDP packets that contain 0xff 0x03 as the first two bytes, and if we recognise it as PROTO_IP, decapsulate it for the purpose of filter checking. If we recognise it as PROTO_<anything else> mention this for logging purposes only. This change is aimed at people running PPPoUDP where the UDP traffic is being sent over another PPP link. It's desireable to have the top level link connected all the time, but to have the bottom level link capable of decapsulating the traffic and comparing the payload against the filters, thus allowing ``set filter dial ...'' to work in tunnelled environments. The caveat here is that the top ppp cannot employ any compression layers without making the data unreadable for the bottom ppp. ``disable deflate pred1 vj'' and ``deny deflate pred1 vj'' is suggested.
2000-07-03Correct the number of src/dst ports and add some FreeBSD specificbrian
firewall punching fixes. Obtained from: FreeBSD
2000-06-28kldload ng_ether if we need to under FreeBSD.brian
2000-06-24Don't assign an MTU based on the peers first-link MRU in MP mode.brian
Use the peers MRRU as we're supposed to.
2000-06-23Fix a printf-style arg cast (again)brian
2000-06-23Improved 227, 229 and EPRT support in the nat code; FreeBSDbrian
Moved security checks into one place; FreeBSD Remove ``nat pptp'' now that it's transparent
2000-06-22Correct PPPoE in multi-link mode; jason@brian
2000-06-20Allow padding in LQR ECHO requestsbrian
Problem found by: Tomaz Borstnar <tomaz.borstnar@over.net>
2000-06-19Don't mis-match interface names in iface_Create()brian
Submitted by: Adrian Penisoara <ady@freebsd.ady.ro>
2000-06-18Fix a printf-style format errorbrian
2000-06-15Full support for passive mode FTPbrian
Ensure that the segment preceding a PORT/227 segment terminates with a \r\n, the IP address in the PORT/227 matches the source IP address of the packet and the port number in the PORT command or 277 reply is greater than or equal to 1024. Obtained from: FreeBSD