Commit Graph

  • 8673610f3f mqtt: add TLS support goldsimon 2017-03-28 09:19:32 +02:00
  • 26a6e034fc mqtt: convert to altcp API goldsimon 2017-03-28 09:14:35 +02:00
  • 1dfe916808 altcp_tcp: use 'void* state' to store tcp_pcb, not 'altcp_pcb* inner_conn' goldsimon 2017-03-28 09:08:33 +02:00
  • 881ab3011e mqtt: pass client_user/client_pass to server if != NULL goldsimon 2017-03-27 22:25:26 +02:00
  • ca43e64d35 minor: fixed typo in doc goldsimon 2017-03-27 12:23:02 +02:00
  • 751ee7a534 SNTP: Implement round-trip delay compensation Daniel Elstner 2017-03-25 16:57:51 +01:00
  • cc77b308a4 SNTP: Unify timestamp extraction from response packet Daniel Elstner 2017-03-27 00:04:23 +02:00
  • 2fa9cd8530 SNTP: Streamline timestamp handling Daniel Elstner 2017-03-27 00:01:04 +02:00
  • 9323ad3211 arch: Optionally support 64-bit integers Daniel Elstner 2017-03-25 16:18:11 +01:00
  • 596bddac47 altcp: added raw tcp fallback for altcp_get_ip() #if !LWIP_ALTCP goldsimon 2017-03-26 22:29:18 +02:00
  • 425b2dda61 altcp_get_ip: added altcp_get_ip(), added default functions that only defer a call to the inner_conn (moved from tls_mbedtls to generic altcp) goldsimon 2017-03-26 22:26:40 +02:00
  • 1ab89ed5e6 bridgeif: fixed IPv6-only build goldsimon 2017-03-26 20:52:05 +02:00
  • 6add16e36b altcp_tls_mbedtls: fixed memory leak introduced by delayed deallocation goldsimon 2017-03-25 20:35:46 +01:00
  • 0581a77731 Prepare altcp_tls_mbedtls for TLS clients (not fully tested yet) goldsimon 2017-03-24 15:25:43 +01:00
  • 540b527cf4 remove LWIP_RANDOMIZE_INITIAL_LOCAL_PORTS config option (this is implicitly done via #ifdef LWIP_RAND) goldsimon 2017-03-24 14:29:06 +01:00
  • a2bc02d682 altcp_tls_mbedtls: improve sent/recved handling goldsimon 2017-03-23 22:04:36 +01:00
  • 1ddb125e2c altcp_tls_mbedtls_mem: fix compiling for sizeof(mem_size_t) < sizeof(size_t) goldsimon 2017-03-23 12:15:54 +01:00
  • d71653f049 sockets.c: fix compiling in release mode goldsimon 2017-03-23 10:43:58 +01:00
  • 819224f0e5 Fix bug #50618: dhcp_remove_struct() macro does not work Patch by Benjamin Silvestre Dirk Ziegelmeier 2017-03-23 09:29:31 +01:00
  • a49e040072 sockets: remove select_cb definitions #if !LWIP_SOCKET_SELECT goldsimon 2017-03-23 08:34:56 +01:00
  • 5149141790 altcp_tls: remove declarations #if !LWIP_ALTCP_TLS goldsimon 2017-03-23 08:34:36 +01:00
  • 1e26652d2e renamed altcp_mbedtls files to altcp_tls_mbedtls goldsimon 2017-03-23 08:34:02 +01:00
  • ab736a4764 Add altcp to doxygen docs Dirk Ziegelmeier 2017-03-22 23:32:32 +01:00
  • 7e12240af3 Improve TCP documentation a bit Dirk Ziegelmeier 2017-03-22 23:32:17 +01:00
  • d04dc46ccb Add altcp_tls to Filelists.mk Some compile fixes in altcp_mbedtls.c Dirk Ziegelmeier 2017-03-22 23:09:48 +01:00
  • 060a47f88a Add altcp to Filelists.mk Some compile fixes in altcp_tcp.c and httpd.c Dirk Ziegelmeier 2017-03-22 22:57:50 +01:00
  • f7d215043c Possible null-pointer dereference Mikhail Lappo 2017-03-22 22:14:24 +01:00
  • 7eba14cb76 Possible null-pointer dereference Mikhail Lappo 2017-03-22 22:06:21 +01:00
  • 08cb949aea Fread return value unused Mikhail Lappo 2017-03-22 21:31:01 +01:00
  • 8360054884 sanity check hdr_buf size goldsimon 2017-03-22 22:46:49 +01:00
  • 89b6fa479e Possible out of bound exception Mikhail Lappo 2017-03-22 21:20:29 +01:00
  • d386374449 httpd: add support for https goldsimon 2017-03-22 22:42:09 +01:00
  • afaa7d9561 httpd: prepare for https: move initialization code to shared function goldsimon 2017-03-22 22:41:24 +01:00
  • 2f3b00efb4 httpd: convert to altcp API (a simple search & replace...) goldsimon 2017-03-22 22:33:50 +01:00
  • 967d4fc3b0 LWIP_ALTCP: default to off for maximum backwards compatibility... goldsimon 2017-03-22 22:33:23 +01:00
  • c18393b52b altcp: added 'addrinfo' and 'tcp_state' functions goldsimon 2017-03-22 22:29:11 +01:00
  • a46664eab2 Add opts header for altcp_tls goldsimon 2017-03-22 21:40:32 +01:00
  • 82d9e45f74 Add protoypes for TLS connections for the new altcp API + an implementation doing HTTPS (server mode for now) with mbedTLS (ATTENTION: this might not be coded secure enough for productive use yet!) goldsimon 2017-03-22 21:33:05 +01:00
  • e8e247f22e Add "application layered TCP connection API (altcp)" goldsimon 2017-03-22 21:31:14 +01:00
  • d58457de43 tcp: move some higher level definitions from tcp.h to new file tcpbase.h (in preparation for altcp API) goldsimon 2017-03-22 21:15:46 +01:00
  • ee5021deb1 tftp_server: fix bogus comment lines in file header goldsimon 2017-03-22 21:14:36 +01:00
  • ba20cd229e api_msg:accept_function(): fix typo goldsimon 2017-03-22 21:12:09 +01:00
  • eba1b971c0 Possible null-pointer dereference Mikhail Lappo 2017-03-22 15:42:48 +01:00
  • 9e20fe2cfb Apply [patch #9287] Possible null-pointer dereference from Mikhail Lappo in a modified way Moved the debug output to a location where we know that newpcb != NULL Fixes possible NULL pointer dereferencing in debug message output Dirk Ziegelmeier 2017-03-22 14:58:13 +01:00
  • c3912e35f6 httpd: regenerate example fs (fsdata.c) with current makefsdata goldsimon 2017-03-21 13:06:26 +01:00
  • ec24a2a4e8 Revert "httpd: regenerate example fs (fsdata.c) with current makefsdata" goldsimon 2017-03-21 12:57:56 +01:00
  • 66fb52ff5c httpd: regenerate example fs (fsdata.c) with current makefsdata goldsimon 2017-03-20 22:19:54 +01:00
  • d11292505b httpd: use capital 'T' for content types, add more content types, provide the possibility to add more content types at compile time (HTTPD_ADDITIONAL_CONTENT_TYPES) goldsimon 2017-03-20 22:19:05 +01:00
  • 2d9ef2215b Fix bug #50576: LWIP_NSC_IPV4_GATEWAY/NETMASK/SETTINGS_CHANGED should check if the setting is actually being changed Dirk Ziegelmeier 2017-03-18 15:30:20 +01:00
  • 972b7c2bfd sys_arch unit tests: refine test_sys_arch_waiting_fn a bit goldsimon 2017-03-18 10:22:44 +01:00
  • 81e4726607 test_socket: conditional compile buffer trailer code Joel Cunningham 2017-03-17 17:12:12 -05:00
  • 0a5a18e703 test_socket: add sendmsg/recvmsg TCP test Joel Cunningham 2017-03-17 16:47:44 -05:00
  • 551d76eadd test_sockets: move loopback addr logic to utility function Joel Cunningham 2017-03-17 11:14:22 -05:00
  • 4c78ec7931 test_socket: replace {0} with memset Joel Cunningham 2017-03-17 14:44:47 -05:00
  • 02e957de1e test_socket: convert sendmsg test to use recvmsg Joel Cunningham 2017-03-17 14:17:42 -05:00
  • aef2accfa3 try to satisfy clang's '-Wempty-body' goldsimon 2017-03-17 11:22:30 +01:00
  • dffb75c5fa test_sockets: fix warning about unused variable "addr_size" goldsimon 2017-03-17 11:03:18 +01:00
  • 59fba75cd8 Update doxygen version to 2.0.3 as in init.h Dirk Ziegelmeier 2017-03-16 08:40:27 +01:00
  • aa129f35a2 hopefully fix building unit tests on linux/clang goldsimon 2017-03-17 09:29:06 +01:00
  • e1d818bb5f sockets unit tests: removed commented-out test code :-/ goldsimon 2017-03-17 09:26:58 +01:00
  • b0444a63b0 tried to fix sockets unit tests; fix configuration to run with any NO_SYS setting and with/without IPv6 (IPv4 is required) goldsimon 2017-03-17 09:05:36 +01:00
  • a42d1678eb tcp unit tests: don't break later tests relying on loopif goldsimon 2017-03-17 08:56:03 +01:00
  • 3fd8440ab9 memp.h: added missing include goldsimon 2017-03-17 08:55:10 +01:00
  • d9a738d85f sockets: fix lwip_getsockname/lwip_getpeername for dual-stack: ip_addr_t type "any" (dual) has to be converted to AF_INET6 goldsimon 2017-03-17 08:54:51 +01:00
  • 53fcd50870 task #14408: move sendmsg UDP to unit tests Joel Cunningham 2017-03-16 19:11:42 -05:00
  • d820fb2f8d Try to add a Filelists.mk file for the unit tests (to fix unix build of unit tests) goldsimon 2017-03-16 22:54:50 +01:00
  • fc47f846ed Fix and improve sockets unit test and unit test sys_arch (with a little help of tcpip.c) goldsimon 2017-03-16 22:49:38 +01:00
  • 8313c4d870 tried to add basic socket unit tests (nonsense only for now); made LOCK_TCPIP_CORE()/UNLOCK_TCPIP_CORE() overridable for that goldsimon 2017-03-16 21:52:30 +01:00
  • 2d8e17aa89 sockets: guard declaration of 'lwip_select()' with LWIP_SOCKET_SELECT==1 goldsimon 2017-03-16 09:18:53 +01:00
  • e71dbec587 bridgeif: fix compiling with NO_SYS==1 by changing default value of BRIDGEIF_PORT_NETIFS_OUTPUT_DIRECT goldsimon 2017-03-16 09:18:28 +01:00
  • b9a40a5163 Fix coding style NO_SYS example code Dirk Ziegelmeier 2017-03-15 20:16:52 +01:00
  • da0714d7cb Fix starting DHCP in NO_SYS example code Dirk Ziegelmeier 2017-03-15 20:09:39 +01:00
  • d9b279d150 Cleanup documentation a bit: rename "Addons" to "NETIFs" - its a more appropriate name Dirk Ziegelmeier 2017-03-15 20:03:55 +01:00
  • 6328da87aa Add bridge interface to documentation Dirk Ziegelmeier 2017-03-15 19:58:32 +01:00
  • 2dcf31d6b1 bridgeif: better separation between bridgeif and fdb (todo: move fdb to contrib?), tried to fix the build for LWIP_NUM_NETIF_CLIENT_DATA==0 goldsimon 2017-03-15 16:50:55 +01:00
  • 946b231516 lwip_init(): at least IAR warns about "LWIP_UNUSED_ARG(a)" accessing an uninitialized variable... Try to fix this by initializing it (it will be optimized away anyway) goldsimon 2017-03-15 16:47:59 +01:00
  • 51a07661cc Added a simple multi-netif 802.1d bridge implementation to show that a multi-port netif works (see task #14369) goldsimon 2017-03-15 12:31:12 +01:00
  • 1f1f2e1c46 Try to fix line endings of tftp_server.c in git rep Dirk Ziegelmeier 2017-03-14 09:12:25 +01:00
  • 754e49643f set version to 2.0.3.dev now that 2.0.2 is released goldsimon 2017-03-14 09:06:06 +01:00
  • eb1aadb218 implement udp/raw recvmsg() by moving recvfrom() into a common function taking an array of iovecs... (IP_PKTINFO/in_pktinfo still missing) goldsimon 2017-03-13 22:30:50 +01:00
  • 59973c96e4 Fix bug #50534: TFTP server does not copy terminating null of filename Patch by David Rodgers Dirk Ziegelmeier 2017-03-13 21:26:06 +01:00
  • c0862d6074 Fixed LWIP_VERSION define for 2.0.2 STABLE-2_0_2_RELEASE_VER goldsimon 2017-03-13 13:27:00 +01:00
  • ea2f6fb57c Add CHANGELOG for 2.0.2 STABLE-2_0_2_RELEASE goldsimon 2017-03-13 10:26:42 +01:00
  • b307fea1b9 Rename "IPv6 mapped IPv4 addresses" to their correct name from RFC4191: "IPv4-mapped IPv6 address" (cherry picked from commit 4d8fec3b67b104f3f082aa4371251b6ae3d33a35) Dirk Ziegelmeier 2017-02-09 21:01:48 +01:00
  • c31bd404e2 Fix unit test with assumed congestion avoidance Joel Cunningham 2017-03-09 16:40:54 -06:00
  • 0381849624 tcp unit tests: fixed that tcp_teardown() could lead to accessing a netif pointer that is not valid any more (netif added in test function stored on stack) goldsimon 2017-03-09 20:23:16 +01:00
  • 19d56b4096 tcp: watch out for pcb->nrtx overflows and tcp_backoff indexing overflow goldsimon 2017-03-09 13:29:41 +01:00
  • 66db517a28 tcp: do not keep sending SYNs when getting ACKs David van Moolenbroek 2017-03-08 19:43:15 +00:00
  • 2452bc9336 bug #50476: initialize ssthresh to TCP_SND_BUF Joel Cunningham 2017-03-07 20:53:02 -06:00
  • 2848b17e80 PPP: remove unused and confusing return values other than ERR_OK for ppp_connect and ppp_listen Sylvain Rochet 2017-03-08 22:17:40 +01:00
  • c71c9882c2 arch.h: include <limits.h> if it exists (at least INT_MAX is used) goldsimon 2017-03-08 20:30:48 +01:00
  • 40fbd6bc24 One enum icmp_te_type member is not in doxygen docs - fix it. Dirk Ziegelmeier 2017-03-03 09:56:06 +01:00
  • df7485de1c lwip_sendmsg/tcp: prevent PSH until all iovecs are enqueued goldsimon 2017-03-02 09:27:32 +01:00
  • cb1a271c61 lwip_recvmsg: MSG_PEEK must be limited to the first iov for TCP goldsimon 2017-03-11 20:42:59 +01:00
  • 15918d8971 mdns.txt: changed the LWIP_MDNS_STRNCASECMP text again to reflect the fact that there are 2 names for 1 function... goldsimon 2017-03-11 20:35:58 +01:00
  • 1371400c2b mdns_domain_add_label_base should be static Dirk Ziegelmeier 2017-03-11 10:41:47 +01:00
  • 681951c175 mdns.txt: LWIP_MDNS_STRNCASECMP -> lwip_strnicmp goldsimon 2017-03-10 23:03:45 +01:00
  • 7bcb4eafec mdns: minor(?) stack usage and performance improvement by letting mdns_readname_loop() copy from pbuf to struct (instead of pbuf->buffer->struct) goldsimon 2017-03-10 23:00:46 +01:00
  • 5752b24d38 fix bug #50503: LWIP_NETCONN_FULLDUPLEX: some LWIP_ERROR paths don't call done_socket() goldsimon 2017-03-10 11:52:59 +01:00
  • 8bf402fd67 Fix unit test with assumed congestion avoidance Joel Cunningham 2017-03-09 16:40:54 -06:00