summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp
AgeCommit message (Collapse)Author
2001-10-24If the peer refuses to provide an MRU, don't insist (even if 1500 isbrian
too big).
2001-10-24Some NetBSD/i4b ifdefsbrian
2001-10-24Handle ``set reconnect 0 0'' properly in -ddial mode.brian
2001-10-24Use CMSG_DATA and CMSG_SPACE macros; FreeBSDbrian
2001-10-24Write static arp entries as uid 0.brian
2001-10-24Fix a PASV bug; FreeBSDbrian
2001-09-13Fix some return code checks (FreeBSD only)brian
2001-09-13Be a bit more paranoid about CTCP traffic; FreeBSDbrian
2001-09-13Add TFTP support; FreeBSDbrian
2001-09-13Spell syslog.conf correctly; FreeBSDbrian
2001-09-08The generated ppp.8 should be removed by 'make clean'. brian@ ok.Hakan Olsson
2001-09-04Replace the deprecated BSD sigsetmask/sigblock/sigpause functions with their ↵Todd C. Miller
POSIX counterparts.
2001-09-04Fix a diagnosticbrian
2001-09-04Consider alignment requirements when moving data about.brian
Mostly submitted by: kamath@cesa.opbu.xerox.com
2001-08-27Send a reset request for every packet received when our encryptionbrian
dictionaries are out of sync. This avoids the complications that happen when our original reset request gets lost in transit (quite likely in hind sight, given a lossy link) when we end up ignoring the peer for the next (up to) 256 packets.
2001-08-21Enable IFF_MULTICAST when first opening the tun devicebrian
Don't bring the interface up immediately Don't complain about unrecognised interface flags in ``show iface''.
2001-08-21Add some comments to make it clearer how we're handling signals.brian
2001-08-21Treat an interface address as conflicting if it's destination addressbrian
matches any existing destination addresses on the interface. This unbreaks ``enable iface-alias''.
2001-08-21Handle snprintf() returning < -1brian
2001-08-21Restore whitespace clobbered with the last commitbrian
2001-08-21Remove some conflicting copyright lines.brian
2001-08-20Powered by @mantoya.Mike Pechkin
o) we don't like .Nd without argument, except next line starts with a new tag; millert@ ok
2001-08-20When attempting to change the default route under FreeBSD, don't writebrian
the gateway and mask to the routing socket, otherwise the update fails. The code here was broken for FreeBSD when IPv6 support was added, but worked for OpenBSD. OpenBSD expects the gateway and mask to be supplied and fails the update otherwise.
2001-08-19Add IPv6 support.brian
IPV6CP support is crude for now, and hasn't been tested against any other implementations. RADIUS and IPv6 are independent of eachother for now. ppp.linkup/ppp.linkdown aren't currently used by IPV6CP Understand all protocols(5) in filter rules rather than only a select few. Allow a mask specification for the ``delete'' command. It's now possible to specifically delete one of two conflicting routes. When creating and deleting proxy arp entries, do it for all IPv4 interface addresses rather than doing it just for the ``current'' peer address. When iface-alias isn't in effect, don't blow away manually (via ``iface add'') added interface addresses. When listening on a tcp server (diagnostic) socket, bind so that a tcp46 socket is created -- allowing both IPv4 and IPv6 connections. When displaying ICMP traffic, don't display the icmp type twice. When display traffic, display at least some information about unrecognised traffic. Bump version
2001-08-18Deal with snprintf returns properlybrian
2001-08-18Deal with snprintf() return codes properlybrian
2001-08-18A better fixbrian
2001-08-18Fix a possible buffer overflow; theobrian
2001-08-17o) {Open,Net,Free}BSD -> .{O,N,F}x;Mike Pechkin
o) "start sentence on new line" issues; o) minimal -mdoc improvements; millert@ ok
2001-08-15When updating the MTU for the default route, pass the mask and gatewaybrian
to the routing socket. Submitted by: Russell T Hunt <alaric@MIT.EDU>
2001-08-10Change copyright to BSD-style copyright.brian
Ok'd by: Gabor Kincses <gabor@acm.org>
2001-08-09Grrr...here it is.Jason Peel
2001-08-09add m4 preprocessing based on enabled features; ok brian@, inputJason Peel
from todd@
2001-08-02Declare prompt_vPrintf as being printf-link when __GNUC__ is definedbrian
2001-08-02Add a commentbrian
2001-08-02Formatting and whitespace cleanupbrian
2001-08-02Sync with FreeBSD (doesn't apply to obsd)brian
2001-07-31Don't include a NUL at the end of our CHAP SUCCESS packet.brian
When encryption (MPPE) is enabled, WindowsME and Windows98 both fail because of the extra byte, suggesting that they autheticated successfully in their log and then dropping the connection, telling the user that the peer doesn't support compatible encryption options.
2001-07-31Remove an irritating diagnostic emitted to LogPHASE when abrian
static proxy arp entry is deleted. Rename a function (for consistency) and remove some whitespace (for readability).
2001-07-31When we receive a CHAP81 challenge response, we always expect the lastbrian
byte of the packet to contain '\0'. Windows 98 gets this wrong, dropping garbage into the last byte and failing authentication. Now, we notice this and whinge to our log file that we're compensating for the corrupt data.
2001-07-30If the peer REJects our MRU REQ, stop REQing it -- *EVEN* if we'rebrian
doing PPPoE and the default MRU is therefore too big.
2001-07-28If the peer sends a REQ without the IPADDR option, only reject itbrian
once. If they repeat the request (again without the IPADDR option) ACK it.
2001-07-26Handle peer REQ/NAKs of >1500 byte MRUs when we have no preference.brian
2001-07-20we don't like:Mike Pechkin
o) .Pp before/after .Sh; o) .Pp before/after .Sh; o) .Nm without argument in SYNOPSIS;
2001-07-17Ignore (with a warning message) mtu/mru configurations that are greaterbrian
than the maximum physical values.
2001-07-13Perform MSS fixups on incoming packets as well as outgoing.brian
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-07-09Staticise SHA1_End()brian
2001-07-09Oops, groff still doesn't do more than 8 args :(brian
2001-07-09Add a ``nat proto'' command -- similar to natd(8)'s -redirect_proto switch.brian