ofono/gatchat
Philip Paeps a88662d23c gatchat: implement PAP authentication
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.
2014-06-21 11:50:34 -05:00
..
crc-ccitt.c gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
crc-ccitt.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gat.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gatchat.c gatchat: Fix handling of WRITE_SCHEDULER_DEBUG 2014-01-19 16:48:04 -08:00
gatchat.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gathdlc.c gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gathdlc.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gatio.c gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gatio.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gatmux.c gatchat: Avoid shadowing variables 2012-07-15 20:14:12 -03:00
gatmux.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gatppp.c gatchat: implement PAP authentication 2014-06-21 11:50:34 -05:00
gatppp.h gatchat: implement PAP authentication 2014-06-21 11:50:34 -05:00
gatrawip.c gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gatrawip.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gatresult.c gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gatresult.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gatserver.c gatserver: Add NULL check to avoid crash 2012-06-24 17:40:59 -05:00
gatserver.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gatsyntax.c gatsyntax: Fix typo with GSM_PERMISSIVE_STATE_RESPONSE_STRING 2012-05-25 20:48:22 +02:00
gatsyntax.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gattty.c gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gattty.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gatutil.c gatutil: Use g_ascii_isprint instead of isprint 2012-01-11 14:31:45 -06:00
gatutil.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gsm0710.c gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gsm0710.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
gsmdial.c gsmdial: Set recording after ppp_open 2012-01-02 10:57:27 -06:00
ppp.h gatchat: implement PAP authentication 2014-06-21 11:50:34 -05:00
ppp_auth.c gatchat: implement PAP authentication 2014-06-21 11:50:34 -05:00
ppp_cp.c gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
ppp_cp.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
ppp_ipcp.c gatchat: Minor style fixup 2011-11-07 12:27:51 -06:00
ppp_ipv6cp.c gatchat: Minor style fixup 2011-11-07 12:27:51 -06:00
ppp_lcp.c gatchat: implement PAP authentication 2014-06-21 11:50:34 -05:00
ppp_net.c gatchat: Print error message if opening tun failes 2012-08-30 17:06:09 -05:00
ringbuffer.c gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
ringbuffer.h gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
test-qcdm.c gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
test-server.c gatchat: Avoid shadowing global AT server variable 2012-07-15 20:14:12 -03:00