summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp
Commit message (Collapse)AuthorAgeFilesLines
* Use libmd's MD5.phk1996-01-307-389/+15
| | | | | inline hdlc checksum calculation. make big tables const.
* Fix a bunch of spelling errors in a bunch of man pages.mpp1996-01-302-8/+8
|
* Some patches to ppp which improve stability. I have been running adfr1996-01-3012-72/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ppp based on these patches for about 3 weeks with no downtime. The original submitters comments: Two features iijppp has over kernel ppp that I like are predictor1 compression and demand dialing. Here are a few bug fixes. I expanded the priority queueing scheme and discovered it was broken due to the assignment at ip.c line 300. All packets were being queued at the same priority. Fixing priority queueing broke predictor1 compression. Packets were compressed before being queued and predictor1 worked as long as the packets were popped off the queue in the same order they were pushed onto the queue. There were a few byte order problems in IP header tests also. There is a recursion problem in SendLqrReport(). LcpClose() is called when "Too many echo packets are lost" which winds up in SendLqrReport() again. I believe the original intention was to just stop the LQR timer with the call to StopLqr() but the side effects hurt. Submitted by: John Capo <jc@irbs.com>
* Final cleanup for now. -Wall is now silent. A couple of bogons found.phk1996-01-1132-53/+294
|
* My freshly aborted 'make world' has pointed out that the wait.h includepeter1996-01-111-2/+2
| | | | file is <sys/wait.h>, not <wait.h> as was recently committed.
* A random bunch of cleanup changes.phk1996-01-1014-36/+47
|
* 1. Add a settable redial timer and logging of the process id in a file.amurai1995-10-087-63/+248
| | | | | | | | | | | | | | | A settable redial timer helps to avoid the problem where both ends of a link want to dial at the same time and the line winds up busy for both ends. The process id is logged in /var/run/PPP.system where system is the name of the called system. When both ends of a link are running in demand dial mode, you need an easy way to get the pid of the ppp on the called end so it can be killed and re-started with -direct or pppd started to handle the incoming ppp session. 2. Add secret description for "set timeout" to man. Reviewed by: Atsushi Murai <amurai@spec.co.jp> Submitted by: John Capo <jc@irbs.com>
* Completely re-wrote the man-page using -mandoc macros. More cleanups innate1995-09-242-874/+1072
| | | | | | | sentence structure to include more articles, plus fix some mis-spellings and typos. Reviewed by: gpalmer (Gary Paler)
* Fix a comment that became wrong when it was moved in rev. 1.7. Fix nearbybde1995-09-181-8/+6
| | | | indentation. Cosmetic.
* 1. All fragments (except the first one) of a fragmented packet wereamurai1995-09-176-65/+82
| | | | | | | | | | | | | dropped - devet@adv.IAEhv.nl (Arjan de Vet) 2. Will not read data from telnet connection - John Capo <jc@irbs.com> 3. Using LQM option could be drop the link due to LcpLayerDown() doesn't stop LQR timer. - Brian <brian@awfulhak.demon.co.uk> 4. Allow to describe a syntax of filters that is not only port number but also by name in /etc/service. - Rich Murphey <rich@lamprey.utmb.edu> Reviewed by: Atsushi Murai <amurai@spec.co.jp> Submitted by: devet@adv.IAEhv.nl, jc@irbs.com, brian@awfulhak.demon.co.uk, rich@lamprey.utmb.edu
* Be gentle and allow both magic's (the own one and the other side'sjoerg1995-09-091-2/+5
| | | | | | | one) as a valid answer to an echo request. This makes the log less noisy when connecting to Trumpet Winsock or FreeBSD 2.0.5's pppd. :) Submitted by: melvin@zytek.com (Stephen Melvin)
* 1. Do not log the password itself to ppp.log ( Mr. Rich Murphey )amurai1995-09-027-32/+141
| | | | | | | | | 2. Add ability to execute shell commands and suspend back into invoking shell (Mr. J Wunsch) Reviewed by: amurai@spec.co.jp Submitted by: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Rich Murphey <rich@lamprey.utmb.edu>
* Typo in log message : errros -> errorsgpalmer1995-07-301-2/+2
|
* 1. Clean up log message.amurai1995-07-085-29/+55
| | | | | | | | 2. Optimize ModemQlen. 3. Sending ProtoReject for Unknow protocol (i.e. IPX) 4. Avoid select looping by reading tun under the high system load. 5. Adding Local version String for maintenance. 6. Just more speak rather silent ignore if you type invalid key words.
* Some implementation of PPP are required that starting a negotiaion byamurai1995-07-083-6/+28
| | | | | sending *special* value as my address, even though the standard of PPP is defined full negotiation based. (e.g. "0.0.0.0" or Not "0.0.0.0")
* Clean up mesage log facility stuff accordng to Joradn's question.amurai1995-07-081-2/+4
| | | | Reviewed by: amurai@spec.co.jp
* >Number: 591amurai1995-07-081-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | >Category: bin >Synopsis: SPAP request REJexted in stead of NAKed >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs (FreeBSD bugs mailing list) >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 5 01:40:01 1995 >Originator: Dick van den Burg >Organization: >Release: FreeBSD 2.0.5-RELEASE i386 >Environment: >Description: When trying to connect with ppp to a Shiva Lanrover (version 3.2) the authentication fails because the SPAP (Shiva Secure PAP) configuration request the is sent by Shive is REJected by ppp in stead of NAKed. Reviewed by: amurai@spec.c.jp and friends Submitted by: burg@is.ge.com
* "anyone in a world" -> "anyone in the world".asami1995-07-061-2/+2
| | | | (Yes, I'm just testing my ppp connection :)
* Don't convert 0.0.0.0 into 192.0.0.1. I can find no sane reason to do this.dg1995-07-041-3/+1
|
* Hang up the modem if the dial or login fails. This ensures that wedfr1995-06-301-1/+2
| | | | | will not hold the line open if the other end has a broken modem or server. This happens to me quite frequently with my ISP.
* `pred1' was documented as `pred'. The problem was not obvious becausebde1995-06-262-6/+6
| | | | `disable pred' is silently ignored.
* manupilation -> manipulation.phk1995-06-161-2/+2
|
* Remove trailing whitespace.rgrimes1995-05-3033-121/+121
|
* Some edits suggested by Atsushi. Also remove my name from the bottom;jkh1995-05-262-10/+4
| | | | | just because I edited it doesn't mean I should stick myself in the authors line, even with the qualification I used.
* A few more typos fixed and some general cleanup done.jkh1995-05-242-22/+28
|
* Do my best to translate this into english.. :-)jkh1995-05-212-396/+392
| | | | | Some parts were so incomprehensible that I had to excise them entirely, but I did my best with the material provided.
* Change device name from cua01 to cuaa0. I'm going to use this doc injkh1995-05-212-4/+4
| | | | the installation, so it was necessary.
* Remove FreeBSD-specific setre*() cheat, we have working thing nowache1995-04-291-15/+1
|
* Loglevel is a bitmask everywhere except in lqr.c.amurai1995-04-171-2/+2
| | | | | Reviewed by: Atsushi Murai <amurai@spec.co.jp> Submitted by: John Capo <jc@irbs.com>
* Fixing follows and John's fruent explnation than my English....amurai1995-04-162-7/+32
| | | | | | | | | | | | | | | | | | | | | The first problem I found was that descriptor 0 was being closed. This happens because the modem variable is set to 0 to indicate that it is not valid but there are not enough tests for the modem variable being 0. You can see where I have done this in the patch. Code in OpenModem() dups the modem descriptor if it is < 3. Once this happened the modem was always open and an incomming call would have getty and ppp reading the modem. Descriptor 1 is closed when the quit command was executed from a telnet connection. The next modem open returns descriptor 1 and this gets duped leaving the modem always open again. The modem was not being closed when the connection dropped or was closed from the other end. The UUCP lock was also not removed if the modem could not be opened. Reviewed by: Atsushi Murai <amurai@spec.co.jp> Submitted by: John Capo <jc@irbs.com>
* Fix for handling a HDLC's escape characters as properly.amurai1995-04-161-2/+2
| | | | | Reviewed by: Atsushi Murai <amurai@spec.co.jp> Submitted by: NIIMI Satoshi <sa2c@st.rim.or.jp>
* Adding GETTING START and so on.amurai1995-03-122-236/+286
| | | | Submitted by: amurai@spec.co.jp
* Add BUGS and few explanation.amurai1995-03-112-72/+126
| | | | Submitted by: amurai@spec.co.jp
* 1.Reducing cpu usage at off connection.amurai1995-03-1111-86/+138
| | | | | | | | | 2.Implment Redail function as working correctly. 3.Clean up a code as I notice. 4.Now, RTT getting close to 50ms with ISDN/TA 38400bps !! Reviewed by: amurai@spec.co.jp Submitted by: amurai@spec.co.jp
* Use ASCII lock, like everything else doesache1995-03-041-3/+7
| | | | Submitted by: John Capo <jc@irbs.com>
* Fixing minor bug and allow help(Not for all command) and quitamurai1995-02-274-20/+41
| | | | | | | | but not close line connection by "quit all" command if not authorized. Reviewed by: amurai@spec.co.jp Submitted by: tony-o@iij.ad.jp amurai@spec.co.jp
* Compile error occured by missing auth.h/cdefs.hamurai1995-02-278-6/+81
| | | | Reviewed by: amurai@spec.co.jp
* I assume someone had a good reason for breaking this? Try again!jkh1995-02-266-12/+12
| | | | For now, I'll content myself with fixing the tree.
* New user Process PPP based on iij-ppp0.94beta2.amurai1995-02-2651-795/+2086
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o Supporting SYNC SIO device (But need a device driver) - add "set speed sync" o Fixing bug for Predictor-1 function. o Add new parameter that re-sent interval for set timeout commands. o Improving RTT (Round Trip Time) and reducing processor time. - Previous Timer service was using polling, and now using SIGALRM ;-) - A 0.94beta2 will not work correctly.... -- Follows are additinal feature not including 0.94beta2 o Support Proxy ARP - add "enable/disable proxy" commands o Marging common routine in CHAP/PAP. o Enhancing LCP/IPCP log information. o Support local Authfication connection on port 300x and tty. - You can set up pair of your "hostname -s" and password in ppp.secret. if either ppp.secret file nor your hostname line don't exist, It will notify a message and working as same as previous version.(Backword compatibility) - If you did set up them, It's allow connection but nothing to do except help and passwd command. - add "passwd yourpasswd" commands o Support afilter - keep Alive filter that a packet can send/receiving according to ifilter/ofilter but doesn't count it as preventing idle timer expires. - Same syntax of other filters. o Fixing bugs reported by current user for previous one. Thanks !! Reviewed by: Atsushi Murai (amurai@spec.co.jp)
* The 'set ifilter'/'set ofilter' commands accept a syntax containingamurai1995-02-221-5/+6
| | | | | | | | | | IP addresses and/or protocol+port, but in the case where both are supplied, it happily accepts the command but ignores the proto+port It also attempts to handle the case where the second IP address is omitted, but this doesn't work. Reviewed by: amurai@spec.co.jp Submitted by: Andrew.Gordon@net-tel.co.uk
* PPP does not find config files (Wrong path name not a /etc/ppp)amurai1995-02-022-4/+6
| | | | Submitted by: Michael Reifenberger <root@rz-wb.fh-sw.de>
* This commit was generated by cvs2svn to compensate for changes in r6059,amurai1995-01-3153-0/+11877
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * (no commit message)amurai1995-01-3153-0/+11877
|
* (no commit message)amurai1995-01-311-0/+492
OpenPOWER on IntegriCloud