summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp
AgeCommit message (Collapse)Author
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
1998-01-29Don't moan about not creating tunX.pid and ttyX.if if RELEASE_CRUNCHbrian
is defined.
1998-01-29Cosmetic:brian
Don't mention the authors name at startup. He's already credited in the man page. Instead, make the message consistent with the one given to the diagnostic port (and fix the grammar when entering `term' mode). Don't credit the zlib author in the man page as ppp isn't linked directly with zlib (it's shared). Mention when the OpenBSD port was first made available.
1998-01-24Fix error message.brian
Don't complicate the test compilation mentioned at the start of the file.
1998-01-23Stop bogus warnings.brian
1998-01-23Re-implement the proxy arp sockaddr_dl search routine (again).brian
It now works :-) and searches all interface aliases.
1998-01-23Don't allow manual dialing unless in auto or interactive mode.brian
1998-01-21Use the sockaddr_dl with the link#, not the ethernet addressbrian
when creating proxy arp entries.
1998-01-21Remove unused #includes.brian
Make various bits static. Remove unused variables. Submitted by: eivind
1998-01-20Allow an optional delay when specifying "set openmode active".brian
The delay defaults to 1 sec (as it always has) unless we've done a ~p in interactive mode or we've actually detected a HDLC frame. This is now cleanly implemented (via async timers) so that it is possible for LCP to come up despite the delay if an LCP REQ is received. This will hopefully solve situations with slow servers or slirp scenarios (where ECHO is left on the port for a second or so before the peer enters packet mode). Also, ~p in interactive mode no longer changes the value of the default openmode delay and -dedicated mode enters packet mode in the right state according to the value of openmode.
1998-01-19dlopen(..., RTLD_NOW) rather than RTLD_LAZY.brian
Pointed out by: John Polstra <jdp@polstra.com>
1998-01-19sys/types.h -> sys/param.hbrian
Pointed out by: Niklas Hallqvist <niklas@petra.appli.se>
1998-01-19Reimplement proxy-arp address stuff using sysctl().brian
1998-01-18Allow "set vj" for changing the default number of slotsbrian
and whether slot compression is requested. Don't show current values with "show ipcp" if IPCP isn't "opened".
1998-01-14Free our input mbuf when the FCS is good (oops, memory leak).brian
1998-01-14Lose __libalias_version.brian
We now look for the biggest of libalias.so.2.*
1998-01-11Lose <net/if_var.h> (was a FreeBSD brokenness) !brian