summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp
AgeCommit message (Collapse)Author
1998-11-10Don't forget to initialise dbuff when debugging.brian
1998-11-08Explain what the command line switches do and what thebrian
various prompts signify.
1998-11-08Fix a few typosbrian
Submitted by: Forgotten (sorry)
1998-11-05Don't delete the primary interface address whenbrian
``iface clean'' is used in auto mode while there are no active links.
1998-10-31If the CBCP callee offsers no callback, send our configuredbrian
response anyway. This is what Win95 does, despite it not being documented in the cbcp spec.... Reported by: Bill <petheram@acm.org>
1998-10-31Allow multiple systems (config labels) on the commandbrian
line and in the ``load'' & ``dial'' commands. The last label loaded becomes the current label name. Only require a label for -auto mode.
1998-10-29Don't call PacketAliasIn() when we turn around packets destinedbrian
for our interface address. We're about to call ip_Input() anyway, and ip_Input() does the PacketAliasIn(). Stack trace provided by: Cameron Grant <gandalf@vilnya.demon.co.uk>
1998-10-29Catch up with the latest ppp updates/fixes:brian
- Add enable/disable proxyall to proxy arp an entire subnet (smaller than class C) - Add ``set {send,recv}pipe for controlling socket buffers. - Fix the infamous ``first connection'' problem where the process that causes an auto dial to an ISP that assigns a dynamic IP never connects (due to the bound socket IP being changed on the tun iface). See ``enable/disable iface-alias'' and ``iface ...'' in the man page. - Add PROCESSID as a substitution string when running commands. - Add ``set proctitle'' for changing argv0. You can use all the command substitutions here too (eg ``set proctitle ppp: USER INTERFACE''). - Add a missing untimeout as soon as the chat expect string is received rather than waiting for the next expect to happen. - Be less restrictive about when auth{name,key}, enddisc, shortseq and mrru can be changed. - Improve some diagnostics. - Don't send a DELAY field with CBCP_NONUM messages (as per the spec). - Emphasise how to make callback optional in the man page. - Allow the caller to request no callback if they're allowed choose the number anyway. - Set our CBCP RESPONSE fsm id according to the REQ, moan if the peer gets the response id wrong (but continue anyway). - Shuffle the ``set ?'' output back a column so that broken terminals that can't display 80 columns *and* a '\n' will look ok. - If DES is compiled out, be more verbose about why CHAP 0x80 was rejected.
1998-09-18Order SEE ALSO correctly.brian
Pointed out by: bde@FreeBSD.org Patched correctly by: wosch@FreeBSD.org
1998-09-17Depolute Makefiles.brian
1998-09-17Alphabeticalize SEE ALSO section.brian
1998-09-15Correct ua_ntohs.brian
1998-09-09Reflect realitybrian
1998-09-09Initialise lcp::his_mru to the ``set mtu'' value if it's lessbrian
than DEF_MRU, allowing our interface mtu to be decreased despite negotiation with the peer.
1998-09-04Add a missing #includebrian
1998-09-04Don't cast potentially unaligned addresses to pointers tobrian
non-char types on non-i386 architectures. On Alpha and Sparc we get a bus error if we do.
1998-08-31Move libalias sources into the ppp directory.brian
Suggested (many times) by: Theo
1998-08-31mostly fix build problemsTheo de Raadt
1998-08-31Upgrade ppp to version 2.0brian
This adds a number of features including: o Multilink o Callback (including CBCP) o DNS negotiation (client & server) o Easy to configure masquerading/packet aliasing o Any number of diagnostic socket connections (limits DOS attacks) o Sticky routes (ppp updates the routing table when the IP number is changed) See the file README.changes for things that effect current configurations.
1998-08-17Don't lose an allocated pointer if realloc() fails.brian
Free it instead. Pointed out by: Theo de Raadt
1998-06-28Don't assume sizeof(long) == 4brian
1998-06-27More u_long -> u_int32_tbrian
Submitted (with the usual curtesy) by: theo
1998-06-27Fix ``sizeof(u_long) == 4'' errors.brian
Suggested by: theo
1998-06-26Don't depend on sizeof(u_long) == 4.brian
Pointed out by: Theo
1998-06-26convert DLT_LOOP header to network-order u_int32_tTheo de Raadt
1998-06-12Correct arg hackbrian
Submitted by: David Leonard <leonard@csee.uq.edu.au>
1998-06-07Use a width of 0 rather than 32 when HISADDR is 0.0.0.0.brian
Reported by: many Narrowed down by: Lutz Albers <lutz@muc.de>
1998-06-07Fix previous commit. bit 1 is the execute bit, not the read bit *blush*brian
ie, BINMODE=4551 -> BINMODE=4554 Pointed out by: Bruce Evans <bde@zeta.org.au>
1998-06-07Make ppp world-readable so that root can get at it overbrian
NFS when nobody isn't in group network :-) Pointed out by: Bruce Evans <bde@zeta.org.au>
1998-05-19Close forgotten descriptor.brian
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
1998-04-27Remove mention of libalias and dlopen/dlsym.brian
1998-04-26Remove libalias entirely.brian
1998-04-26Exclude use of the libalias stubs as there is no usefulbrian
way of determining if dlopen() and dlsym() exist.
1998-04-25Add libalias and tidy up a few warnings.brian
libalias does not build by default, you must build and install it manually (cd ppp/libalias && make && make install).
1998-04-25not that we compile this, but incase we ever do, prepare it to work for elf.Todd T. Fries
1998-04-25Fix diagnostic typo.brian
1998-03-16Cosmetic: .Dq -> .Itbrian
1998-03-13Correct #ifdef for __FreeBSD__ < 3brian
1998-03-13Add missing includebrian
1998-03-13Add extraneous braces to stiffle warnings from gcc-2.8brian
1998-03-13Don't send LQRs when the peer has LCP REJ'd them. Sendbrian
ECHO LQRs instead.
1998-03-12o Fix a few comment typos.brian
o Fix ``set timeout'' usage message and documentation. o Change ifOutPackets, ifOutOctets and ifOutLQRs to `u_int32_t's so that they wrap correctly. o Put the LQR in network byte order using the correct struct size (sizeof u_int32_t, not sizeof u_long). o Wrap LQR ECHO counters correctly. o Don't increment OutLQR count if the last LQR hasn't been replied to. o Initialise HisLqrData (last received LQR) in StartLqm. o Don't start the LQR timer if we're `disabled' and `accepted'. o Generate LQR responses when both sides are using a timer and we're not going to send our next LQR before the peers max timeout. LQR should now be fully functional.
1998-03-08Please gcc 2.8brian
1998-03-06Use the correct device name in -direct mode.brian
1998-02-19Allow 8 character login names.brian
Pointed out by: Forgotten Do the login()/logwtmp()/logout() as id 0.
1998-02-18LogWARN rather than LogERROR when we can't createbrian
our diagnostic socket.
1998-02-18Don't leak memory when the peer sends PROTO_COMPD packetsbrian
without negotiating compression first.
1998-02-11Move handle_signals() to before the FD_SETs. handle_signals()brian
may result in a our modem closing after it's made its way into the fd_set, resulting in a program exit (with select(): bad file descriptor) rather than a dropped link.
1998-02-04Correct magic number format stringbrian
Spotted by: Bruce M. Walter <walter@fortean.com>
1998-01-29Talk about ongoing development.brian