Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-06-21 | gatchat: Fix up minor coding style issues | Denis Kenzior | 1 | -1/+5 | |
2014-06-21 | gatchat: implement PAP authentication | Philip Paeps | 1 | -0/+139 | |
Make the authentication method configurable, CHAP or PAP, defaulting to CHAP (i.e.: previous behaviour). Implementation details: o If PAP is configured, we NAK the CHAP authentication protocol option in LCP configuration requests and suggest PAP instead. This works around the amusing requirement of 3GPP TS 29.061 that modems must send a forced positive acknowledgement of the authentication method tried (i.e.: the modem will successfully accept any CHAP handshake, but if the network only supports PAP, the modem will hang up when it tries and fails to activate the PDP context) o The PAP Authenticate-Request is resent a hard-coded three times at ten-second intervals. This may be a bit too persistent. Chances are if it doesn't work the first time, it'll never work, but the RFC insists that we MUST retry. | |||||
2011-11-14 | gatchat: Fix minor style issue | Denis Kenzior | 1 | -1/+1 | |
2011-10-10 | gatchat: Update copyright information | Marcel Holtmann | 1 | -1/+1 | |
2011-06-29 | ppp: Add basic length sanity checks | Denis Kenzior | 1 | -2/+8 | |
2011-05-11 | gatppp: add name field when using chap auth | Caiwen Zhang | 1 | -0/+9 | |
Some systems require name field, otherwise chap authentication will fail. | |||||
2011-02-28 | ppp: Remove some g_prints | Denis Kenzior | 1 | -1/+0 | |
2010-11-29 | gatchat: explicitly compare pointers to NULL | Lucas De Marchi | 1 | -3/+3 | |
This patch was generated by the following semantic patch (http://coccinelle.lip6.fr/) // <smpl> @fix disable is_null,isnt_null1@ expression *E; @@ - !E + E == NULL // </smpl> | |||||
2010-05-19 | ppp: implement ppp_packet_new | Kristen Carlson Accardi | 1 | -3/+1 | |
2010-05-10 | ppp: set address and control field | Kristen Carlson Accardi | 1 | -1/+1 | |
Before sending to hdlc, set the address and control field. Fix hardcode of ppp header size. | |||||
2010-04-28 | ppp: Make ppp_chap_process_packet const correct | Denis Kenzior | 1 | -3/+3 | |
2010-04-14 | ppp: nak unknown auth protocol | Kristen Carlson Accardi | 1 | -2/+0 | |
If we are sent a Config-Request for an auth proto other than CHAP with MD5, send a NAK. | |||||
2010-04-13 | ppp: Remove auth_ functions from ppp_auth.c | Denis Kenzior | 1 | -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-03 | Move PPP constants where they are used | Marcel Holtmann | 1 | -0/+2 | |
2010-04-02 | Refactor: Get rid of (now) pointless comments | Denis Kenzior | 1 | -2/+0 | |
2010-04-02 | Refactor: Get rid of packet handler registrations | Denis Kenzior | 1 | -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-02 | Add more missing break statements | Marcel Holtmann | 1 | -0/+2 | |
2010-04-01 | Add some debugging information to PPP authentication handling | Marcel Holtmann | 1 | -3/+6 | |
2010-03-29 | Fix use of g_checksum_get_digest() inout argument | Marcel Holtmann | 1 | -2/+2 | |
2010-03-26 | ppp: send PPP_FAIL when authentication fails | Kristen Carlson Accardi | 1 | -1/+2 | |
2010-03-26 | Allow empty secrets for CHAP authentication | Marcel Holtmann | 1 | -1/+2 | |
2010-03-24 | fix memory leak in ppp_auth | Kristen Carlson Accardi | 1 | -0/+1 | |
Free packet after calling ppp_transmit() | |||||
2010-03-22 | Use password instead of passwd as variable name | Marcel Holtmann | 1 | -4/+4 | |
2010-03-22 | The g_free() function checks for NULL pointers | Marcel Holtmann | 1 | -5/+3 | |
And so does even the free() function from glibc ;) | |||||
2010-03-22 | Some additional whitespace cleanup for PPP code | Marcel Holtmann | 1 | -1/+1 | |
2010-03-22 | CHAP with MD5 authentication support | Kristen Carlson Accardi | 1 | -0/+229 | |
Authentication support with CHAP and MD5 |