Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Handle select() returning -1/EINTR - fairly common in these KSE days. | brian | 2004-12-13 | 1 | -1/+5 |
| | | | | | PR: 74972 MFC after: 3 days | ||||
* | Add IPv6 support to pppctl by using getaddrinfo() and trying each address | tjr | 2003-12-07 | 1 | -89/+115 |
| | | | | | | | it returns. This allows it to connect to the server side again, which has been listening on IPv6 addresses exclusively for more than 2 years. PR: 59369 | ||||
* | add FBSDID | charnier | 2003-07-06 | 1 | -2/+3 |
| | |||||
* | *** empty log message *** | obrien | 2001-10-01 | 1 | -9/+9 |
| | |||||
* | Better handling of the return from snprintf | brian | 2001-08-18 | 1 | -3/+8 |
| | |||||
* | Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The | sheldonh | 2001-07-26 | 1 | -7/+7 |
| | | | | | | | definitions are more readable, and it's possible that they're more portable to pathalogical platforms. Submitted by: David Hill <david@phobia.ms> | ||||
* | Issue a ``quit'' after other ppp commands given on the command line and | brian | 2001-03-25 | 1 | -0/+5 |
| | | | | | | | | then wait for the connection to be closed by the peer. This means that commands such as ``pppctl ... show links'' will display the correct output again (rather than truncating it depending on how much data arrived in the last packet). | ||||
* | A NetBSD specific fix | brian | 2001-03-05 | 1 | -2/+8 |
| | | | | Kind-of obtained from: NetBSD | ||||
* | Change interactive mode so that a monitor thread keeps an eye on the | brian | 2000-11-27 | 1 | -70/+238 |
| | | | | | | | | | | | | ppp descriptor and signals the terminal thread when there's something to read on that descriptor. This means that the main loop doesn't have to alarm() itself into dropping out of el_gets() frequently to check the descriptor. This dropping out was disturbing syscons (via ioctl()s from libedit) enough to reset the screensaver timeout every .5 of a second. PR: 20345 | ||||
* | libutil is no longer required as setproctitle() has moved to libc | brian | 2000-09-02 | 1 | -3/+0 |
| | |||||
* | If the -p option is used, use setproctitle() to hide it's argument | brian | 2000-08-16 | 1 | -2/+35 |
| | | | | (a password) asap. | ||||
* | NetBSD has changed the el_init() prototype | brian | 1999-09-20 | 1 | -1/+2 |
| | | | | Submitted by: Kazuyoshi Kato <kazk@yyy.or.jp> | ||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 1 | -1/+1 |
| | |||||
* | Use err[x]/warn[x] and improve error reporting | brian | 1999-08-02 | 1 | -23/+25 |
| | | | | Submitted by: charnier | ||||
* | Add support for NetBSD (history() from libedit is different). | brian | 1999-04-26 | 1 | -2/+9 |
| | |||||
* | Mention the error when we fail to connect(). | brian | 1999-01-31 | 1 | -4/+10 |
| | |||||
* | Quiet -Wall in gcc-2.8.1 | brian | 1998-03-22 | 1 | -2/+3 |
| | | | | Obtained from: OpenBSD | ||||
* | Remove bogus timeout code in Receive(). | brian | 1997-12-27 | 1 | -7/+13 |
| | | | | | | | | Don't read(fd, buffer, 0) and think ppp has closed the connection when `buffer' is full, instead, flush most of buffer to the terminal and read() for a reasonable length. This fixes "show route" when there's more than 2k of routing output. | ||||
* | Add (BSD) copyright headers. | brian | 1997-12-21 | 1 | -2/+26 |
| | |||||
* | Zero struct sockaddr_??s before filling them in. | brian | 1997-12-21 | 1 | -1/+3 |
| | | | | Suggested by: Theo de Raadt <deraadt@cvs.openbsd.org> | ||||
* | "No reply from ppp" -> "Connection closed". | brian | 1997-12-18 | 1 | -2/+2 |
| | | | | | "No reply" sounds like the message didn't get through (for example when you `pppctl xxxx quit all'. | ||||
* | Remove an unnecessary (and wrong) cast. | brian | 1997-12-17 | 1 | -2/+2 |
| | |||||
* | Add Id string. | brian | 1997-11-18 | 1 | -0/+4 |
| | |||||
* | Notice that ppp has closed the connection properly. | brian | 1997-11-18 | 1 | -36/+23 |
| | | | | | | | | Remove the timeout hack to notice that ppp has closed the connection. Remove the ``special case'' hacks for "quit" and "bye", as pppctl now exits immediately when the connection is closed by ppp. Suggest a secure "set server" line for connecting ppp & pppctl. Tidy up and correct a few man page typos. | ||||
* | Use select() instead of poll() for portabilities sake. | brian | 1997-11-11 | 1 | -6/+8 |
| | |||||
* | Poll the socket descriptor while in el_gets() | brian | 1997-11-11 | 1 | -1/+36 |
| | | | | | so that our display is scribbled over as we requested. | ||||
* | Prompt correctly when ppp *doesn't* ask for a password. | brian | 1997-11-09 | 1 | -2/+3 |
| | |||||
* | Style police. | brian | 1997-11-07 | 1 | -24/+67 |
| | | | | | | | bzero -> memset index -> strchr rindex -> strrchr Use libedit (this should make pppctl a lot more attractive than telnet). | ||||
* | Support interactive mode. | brian | 1997-11-07 | 1 | -23/+41 |
| | |||||
* | Allow hosts specified by IP number (avoiding | brian | 1997-07-28 | 1 | -3/+13 |
| | | | | | a DNS lookup) Update doc including the [host:]port syntax. | ||||
* | Support "host:port" as first arg. | brian | 1997-07-12 | 1 | -6/+19 |
| | |||||
* | Allow command line control of ppp through both | brian | 1997-06-28 | 1 | -0/+273 |
TCP and AF_LOCAL sockets. |