Commit Graph

  • c8db96705f PPP, MPPE, close current session using lcp_close() if something went wrong Sylvain Rochet 2015-04-19 02:27:40 +02:00
  • f94efab6c3 PPP, CCP, added MPPE user configuration flags Sylvain Rochet 2015-04-19 02:17:43 +02:00
  • 4c0af0f79e PPP, MPPE, reworked MPPE debug, using ppp_pcb metadata Sylvain Rochet 2015-04-19 01:49:04 +02:00
  • fc7e327d19 PPP, MSCHAP, CCP, MPPE: reworked key passing from CCP to MPPE Sylvain Rochet 2015-04-19 01:20:43 +02:00
  • 045f44c7f9 PPP, MSCHAP, merged mppe_set_keys() to Set_Start_Key(), merged mppe_set_keys2() to SetMasterKeys() Sylvain Rochet 2015-04-19 00:26:25 +02:00
  • 867d13b007 PPP, CCP, MPPE: calling mppe_init() in ccp.c instead of using ccp_test() Sylvain Rochet 2015-04-18 23:51:10 +02:00
  • 40991b93a2 PPP, CCP, reworked ppp_pcb ccp_localstate and all_rejected fields Sylvain Rochet 2015-04-18 19:47:21 +02:00
  • 949d76b328 PPP, MSCHAP: ensure magic tables are not copied and initialized on stack Sylvain Rochet 2015-04-18 19:14:39 +02:00
  • 210a2ccfdf PPP, MSCHAP, MPPE: shared identical mppe_sha1_pad* between MSCHAP and MPPE Sylvain Rochet 2015-04-18 18:51:45 +02:00
  • 3862aad2f7 PPP, MSCHAP, reworked local functions and constants Sylvain Rochet 2015-04-18 17:56:35 +02:00
  • 2a005c2f11 PPP, MPPE, moved MPPE global variables from MSCHAP to ppp_pcb Sylvain Rochet 2015-04-18 17:41:44 +02:00
  • ab46ac9bd8 PPP, CHAP, reworked to pass ppp_pcb pointer to CHAP childs (MD5, MSCHAP, MSCHAPv2) Sylvain Rochet 2015-04-18 17:29:55 +02:00
  • c51ed84fd8 PPP, MPPE, added ppp_mppe_state comp and decomp to ppp.h Sylvain Rochet 2015-04-18 16:13:44 +02:00
  • 74054ea907 PPP, MPPE, struct ppp_mppe_state to typedef Sylvain Rochet 2015-04-18 14:54:25 +02:00
  • f79bc03360 PPP, MPPE, optimized struct ppp_mppe_state size Sylvain Rochet 2015-04-18 13:41:38 +02:00
  • b553df860c PPP, CCP, deflate, BSD compress, predictor 1 & 2 are now optional at compile time Sylvain Rochet 2015-04-18 02:02:00 +02:00
  • f753a728dd PPP, CCP, compile-out a bit more MPPE code if MPPE is disabled Sylvain Rochet 2015-04-18 01:10:25 +02:00
  • 3f2e8ebcdf PPP, MPPE, merged mppe_comp_init() and mppe_decomp_init() into mppe_init() Sylvain Rochet 2015-04-18 00:48:26 +02:00
  • a1fe83c070 PPP, MPPE, remove dead code Sylvain Rochet 2015-04-18 00:43:24 +02:00
  • 879c94b01e PPP, MPPE, removed mppe_alloc() and mppe_free() Sylvain Rochet 2015-04-18 00:33:57 +02:00
  • da40445d75 PPP, MPPE, changed API to use struct ppp_mppe_state* instead of void* Sylvain Rochet 2015-04-18 00:26:15 +02:00
  • 6235e1ae57 PPP, MPPE, moved struct ppp_mppe_state from mppe.c to mppe.h Sylvain Rochet 2015-04-18 00:15:52 +02:00
  • 3618432107 PPP, MPPE, reworked mppe_rekey() Sylvain Rochet 2015-04-18 00:02:49 +02:00
  • f1cba8a0ea PPP, MPPE, merged get_new_key_from_sha() to mppe_rekey() Sylvain Rochet 2015-04-17 23:53:22 +02:00
  • 489760d2e3 PPP, CCP, re-added missing ccp_test() Sylvain Rochet 2015-04-17 23:21:13 +02:00
  • caf9fc5687 PPP, MPPE, adapt compressor to use pbuf Sylvain Rochet 2015-04-16 22:23:57 +02:00
  • dc93c2afec PPP, MPPE, removed address, control and protocol from compressor input Sylvain Rochet 2015-04-14 22:55:57 +02:00
  • 9164c4f309 PPP, MPPE, removed address, control and protocol from compressor output Sylvain Rochet 2015-04-14 22:15:11 +02:00
  • e241f880e8 PPP, code cleaning, fixed ppp_input() indentation Sylvain Rochet 2015-04-13 23:19:43 +02:00
  • 662f1355de PPP, fixed LWIP_IPV4=1 and PPP_IPV4_SUPPORT=0 support Sylvain Rochet 2015-04-13 23:07:42 +02:00
  • c865211c2f PPP, get_mask() is only used for IPCP, moved to PPP_IPV4_SUPPORT functions group Sylvain Rochet 2015-04-13 22:58:45 +02:00
  • 6324068d34 Worked on IPv6-only stack: netdb should work sg 2015-04-13 21:29:04 +02:00
  • e77e18f8c4 Worked on IPv6-only stack: - prepared DNS; - fixed compiling ppp.c sg 2015-04-13 21:24:40 +02:00
  • 69c337b31d Fixed ntoa/aton/ntop/pton definitions after making IPv4 optional sg 2015-04-13 20:52:42 +02:00
  • bc99f75b53 PPP, PPPoL2TP, removed unnecessary single pbuf Sylvain Rochet 2015-04-12 22:00:43 +02:00
  • 421582d747 PPP, MPPE, using err_t return for mppe_decompress Sylvain Rochet 2015-04-12 21:09:15 +02:00
  • ab1606a0f6 PPP, MPPE, adapt decompressor to use pbuf Sylvain Rochet 2015-04-12 21:04:22 +02:00
  • bcfaeca373 PPP, PPPoE, removed unnecessary single pbuf Sylvain Rochet 2015-04-12 20:08:01 +02:00
  • 5f0e261f2d PPP, MPPE, handle packets in decompressor without address and control nor protocol Sylvain Rochet 2015-04-12 18:41:21 +02:00
  • 0e1aec4348 PPP, using ip4_input() instead of ip_input() Sylvain Rochet 2015-04-12 13:53:53 +02:00
  • c1c65777b6 worked on task #13480: added LWIP_IPV4 define - IPv4 can be disabled, leaving an IPv6-only stack (SNMP is still missing) sg 2015-04-12 10:43:46 +02:00
  • 89d666155d PPP, MPPE, fixed mppe_rekey() Sylvain Rochet 2015-04-12 01:27:05 +02:00
  • 4d6d65ee33 PPP, MPPE, fixed SHA1 padding Sylvain Rochet 2015-04-11 23:57:47 +02:00
  • dcdb360a19 ip6_addr.c: fixed IPv6 ip6_addr_any value Sylvain Rochet 2015-04-11 20:24:56 +02:00
  • 8a73990f51 PPP, PPPoL2TP, improved pppol2tp_create() error path Sylvain Rochet 2015-04-11 14:06:06 +02:00
  • efe229a54b PPP, PPPoL2TP, merged pppol2tp_input_ip() to pppol2tp_input() Sylvain Rochet 2015-04-11 13:56:41 +02:00
  • d6fdf7d4b1 PPP, PPPoL2TP, switched to dual stack IPv4/IPv6 Sylvain Rochet 2015-04-11 13:15:06 +02:00
  • cf180b651b fixed unit tests after changing ip_addr_t goldsimon 2015-04-10 08:51:06 +02:00
  • 2e649e1843 Added IP_ADDR4()/IP_ADDR6() initializer macros that initialize ip_addr_t like their counterparts IP4_ADDR()/IP6_ADDR() goldsimon 2015-04-10 08:49:32 +02:00
  • 1985579148 fixed compiler warning (signed/unsigned comparison) introduced when fixing bug #44766 goldsimon 2015-04-10 07:46:31 +02:00
  • d31dbc6798 Fixed constant initializer problem in ip_addr_t by having ip6 first goldsimon 2015-04-10 07:41:40 +02:00
  • ffd45a2261 PPP, added new build dependencies in init.c Sylvain Rochet 2015-04-10 01:00:08 +02:00
  • 135631d29d fixed some obvious compiler warnings Sylvain Rochet 2015-04-09 23:27:36 +02:00
  • ce7e31cd04 task #12722 (improve IPv4/v6 address handling): renamed ip_addr_t to ip4_addr_t, renamed ipX_addr_t to ip_addr_t and added IP version; ip_addr_t is used for all generic IP addresses for the API, ip(4/6)_addr_t are only used internally or when initializing netifs or when calling version-related functions sg 2015-04-09 22:21:15 +02:00
  • 4ff1eb1890 fixed bug #44766 (LWIP_WND_SCALE: tcphdr->wnd was not scaled in two places) goldsimon 2015-04-08 07:29:11 +02:00
  • 7c47c917b5 dhcp: start discovery with short timeouts on network change, even if already discovering goldsimon 2015-04-02 11:02:16 +02:00
  • 7285459375 PPP, MPPE, exported MPPE functions Sylvain Rochet 2015-03-29 12:18:50 +02:00
  • 52b7ebd4e7 PPP, MPPE, fixed compiler warnings Sylvain Rochet 2015-03-29 12:13:33 +02:00
  • ea6f624b58 PPP, MPPE. fixed port mistake on SHA1 computation Sylvain Rochet 2015-03-29 11:53:39 +02:00
  • 3cf3b78192 PPP, MPPE, commented-in Linux interface calls structure Sylvain Rochet 2015-03-29 01:34:17 +01:00
  • cdc2d034de PPP, MPPE, temporarily replaced kzalloc() with malloc() Sylvain Rochet 2015-03-29 01:33:59 +01:00
  • cd8a17d644 PPP, MPPE, removed useless Linux stuff Sylvain Rochet 2015-03-29 01:29:45 +01:00
  • 57e3e7f150 PPP, MPPE, improved SHA1 padding Sylvain Rochet 2015-03-29 01:25:58 +01:00
  • c759639603 PPP, MPPE, removed "compression" stats Sylvain Rochet 2015-03-29 01:09:31 +01:00
  • a6c101aeb8 PPP, MPPE, removed now useless setup_sg() function Sylvain Rochet 2015-03-29 01:07:20 +01:00
  • 7ea8a754c1 PPP, MPPE, using our ARC4 instead of Linux crypto ARC4 Sylvain Rochet 2015-03-29 01:04:02 +01:00
  • d5667343cb PPP, updated polarssl readme Sylvain Rochet 2015-03-29 00:06:21 +01:00
  • 0bfe435c4f PPP, MPPE, updated polarssl ARC4 for lwIP Sylvain Rochet 2015-03-28 23:58:59 +01:00
  • cd39843c75 PPP, MPPE, import unmodified ARC4 from polarssl Sylvain Rochet 2015-03-28 23:23:35 +01:00
  • f9ae65acd8 PPP, MPPE, added build macro if MPPE is not enabled Sylvain Rochet 2015-03-28 00:14:11 +01:00
  • cfd930cae7 PPP, MPPE, using our SHA1 instead of Linux crypto sha1 Sylvain Rochet 2015-03-27 00:45:01 +01:00
  • 0b7e3610ac PPP, MPPE, using lwIP ERR_BUF instead of Linux DECOMP_ERROR error type Sylvain Rochet 2015-03-27 00:29:45 +01:00
  • 10946e7669 PPP, MPPE, removed a bit more Linux stuff Sylvain Rochet 2015-03-27 00:25:35 +01:00
  • 2dcd8c2729 PPP, MPPE, removed include we don't have Sylvain Rochet 2015-03-27 00:12:05 +01:00
  • dcde1c2a8f PPP, CCP, added missing defines from linux/ppp-comp.h to ccp.h Sylvain Rochet 2015-03-27 00:10:20 +01:00
  • 0810384555 PPP, MPPE, replaced printk() to PPPDEBUG() Sylvain Rochet 2015-03-27 00:05:07 +01:00
  • 434fb1e0da PPP, MPPE, fixed path to mppe.h Sylvain Rochet 2015-03-26 23:59:06 +01:00
  • 435a0b98ac PPP, MPPE, cleaning license notice Sylvain Rochet 2015-03-26 23:54:09 +01:00
  • 05eda236cc PPP, MPPE, import unmodified Linux MPPE encoder/decoder Sylvain Rochet 2015-03-26 23:47:54 +01:00
  • c998faeeab fixed bug #44649 lwip_socket_drop_registered_memberships goldsimon 2015-03-27 13:18:34 +01:00
  • f967933e8b PPP, PPPoS, protect open flag in connect() and listen() Sylvain Rochet 2015-03-26 23:30:18 +01:00
  • 8862a1ac8f PPP, MPPE, ccp_options->mppe is a bitfield of MPPE_OPT_* and not a boolean, fixed Sylvain Rochet 2015-03-25 00:09:37 +01:00
  • ad56a115be PPP, CCP, moved ccp_test() from ccp_addci() to ccp_resetci() Sylvain Rochet 2015-03-24 23:37:56 +01:00
  • c8ed013600 PPP, FSM, added assert to easily track cilen size mismatch Sylvain Rochet 2015-03-24 23:10:58 +01:00
  • c49fc8db72 PPP, CCP: Fix ccp_cilen returning size if both deflate_correct and deflate_draft are enabled Sylvain Rochet 2015-03-24 21:37:43 +01:00
  • 93fa268db1 used ip6_addr_t instead of struct ip6_addr, fix const'ness in ip6_route parameters sg 2015-03-24 21:30:22 +01:00
  • 521c92764d loopif is not required for loopback traffic any more but passed through any netif (ENABLE_LOOPBACK has to be enabled) (task #13515) sg 2015-03-24 21:22:19 +01:00
  • 71d121fab2 Added input & route hooks for IPv6 to stay in line with IPv4 sg 2015-03-24 20:33:47 +01:00
  • 86970a01d7 etharp: reduce ARP aging timeout from 20 minutes to 5 minutes, since this is a time obviously used in some switches as MAC learning table timeout. Having our ARP timeout higher than this can lead to sending unicast packets to multiple network segments. sg 2015-03-24 20:04:18 +01:00
  • 210496f0ca PPP, IPV6, correct fix for IPV6CP_COMP disabling Sylvain Rochet 2015-03-23 23:48:00 +01:00
  • 2eb0386c2a fixed bug #36017 ARP might not support duplicate addresses on multiple netifs (tried to correctly handle duplicate AutoIP addresses on multiple netifs, but only if explicitly enabled via ETHARP_TABLE_MATCH_NETIF==1) sg 2015-03-23 22:04:57 +01:00
  • 440c99100b fixed bug #34617: Stable etharp entries that are about to expire are now refreshed using unicast to prevent unnecessary broadcast. Only if no answer is received after 15 seconds, broadcast is used. sg 2015-03-23 21:38:19 +01:00
  • 33d5e646e5 fixed bug #41318 (Bad memory ref in tcp_input() after tcp_close()) sg 2015-03-21 21:19:10 +01:00
  • c00a62d37f fixed bug #38468 (tcp_sent() not called on half-open connection for data ACKed with the same ack as FIN) sg 2015-03-21 20:56:42 +01:00
  • 17486408b4 PPP, IPV6, fixed build if VJ support is disabled Sylvain Rochet 2015-03-21 20:41:03 +01:00
  • c17594c1d0 PPP, CORE, don't build get_loop_output() if demand support (not supported) is not enabled Sylvain Rochet 2015-03-21 20:12:14 +01:00
  • 4463239d6e fixed bug #38204 (DHCP lease time not handled correctly) sg 2015-03-21 10:09:31 +01:00
  • 45d82c8d99 dhcp.c: removed dead code (#if 0) sg 2015-03-20 21:03:19 +01:00
  • 3e302e8683 fixed bug #38714 (Missing option and client address in DHCPRELEASE message) sg 2015-03-20 21:02:41 +01:00
  • d6620f0f3a fixed bug #38203 (DHCP options are not recorded in all DHCP ack messages) sg 2015-03-20 20:29:04 +01:00