summaryrefslogtreecommitdiffstats
path: root/gatchat/ppp_auth.c
AgeCommit message (Collapse)AuthorFilesLines
2010-05-19ppp: implement ppp_packet_newKristen Carlson Accardi1-3/+1
2010-05-10ppp: set address and control fieldKristen Carlson Accardi1-1/+1
Before sending to hdlc, set the address and control field. Fix hardcode of ppp header size.
2010-04-28ppp: Make ppp_chap_process_packet const correctDenis Kenzior1-3/+3
2010-04-14ppp: nak unknown auth protocolKristen Carlson Accardi1-2/+0
If we are sent a Config-Request for an auth proto other than CHAP with MD5, send a NAK.
2010-04-13ppp: Remove auth_ functions from ppp_auth.cDenis Kenzior1-95/+25
These really serve no purpose right now as we use only CHAP. So they only take up space and make the code harder to read. If we implement 1-3 auth protocols, then they're easier handled inside gatppp.c. If we have more, then a proper auth driver framework is required.
2010-04-03Move PPP constants where they are usedMarcel Holtmann1-0/+2
2010-04-02Refactor: Get rid of (now) pointless commentsDenis Kenzior1-2/+0
2010-04-02Refactor: Get rid of packet handler registrationsDenis Kenzior1-10/+3
There are only about 4 protocols that the current ppp code handles and it is doubtful that it will grow much more. There's no point in having an extensive packet handler registration framework.
2010-04-02Add more missing break statementsMarcel Holtmann1-0/+2
2010-04-01Add some debugging information to PPP authentication handlingMarcel Holtmann1-3/+6
2010-03-29Fix use of g_checksum_get_digest() inout argumentMarcel Holtmann1-2/+2
2010-03-26ppp: send PPP_FAIL when authentication failsKristen Carlson Accardi1-1/+2
2010-03-26Allow empty secrets for CHAP authenticationMarcel Holtmann1-1/+2
2010-03-24fix memory leak in ppp_authKristen Carlson Accardi1-0/+1
Free packet after calling ppp_transmit()
2010-03-22Use password instead of passwd as variable nameMarcel Holtmann1-4/+4
2010-03-22The g_free() function checks for NULL pointersMarcel Holtmann1-5/+3
And so does even the free() function from glibc ;)
2010-03-22Some additional whitespace cleanup for PPP codeMarcel Holtmann1-1/+1
2010-03-22CHAP with MD5 authentication supportKristen Carlson Accardi1-0/+229
Authentication support with CHAP and MD5