summaryrefslogtreecommitdiff
path: root/usr.sbin/npppd
AgeCommit message (Collapse)Author
2011-05-15disable pipex for L2TP on disconnect, too; yasuoka@ agrees.Markus Friedl
2011-04-02add support for pppx interfaces instead of tun interfaces.David Gwynne
pppx mode will create a pppx interface for each ppp session in the kernel, and will rely on the kernel to handle the routing rather than doing it itself. as a bonus it will configure the interfaces description with the username of the person connecting (which makes systat if pretty). ok claudio@ yasuoka@ as part of a larger diff from jonathan matthew weve been running all this in production for a month now..
2011-03-16spelling.Okan Demirmen
ok yasuoka@
2011-03-16use timerclear macro. while here, fix spelling.Okan Demirmen
ok yasuoka@
2011-02-28fix a buffer overflow in the pppoe receive packet handling.David Gwynne
diff from yasuoka@ ok deraadt@
2011-01-20- tyop, recieve -> receiveJasper Lievisse Adriaanse
ok sthen@
2010-09-27IP_PIPEX mistakenly was applied to the 1723/tcp socket. Apply the optionYASUOKA Masahiko
to the gre socket.
2010-09-26correct the path of npppd, and use modp1024 on the sample ipsec.confYASUOKA Masahiko
because iPhone doesn't support modp2048.
2010-09-24Add support pipex for L2TP call and L2TP on IPv6.YASUOKA Masahiko
- pipex requires unique session-id in protocol, so session-id generation algorithm has been changed. - change to fit the new PIPEX ioctl. ok dlg@
2010-09-24npppd didn't setup a PIPEX session if MPPE is not required by config andYASUOKA Masahiko
CCP is failed to be opened because the peer doesn't support MPPE. Fixed to setup a PIPEX on such case.
2010-09-23Add the same license text to these files as the rest of npppd.Jonathan Gray
ok yasuoka@
2010-09-23remove support for talking to the zebra routing socket whichJonathan Gray
was not enabled, we use a kernel routing socket for such things. ok yasuoka@ claudio@
2010-09-22unify MS-CHAP implementation to sbin/iked/chap_ms.[ch].YASUOKA Masahiko
copy sbin/iked/chap_ms.[ch] and fixed chap.c and eap.c to compile with it.
2010-09-22make the arguments match the format string in usageJonathan Gray
ok yasuoka@
2010-09-20Update instructions for testing npppd and pipex. The instructions wasYASUOKA Masahiko
out-of-date-ed after my privilege separation work at n2k10.
2010-08-02Fix use of logical and where binary and was intended.Jonathan Gray
Spotted by Mike Belopuhov, ok yasuoka@
2010-07-31delete IIJ local functionalities.YASUOKA Masahiko
2010-07-20opration -> operationMiod Vallat
2010-07-02add $OpenBSD$ and remove trailing space. no functional change.YASUOKA Masahiko
2010-07-02fix mistakes that have been created by my porting to OpenBSD.YASUOKA Masahiko
- delete a change only for debug - add missing 'else'
2010-07-01add man page of npppdctl.YASUOKA Masahiko
(this should be included in my previous commit)
2010-07-01Translate Japanese comments or labels into English. Translation wasYASUOKA Masahiko
done by IIJ people (MATSUI Yoshihiro, SAITOH Masanobu, Tomoyuki Sahara), yuo@ and myself. This diff also includes - delete part of useless comments, correct spelling. - add man page of npppdctl. There is no functional change.
2010-05-12Remove the tiny bit of C++ that is not realy needed so that we get a pureClaudio Jeker
C application. OK yasuoka@, reyk@
2010-01-31add HOWTO_PIPEX_NPPPD.txt for people who try to use pipex and npppd beforeYASUOKA Masahiko
everything is done.
2010-01-31privilege separation of npppd.YASUOKA Masahiko
- Drop privilege after daemon initializing. - Some system calls that requires root privileges were replaced to wrapper functions that communicate with a separated privileged process via IPC. And the privileged process checks whether the operations are acceptable.
2010-01-27Fixed 2 off-by-one problems.YASUOKA Masahiko
(found by parfait, reported by jsg@)
2010-01-15Address family for UNIX domain socket was mistakenly specified asYASUOKA Masahiko
AF_INET. It should be AF_UNIX.
2010-01-14fix to compile with gcc4. (from jsg@)YASUOKA Masahiko
2010-01-13cleanup npppd code. delete IIJ local ifdef switches and fix warnings.YASUOKA Masahiko
ok @dlg
2010-01-11Initial import npppd(8). npppd is a new PPP daemon that handles manyYASUOKA Masahiko
ppp sessions as a server. It supports L2TP, PPTP and PPPoE as tunneling. ok mcbride@ dlg@ deraadt@ reyk@.