goldsimon
fda778f6b6
ip6_reass: don't crash if frag header isn't the first (or not in the first pbuf)
2016-06-16 13:51:38 +02:00
Erik Ekman
d98e25a783
nd6: Handle incorrect ICMP option length in RA
...
Make sure ICMPv6 options have a valid length before
parsing them.
Found with afl-fuzz.
2016-06-14 15:06:49 +02:00
sg
4e241fbf14
some minor improvements to the tcp options checking code
2016-06-13 20:41:58 +02:00
Henrik Persson
b9a2ee8aaa
[PATCH] Drop instead of ASSERT in tcp_input header parsing
...
Since allowing input validation to trip the ASSERT handler is bad,
let's just drop the packets instead if validation fails.
Signed-off-by: sg <goldsimon@gmx.de >
2016-06-13 20:08:43 +02:00
Erik Ekman
25652254a5
Update PPP after DNS api change
2016-06-13 10:35:27 +02:00
Dirk Ziegelmeier
5e7b343d52
Fix dns_getserver to return a pointer, not a value
2016-06-13 09:00:46 +02:00
Dirk Ziegelmeier
606b6990ff
Reorganize links in doxygen documentation
2016-06-12 10:41:44 +02:00
Dirk Ziegelmeier
270378387c
Fix broken link in doxygen docs
2016-06-12 10:39:33 +02:00
Dirk Ziegelmeier
9ddde3ef4a
Fix doxygen warnings
2016-06-11 22:57:55 +02:00
Dirk Ziegelmeier
5a056cc861
Update main documentation page
2016-06-11 22:50:53 +02:00
goldsimon
5d9f59daa4
httpd makefsdata: make http response server string configurable via command line, tiny fixes to usage and command interpretation
2016-06-10 13:35:38 +02:00
goldsimon
076f1ee89e
minor: coding style cleanup in snmp code
2016-06-09 14:28:04 +02:00
goldsimon
010b0e2972
snmp: don't assert-fail on zero-length OID
2016-06-09 11:47:15 +02:00
goldsimon
952da88b84
httpd: explicitly added 2 includes that came in through tcp.h by accident...
2016-05-31 16:18:14 +02:00
Dirk Ziegelmeier
9be133777b
Add threading note to api.h
2016-05-25 21:42:59 +02:00
Dirk Ziegelmeier
6be7e221a5
Fix a few doxygen warnings
2016-05-24 22:29:18 +02:00
Dirk Ziegelmeier
a364427ae5
Resurrect doxygen main page (main_page.h)
2016-05-24 21:27:38 +02:00
Dirk Ziegelmeier
451277e7f0
Include all lwIP files in doxygen documentation
2016-05-24 21:03:41 +02:00
Dirk Ziegelmeier
51f3cdfd5a
Fix UTF-8 encoding of sntp files (Frédéric Bernon)
2016-05-24 13:14:18 +02:00
goldsimon
344de0e119
fixed comments on netconn_shutdown to prevent using full-duplex wording...
2016-05-24 10:01:03 +02:00
Jan Breuer
bfd3baa20e
netif: add additional getters/setters
2016-05-23 22:29:53 +02:00
sg
631c458c55
Fixed invalid DEBUGF level SERIOUS when pbuf_header fails (it returns '1': this is not serious!)
2016-05-23 22:06:02 +02:00
Dirk Ziegelmeier
6c8c3fd48c
Fix more doxygen errors
2016-05-23 21:38:18 +02:00
Dirk Ziegelmeier
90a656ed78
Fix several doxygen errors all over the code
2016-05-23 21:18:16 +02:00
Dirk Ziegelmeier
f4bf0dff85
Update doxygen file to work with recent doxygen versions
2016-05-23 20:16:20 +02:00
Dirk Ziegelmeier
59af802fb6
Add spaces around string concatenation macro (fixes compile on some compilers)
2016-05-23 10:34:58 +02:00
Jan Breuer
ebd103775d
ipv6_addr: Render last zero in ip6addr_ntoa_r if not in first empty block
2016-05-23 09:54:54 +02:00
goldsimon
bd177ff38f
added comment, fixed coding style
2016-05-23 09:47:14 +02:00
Jan Breuer
ac21a5f370
nd6: add cleanup function
2016-05-23 09:44:27 +02:00
Dirk Ziegelmeier
ac0af0d7c7
Fix return value of sntp_getserver() call to return a pointer
2016-05-20 11:02:02 +02:00
Dirk Ziegelmeier
8e7b8a32f9
Rename LwipMibViewer to MibViewer since it does not depend on lwip specific code
2016-05-15 13:09:57 +02:00
Axel Lin
ab989c3551
PPP: Use LWIP_ARRAYSIZE at appropriate places
...
Use LWIP_ARRAYSIZE to simplify the code.
Signed-off-by: Axel Lin <axel.lin@ingics.com >
Reviewed-by: Sylvain Rochet <gradator@gradator.net >
[Sylvain Rochet <gradator@gradator.net >: added missing casts]
Signed-off-by: Sylvain Rochet <gradator@gradator.net >
2016-05-12 23:08:34 +02:00
Axel Lin
8c0f620d83
dns: Use LWIP_ARRAYSIZE instead of open coded
...
Signed-off-by: Axel Lin <axel.lin@ingics.com >
2016-05-11 12:20:15 +02:00
Axel Lin
7e9377a9c7
dhcp: Use LWIP_ARRAYSIZE to get the number of array entries
...
dhcp_discover_request_options is u8_t array, so the result is the same.
But use LWIP_ARRAYSIZE to get the number of array entries is better
because it works for all types.
Signed-off-by: Axel Lin <axel.lin@ingics.com >
2016-05-11 12:15:12 +02:00
Sylvain Rochet
9f69bf82df
PPP, documentation, updated to recent changes
...
Fixed PPPAPI include path.
Improved note about SIO's farewell.
2016-05-11 10:56:49 +02:00
goldsimon
c6949d88d9
fixed unused variable warning in tcpip_api_call() for certain configurations
2016-05-11 09:43:06 +02:00
Sylvain Rochet
45c6279bb0
PPP, documentation, update next release version
...
Next release will be 2.0.0 instead of 1.5.0, change that in the
documentation.
2016-05-11 00:42:59 +02:00
Sylvain Rochet
b9389c6eaf
PPP: remove sio.h from included files
...
PPP is not using the SIO API anymore for quite a while. Remove now
useless sio.h from included files.
2016-05-11 00:19:27 +02:00
Sylvain Rochet
b08f73be44
snmpv3: replace arch/cc.h to lwip/arch.h in included files
...
Only "lwip/arch.h" is expected to include "arch/cc.h". This is the same
spirit than "lwip/opt.h" for "lwipopts.h" and "lwip/sys.h" for
"arch/sys_arch.h".
2016-05-10 23:25:14 +02:00
Sylvain Rochet
33fc20cca2
PPP: use mbed TLS sanitize functions if available
...
mbed TLS offers sanitize functions to zero-ise memory containing
cryptographic keys, use them if built with external mbed TLS library.
2016-05-08 21:58:56 +02:00
Sylvain Rochet
5df4f70a96
PPP: add a new LWIP_USE_EXTERNAL_MBEDTLS PPP option
...
PPP users can now choose to use an external mbed TLS copy instead of using
our internal old version (but released under a BSDish license) PolarSSL copy.
2016-05-08 21:26:19 +02:00
Sylvain Rochet
9f3aff0cdf
PPP: add a new LWIP_USE_EXTERNAL_POLARSSL PPP option
...
In order to welcome mbed TLS, we need to ease the switch to:
- embedded PolarSSL 0.10.1-bsd copy
or - external PolarSSL
or - external mbed TLS
This change cleanup all our previously used LWIP_INCLUDED_POLARSSL_* defines,
which were not really useful after all, making them internal build triggers
only, and this change provides a new unique global flag to use an external
PolarSSL copy.
2016-05-08 20:23:21 +02:00
Sylvain Rochet
3417a02b25
PPP: add a function map for hashes and ciphers to prepare for mbed TLS support
...
Unfortunately, all functions were renamed when PolarSSL was renamed to
mbed TLS, breaking the API. In order to continue supporting our embedded
PolarSSL copy while allowing our users to use mbed TLS, we need a function
map to deal with the API break.
This commit add a function map for all hashes and ciphers we are currently
using.
2016-05-08 20:20:42 +02:00
Sylvain Rochet
1dcd5d31d7
pbuf: fix undefined PBUF_POOL_FREE_OOSEQ if TCP_QUEUE_OOSEQ is disabled
...
lwip/src/core/timers.c: In function ‘sys_check_timeouts’:
lwip/src/core/timers.c:328:5: error: "PBUF_POOL_FREE_OOSEQ" is not defined [-Werror=undef]
#if PBUF_POOL_FREE_OOSEQ
Fix it by declaring an empty PBUF_CHECK_FREE_OOSEQ() function if feature is
not enabled.
2016-05-08 03:09:51 +02:00
Sylvain Rochet
73b8026cb9
PPP, code cleaning
...
lwIP indentation is 2 characters, fix ppp_init indentation.
2016-05-07 01:51:52 +02:00
Sylvain Rochet
fc2701ae03
PPP, ppp_init function is back, re-add magic_init
...
Work on PPP MEMPOOL re-added the previously removed ppp_init function
because we considered it useless. Re-add magic_init which was
previously in ppp_init and removed in commit 15fbfb7363 , it does
not hurt doing so and might fill the gap if we failed understanding
the crypto implication about removing it.
2016-05-07 01:48:17 +02:00
Dirk Ziegelmeier
4a6c444a17
httpd: Use newly created LWIP_VERSION_STRING
2016-05-04 10:24:12 +02:00
goldsimon
05961a27cf
d'OH! (forgot end of comment)
2016-05-04 10:10:13 +02:00
goldsimon
93665a7659
Change version info from 1.5.0(dev) to 2.0.0(dev), added LWIP_VERSION_STRING ("1.2.3" with a suffix for git dev or rcX unless release version)
2016-05-04 10:03:48 +02:00
Dirk Ziegelmeier
49badf39a1
Fix bug #47805 : dhcp_recv can dereference NULL pointer
2016-04-29 11:16:33 +02:00