summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp
Commit message (Collapse)AuthorAgeFilesLines
* Add RTF_STATIC to default route's flags in the hope that routed will nopeter1996-08-131-2/+2
| | | | longer remove it while it is running.
* Reset Pred1 protocol on FCS errors.phk1996-07-211-1/+2
|
* Dump core on SIGSEGV instead of silent exiting. I saw SIGSEGV few times,ache1996-07-091-1/+6
| | | | | but they are VERY rare to tracking down this bug. I hope core helps to track it down.
* Prepare for exec properly and check return valuesache1996-06-092-5/+19
| | | | Submitted by: Arjan de Vet <devet@IAEhv.nl>
* Close a file descriptor leak. Possibly closes PR #1212gpalmer1996-06-031-2/+4
|
* PR: bin/1194: PPP server port not initializedphk1996-05-131-1/+2
| | | | | | | Latest round of changes omitted initialization of tunnel device unit variable. Submitted by: John Capo <jc@irbs.com>
* Here is a diff of /usr/src/usr.sbin/ppp against current. The diffsphk1996-05-1122-175/+252
| | | | | | | | | | | | | | | | | | | add some logging functionality which I find very useful. 'set debug link' will record just link up/down and address assignments. 'set debug connect' will record the entire chat dialog 'set debug carrier' will record just chat lines including 'CARRIER' (so that I can be sure I'm getting a 28.8 line). There was a global change required to permit LogPrintf to take a bit mask instead of a bit position value (to permit logging some events on either of two flags, so that no change in 'set debug lcp' would result from the code supporting 'link'. Thus the diffs are rather long for such a small change. The man page is also touched. Oh, and there was a slight syntax problem in route.c Reviewed by: phk Submitted by: Tony Kimball <alk@Think.COM>
* Xref chat(8) and pppd(8). Also change .It references to .Pa for filempp1996-05-022-22/+32
| | | | name references in the file section.
* Fixed a couple of format strings to match the change of pid_t from longbde1996-04-131-2/+2
| | | | | | to int32_t. I only fixed the ones that I noticed the warnings for. Perhaps most of the format strings are correct now because they were wrong before. Except of course if int32_t isn't compatible with `int'.
* Fix editing mistake in last commit...sorry.dg1996-04-111-3/+3
|
* Bugfix based on a kernel fix:dg1996-04-111-5/+12
| | | | | | | | | | | When PPP gets an uncompressed packet, it attempts to save off the TCP/IP header for use in decompressing subsequant packets. If PPP gets garbage (such as what happens when there is a port speed mismatch or modem line noise), it will occasionally mistake the packet as a valid uncompressed packet. When it tries to save off the header, it doesn't bother to check for the validity of the header length and will happily clobber not only the PPP VJC data structure, but parts of other process memory that happens to follow it...causing, ahem, undesired behavior.
* Here is a patch for a little bug in the WaitForString routine. The problemache1996-04-061-4/+14
| | | | | | | | | | is when the matched string spans the end of the inbuff. This fix allocates twice the IBSIZE so that it can keep the last and the current text to search in the inbuff so that the match won't fail if it gets truncated by the read. It also warns if the search string is to long and truncates it. Submitted by: Dough Ambrisco <ambrisco@ambrisco.roble.com>
* Put signal number into logfileache1996-03-301-5/+7
|
* Fix UnrawModem:ache1996-03-291-6/+6
| | | | | | restore initial (not second level) state not call it for DEV_SYNC issue input flush after restoring
* Directly clear parity area because cfmakeraw not do itache1996-03-281-1/+2
|
* After real problem is found (flush never occurse), re-enableache1996-03-271-1/+3
| | | | | software flow control, but re-enable it properly, idea taken from taylor 'cu'
* Fix typing bug cause flushing never occurse:ache1996-03-271-2/+2
| | | | TIOCFLUSH -> TCIOFLUSH
* Use cfmakeraw() instead of all those termios settingsache1996-03-271-24/+8
|
* Cleanup both raw & termianl modes termios flags settingsache1996-03-271-4/+11
|
* Disable ^S/^Q flow control!!!ache1996-03-271-3/+3
|
* Better fix for terminal modeache1996-03-131-13/+5
|
* 1) Open /dev/null for std* after setsid() to be shure that modem isache1996-03-094-6/+21
| | | | | | | | | *not* our controlling terminal (SIGHUP can coming in other case) 2) Add HUPCL for non-dedicated lines to be shure that modem properly resetted. 3) Correct usage string.
* Prevent dial cycling on the last phone from the list, make phone list copyache1996-03-083-6/+11
|
* Log phone as LOG_PHASE, it is valuable enough for multi-phone environment.ache1996-03-082-2/+4
| | | | | Add missing return when terminal mode can't be re-established due to modem not opened.
* 1) Add multi-phone dialing/redialing, several phones separated by ':'ache1996-03-088-42/+98
| | | | | | | | | | 2) Improve on-line help subsystem 3) Make 'term' mode works even carrier dropped (old code close line forever here) 4) Make 'term' mode 8bit clean. 5) Improve manual page 6) #ifdef DEBUG diagnostic about missing optional files. 7) Don't put interactive dialing info to logfile
* Eliminate multiply uucplock.cache1996-03-042-125/+4
|
* 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.
OpenPOWER on IntegriCloud