Commit Graph

  • 1ddebcc862 Moved PPP headers into include/netif/ppp/, fixing bug #37040. Sylvain Rochet 2012-08-18 22:40:19 +02:00
  • 1adb900561 Moved the include of lwip_md5.h or md5.h into the #if PPP_MD5_RANDM block, as suggested by Ivan Delamer Sylvain Rochet 2012-08-18 12:56:59 +02:00
  • c5c1012ddd removed some compiler warnings in pppoe_disconnect() Sylvain Rochet 2012-08-17 23:42:14 +02:00
  • 519f81771a Merge remote-tracking branch 'origin/master' into ppp-new Sylvain Rochet 2012-08-17 23:11:47 +02:00
  • c762c06b17 Fixed typo in previous commit. Ivan Delamer 2012-08-17 11:24:18 -06:00
  • 8bab543531 Add a "NULL" output function for ipv6 by default, to avoid NULL dereferencing in case of non-IPv6-enabled netifs (e.g. PPP). Ivan Delamer 2012-08-17 10:56:14 -06:00
  • bab8c82a35 fixed bug #36645: Calling dhcp_release before dhcp_start dereferences NULL goldsimon 2012-08-13 21:50:15 +02:00
  • b82bca7c99 fixed bug #36840 snmp_send_trap() NULL de-reference if traps configured but no interfaces available goldsimon 2012-08-13 21:38:30 +02:00
  • 556a2126b5 Fixed bug #36899 DNS TTL 0 is cached for a long time goldsimon 2012-08-13 21:32:44 +02:00
  • a070751061 fixed bug #37052: "netconn_alloc: undefined netconn_type" assertion skipped goldsimon 2012-08-13 21:17:17 +02:00
  • 847845027f Merge branch 'master' of git.sv.gnu.org:/srv/git/lwip goldsimon 2012-08-13 20:57:55 +02:00
  • c69914367d Sanity-check the size of netif->hwaddr goldsimon 2012-08-13 20:57:19 +02:00
  • 48d364e269 Merge remote-tracking branch 'origin/master' into ppp-new Sylvain Rochet 2012-07-24 23:17:15 +02:00
  • c58c27ed8b removed time-based PPP phase state machine hacks from PPPoE dans PPPoL2TP Sylvain Rochet 2012-07-24 22:50:17 +02:00
  • 97b8abf16c Fix bug #36857: tcp_listen_dual_with_backlog() only works with ANY address James Smith 2012-07-24 10:34:09 -06:00
  • 59567b43b0 pcb->link_status_cb must be set, we don't need to check each time we use it if not NULL Sylvain Rochet 2012-07-23 00:55:24 +02:00
  • e067e84d69 switch to phase dead if PPPoE or PPPoL2TP failed to connect Sylvain Rochet 2012-07-23 00:48:27 +02:00
  • 35c670513f fixed some more PPP phase state machine issues Sylvain Rochet 2012-07-22 23:53:27 +02:00
  • 8ec92b6fe7 don't call ppp_hup() and ppp_stop() if PPPoE or PPPoL2TP failed to connect Sylvain Rochet 2012-07-22 23:37:35 +02:00
  • 5552f082e8 handle cases when ppp_close() is called while session is in dead or holdoff phase Sylvain Rochet 2012-07-22 21:42:56 +02:00
  • 3c122117fc improved PPP API, added ppp_reopen() Sylvain Rochet 2012-07-22 20:53:54 +02:00
  • a467d21eba ppp_close() PPPoL2TP support added Sylvain Rochet 2012-07-22 18:05:19 +02:00
  • bc724ea206 Do not destroy the PPP control block automatically anymore, added ppp_delete() API function. Sylvain Rochet 2012-07-22 17:20:40 +02:00
  • 4ea5c1d973 improved persist mode, we now clear everything we can in the PPP control block structure, ensuring we start a new session from a clean state Sylvain Rochet 2012-07-21 00:26:23 +02:00
  • c65883a727 UCHAR_MAX is defined in limits.h, I do not want to add any system include, replaced to 0xff Sylvain Rochet 2012-07-16 20:09:49 +02:00
  • a4f6146667 removed some FIXME that are not relevant anymore Sylvain Rochet 2012-07-15 15:57:54 +02:00
  • 936c6c0d5c reduced call stack by one when receiving a PPPoE disc packet Sylvain Rochet 2012-07-15 15:12:40 +02:00
  • 91af8878e1 saved some bytes from PPPoE control block, improved PADI retries Sylvain Rochet 2012-07-15 15:07:07 +02:00
  • d2b2ae09e6 saving 14 bytes per PPPoE pbuf; not allocating struct eth_hdr two times per packet Sylvain Rochet 2012-07-15 14:56:30 +02:00
  • 94c35184a9 replaced PPPoL2TP printf() used to debug to PPPDEBUG a/o deletion Sylvain Rochet 2012-07-14 17:47:30 +02:00
  • 9e021cd1a8 improved PPP default interface management, added ppp_set_default() API call Sylvain Rochet 2012-07-14 17:25:24 +02:00
  • 78565026ac L2TP output netif is now selectable, making it useful to select a default route for the L2TP tunnel, in case the default interface is set to the L2TP PPP interface Sylvain Rochet 2012-07-12 01:11:08 +02:00
  • de6be743c6 added holdoff support for PPPoE and PPPoL2TP when persist mode is used Sylvain Rochet 2012-07-11 23:50:33 +02:00
  • f534e80c71 added L2TPv2 (PPP over L2TP, a.k.a. UDP tunnels) support Sylvain Rochet 2012-07-09 23:25:32 +02:00
  • 0797ab6bc6 some buggy compiler get confused with duplicated labels used in enum tcp_state and fsm.h, prepending PPP's ones Sylvain Rochet 2012-07-09 22:12:14 +02:00
  • b4df26a75d some buggy compiler get confused with duplicated labels used in enum tcp_state and fsm.h, prepending PPP's ones Sylvain Rochet 2012-07-09 22:04:09 +02:00
  • d92c462466 added PPP Sequential API module, based from the Network Interface Sequential API module Sylvain Rochet 2012-07-07 19:50:56 +02:00
  • f31b905847 initialize PPP in the lwip_init() function Sylvain Rochet 2012-07-07 17:33:34 +02:00
  • 572e457e77 improved PPP API header documentation Sylvain Rochet 2012-07-07 15:05:15 +02:00
  • be9b23a082 fixed LCP Echo Request/Reply feature Sylvain Rochet 2012-07-07 12:16:48 +02:00
  • c9e7531251 Merge branch 'master' into ppp-new Sylvain Rochet 2012-07-04 00:22:33 +02:00
  • 90faecd86e replaced u_int{8,16,32}_t to lwIP u{8,16,32}_t types Sylvain Rochet 2012-07-03 22:59:50 +02:00
  • 6c12e5bfbe Allow setting/getting socket option IPV6_V6ONLY for stream sockets only, as datagram sockets do not support dual IP versions yet. Ivan Delamer 2012-07-03 14:39:25 -06:00
  • 2e069429c2 removed bool type, replaced by u8_t Sylvain Rochet 2012-07-03 22:03:51 +02:00
  • e65202f825 Applied patch by James Smith to implement IPV6_V6ONLY support in sockets and netconns. James Smith 2012-07-03 13:16:04 -06:00
  • 11a3057e8e PPP: Add option to skip FCS table Erik Ekman 2012-06-23 15:11:49 +02:00
  • ba0c619844 clarified PPP_INPROC_OWNTHREAD documentation Sylvain Rochet 2012-06-23 13:46:51 +02:00
  • a83fb30836 fixed PPPoS multithread support Sylvain Rochet 2012-06-23 13:07:43 +02:00
  • dc092653f4 now displaying sent packet before PPPoS add its escaping, trailing flags, ... Sylvain Rochet 2012-06-23 12:04:27 +02:00
  • 25c6278000 fixed some endianess issues with PPPoS Sylvain Rochet 2012-06-23 02:27:03 +02:00
  • 5033e0e752 display IPV6CP packets Sylvain Rochet 2012-06-23 01:44:52 +02:00
  • 295eeef9b6 "ISO C forbids conversion of function pointer to object pointer type" - removed callback function pointer display in debug messages. Anyway, this is quite a meaningless information. Sylvain Rochet 2012-06-22 21:48:21 +02:00
  • f63b87e28b setting tot_len before using it, oops Sylvain Rochet 2012-06-22 21:43:22 +02:00
  • 1f780e86d5 PPP timeouts required depend on the number of allowed PPP sessions Sylvain Rochet 2012-06-22 21:29:12 +02:00
  • 408a56ffaf phase must be set to initalize each time we try to reconnect Sylvain Rochet 2012-06-22 20:48:08 +02:00
  • a84f5d52ff added ppp_pcb to ppp callback Sylvain Rochet 2012-06-22 19:59:46 +02:00
  • fb6eed0087 set LL addresses before bringing the interface up for IPv6 Sylvain Rochet 2012-06-22 19:45:45 +02:00
  • dc242a01b4 don't build ppp_netif_output_ip6() if PPP IPV6 support is disabled Sylvain Rochet 2012-06-22 19:29:55 +02:00
  • 074d3dd2b1 moved ipv6cp global variables to ppp_pcb Sylvain Rochet 2012-06-22 19:27:03 +02:00
  • 807afbc879 improved FSM structure size Sylvain Rochet 2012-06-22 18:50:09 +02:00
  • 8f1eeb1025 improved ipv6cp_options struct size Sylvain Rochet 2012-06-22 18:23:07 +02:00
  • dd288f70ec fixed sent PPPoE dump packet and copy everything we need after pppoe_xmit() free'd the pbuf Sylvain Rochet 2012-06-22 18:07:59 +02:00
  • 6a11134a18 fixed PPPoS suppport compilation Sylvain Rochet 2012-06-22 17:53:39 +02:00
  • 9b60b55f03 SNMP prefers tot_len Sylvain Rochet 2012-06-22 17:48:31 +02:00
  • 77aa06df64 improved ppp_write_over_ethernet(), don't MEMCPY the entire packet into a new pbuf Sylvain Rochet 2012-06-22 17:03:59 +02:00
  • 9b7860d6ec merged ppp_write and ppp_write_pbuf Sylvain Rochet 2012-06-22 14:17:35 +02:00
  • bda73b1bc9 replaced call from ppp_write to ppp_write_pbuf Sylvain Rochet 2012-06-21 23:31:23 +02:00
  • 8576ee0981 randomized seed when using MD5 random support and PPPoE Sylvain Rochet 2012-06-21 23:08:20 +02:00
  • 8093b55e86 don't destroy and create the PPP interface each time sifup() is called (it is actually called twice with IPv4 + IPv6 enabled) Sylvain Rochet 2012-06-21 22:28:52 +02:00
  • b6db4a0e2e PPP IPv6 local link support added Sylvain Rochet 2012-06-21 18:05:17 +02:00
  • cd7894dfc9 added compilation macro to eui64.[ch] and cleaned unix-dependant code Sylvain Rochet 2012-06-20 13:39:08 +02:00
  • c36d73f42a added raw IPv6 PPP files Sylvain Rochet 2012-06-20 13:29:21 +02:00
  • 9871c4ff06 improved IPCP control structure size Sylvain Rochet 2012-06-20 00:10:08 +02:00
  • e330983408 improved lcp_options structure size Sylvain Rochet 2012-06-20 00:03:08 +02:00
  • 4bbf443ba2 improved CHAP structure size, however there is not much we can do Sylvain Rochet 2012-06-19 23:42:41 +02:00
  • 0234c62c3e improved PAP control structure size Sylvain Rochet 2012-06-19 23:37:33 +02:00
  • 0bdc27186d some more improvements to ppp_pcb Sylvain Rochet 2012-06-19 23:31:20 +02:00
  • c51c55b782 LCP and IPCP variable size improved Sylvain Rochet 2012-06-19 23:25:57 +02:00
  • 26250f1953 removed pcb->chap_mdtype_all Sylvain Rochet 2012-06-19 23:14:31 +02:00
  • 7ecfe6304a reduced MTU/MRU variables Sylvain Rochet 2012-06-19 23:03:47 +02:00
  • b7be03801c improved much more ppp_pcb entry size Sylvain Rochet 2012-06-19 22:53:38 +02:00
  • b21cb8a396 removed pcb->num if PPP debug is not compiled Sylvain Rochet 2012-06-19 22:08:14 +02:00
  • eadd56a376 replaced exit code (pcb->status) with ppp_ioctl() Sylvain Rochet 2012-06-19 22:00:12 +02:00
  • 2aa9a66c57 don't duplicate user and password anymore, anyway, the PPP user will have them already allocated as static strings or from configuration flash/file Sylvain Rochet 2012-06-19 21:26:52 +02:00
  • 8e9c07df39 more idle time limit macros Sylvain Rochet 2012-06-19 18:02:23 +02:00
  • 1d392f0e76 removed useless flags from ppp_settings Sylvain Rochet 2012-06-19 17:54:29 +02:00
  • 08cbc1b22b idle time limit and connect time limit are now compile time options Sylvain Rochet 2012-06-19 17:50:02 +02:00
  • f744d7a789 reduced ppp_settings types size Sylvain Rochet 2012-06-19 17:42:13 +02:00
  • ff2a737094 ppp_settings.remote_name is now a compile time option Sylvain Rochet 2012-06-19 17:38:02 +02:00
  • 111a1cef52 moved ppp_settings.lax_recv and ppp_settings.noendpoint bool types (so char) to the ppp_settings bitfield Sylvain Rochet 2012-06-19 17:07:02 +02:00
  • a44b56dc61 pcb->nak_buffer replaced with a pbuf Sylvain Rochet 2012-06-19 15:36:53 +02:00
  • 1b586b69bc do not allocated pbuf of more than pcb->peer_mru instead of PPP_MRU, to save some memory Sylvain Rochet 2012-06-18 15:07:48 +02:00
  • 4a7f2ffc5e pcb->outpacket_buf replaced by pbuf everywhere it was used Sylvain Rochet 2012-06-18 02:21:18 +02:00
  • 503162ec54 CHAP is now using pbuf instead of pcb->outpacket_buf Sylvain Rochet 2012-06-18 01:18:24 +02:00
  • 22fad86453 PAP is now using pbuf instead of pcb->outpacket_buf Sylvain Rochet 2012-06-18 01:10:21 +02:00
  • 8641b8a36e PPP_PCB are now allocated using memp_alloc() Sylvain Rochet 2012-06-17 23:48:55 +02:00
  • be2d3b5886 moved back temporarily moved structure definitions from various headers to ppp.h during unit to ppp_pcb transition Sylvain Rochet 2012-06-17 02:33:47 +02:00
  • 3120487243 cleanified old style C function declaration from utils.c Sylvain Rochet 2012-06-17 01:47:45 +02:00
  • 4404ef0281 prevent conflict with existing (md4|md5|sha1|des) object file if polarssl is already used elsewhere in the project Sylvain Rochet 2012-06-17 00:55:11 +02:00
  • 0c68fc409e fixed pppoe_find_softc_by_session() when we have the same PPPoE session id on 2 ethif Sylvain Rochet 2012-06-17 00:33:02 +02:00