Dirk Ziegelmeier
|
060a47f88a
|
Add altcp to Filelists.mk
Some compile fixes in altcp_tcp.c and httpd.c
|
2017-03-22 22:57:50 +01:00 |
|
Mikhail Lappo
|
7eba14cb76
|
Possible null-pointer dereference
The value should be dereferenced after
assertion is performed. This can lead
to crash
|
2017-03-22 22:50:16 +01:00 |
|
Mikhail Lappo
|
08cb949aea
|
Fread return value unused
Assert that fread was able to read
specified amount of chunks
|
2017-03-22 22:47:15 +01:00 |
|
goldsimon
|
8360054884
|
sanity check hdr_buf size
|
2017-03-22 22:46:49 +01:00 |
|
Mikhail Lappo
|
89b6fa479e
|
Possible out of bound exception
hdr_buf has size of 4096. Makes sense to assert that
we do not exceed this size before copying there
|
2017-03-22 22:45:06 +01:00 |
|
goldsimon
|
d386374449
|
httpd: add support for https
|
2017-03-22 22:42:09 +01:00 |
|
goldsimon
|
afaa7d9561
|
httpd: prepare for https: move initialization code to shared function
|
2017-03-22 22:41:24 +01:00 |
|
goldsimon
|
2f3b00efb4
|
httpd: convert to altcp API (a simple search & replace...)
|
2017-03-22 22:33:50 +01:00 |
|
goldsimon
|
c18393b52b
|
altcp: added 'addrinfo' and 'tcp_state' functions
|
2017-03-22 22:29:11 +01:00 |
|
goldsimon
|
a46664eab2
|
Add opts header for altcp_tls
|
2017-03-22 21:40:32 +01:00 |
|
goldsimon
|
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!)
|
2017-03-22 21:33:05 +01:00 |
|
goldsimon
|
ee5021deb1
|
tftp_server: fix bogus comment lines in file header
|
2017-03-22 21:14:36 +01:00 |
|
goldsimon
|
c3912e35f6
|
httpd: regenerate example fs (fsdata.c) with current makefsdata
|
2017-03-21 13:06:26 +01:00 |
|
goldsimon
|
ec24a2a4e8
|
Revert "httpd: regenerate example fs (fsdata.c) with current makefsdata"
This reverts commit 66fb52ff5cdfafecef9c0cc7b32bccee8b0f3e7f.
|
2017-03-21 12:57:56 +01:00 |
|
goldsimon
|
66fb52ff5c
|
httpd: regenerate example fs (fsdata.c) with current makefsdata
|
2017-03-20 22:19:54 +01:00 |
|
goldsimon
|
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)
|
2017-03-20 22:19:05 +01:00 |
|
Dirk Ziegelmeier
|
1f1f2e1c46
|
Try to fix line endings of tftp_server.c in git rep
|
2017-03-14 09:12:25 +01:00 |
|
Dirk Ziegelmeier
|
59973c96e4
|
Fix bug #50534: TFTP server does not copy terminating null of filename
Patch by David Rodgers
|
2017-03-13 21:26:06 +01:00 |
|
Dirk Ziegelmeier
|
1371400c2b
|
mdns_domain_add_label_base should be static
|
2017-03-11 10:41:47 +01:00 |
|
goldsimon
|
7bcb4eafec
|
mdns: minor(?) stack usage and performance improvement by letting mdns_readname_loop() copy from pbuf to struct (instead of pbuf->buffer->struct)
|
2017-03-10 23:00:46 +01:00 |
|
Dirk Ziegelmeier
|
e15e504217
|
Some minor SNMPv3 related cleanups
|
2017-03-06 09:38:58 +01:00 |
|
Dirk Ziegelmeier
|
02be2f8f42
|
Move snmpv3_dummy.* from main lwIP rep to contrib
|
2017-03-03 13:42:37 +01:00 |
|
Dirk Ziegelmeier
|
9719c52e62
|
SNMPv3: Missed two locations where the new enums can be used
|
2017-03-03 13:21:22 +01:00 |
|
Dirk Ziegelmeier
|
c961ac70b6
|
Fixump snmp/snmpv3_dummy.h copyright header
|
2017-03-03 13:17:06 +01:00 |
|
Dirk Ziegelmeier
|
6f485cc870
|
snmp/snmpv3_dummy.c: Set default configuration in snmpv3_dummy_init()
(Note: snmpv3_dummy.* will be moved to lwip-contrib soon)
|
2017-03-03 13:12:47 +01:00 |
|
Dirk Ziegelmeier
|
461f1fe1a9
|
More SNMPv3 cleanups: Create own header snmpv3_dummy.h and move functions in there
Decouple snmp_netconn.c from snmpv3_dummy.c (snmpv3_enginetime_timer)
Make SNMP API more type-safe using enums
|
2017-03-03 13:01:04 +01:00 |
|
Dirk Ziegelmeier
|
ecb3867803
|
SNMPv3: Rename tcpip_enginetime_timer to snmpv3_enginetime_timer
|
2017-03-03 12:32:22 +01:00 |
|
Dirk Ziegelmeier
|
593b211d1b
|
A few more SNMPv3 cleanups
|
2017-03-02 11:20:02 +01:00 |
|
Dirk Ziegelmeier
|
0065cd915f
|
Several Win32 compile fixes in SNMP code
|
2017-03-02 07:49:42 +01:00 |
|
Dirk Ziegelmeier
|
83de16678c
|
SNMP: TABs -> spaces
|
2017-03-02 07:33:18 +01:00 |
|
goldsimon
|
05a595f745
|
httpd: LWIP_HTTPD_POST_MANUAL_WND: fixed double-free when httpd_post_data_recved is called nested from httpd_post_receive_data() (bug #50424)
|
2017-03-01 22:08:05 +01:00 |
|
Dirk Ziegelmeier
|
ea41480232
|
Replace several C++ style comments by C-style
|
2017-03-01 21:25:03 +01:00 |
|
Dirk Ziegelmeier
|
4ef21e2597
|
Fix compile when SNMPv3 is disabled
|
2017-03-01 20:39:39 +01:00 |
|
Dirk Ziegelmeier
|
78cdbff1b3
|
Several compile fixes for Marco's patch
|
2017-03-01 20:39:39 +01:00 |
|
Dirk Ziegelmeier
|
fef7ce3c0d
|
Some whitespace fixes to Marco's patches
|
2017-03-01 20:39:39 +01:00 |
|
Marco
|
f0605a510f
|
Modified the snmpv3_dummy implementation to be more functional.
The dummy implementation also implements the user table as a reference.
|
2017-03-01 20:39:39 +01:00 |
|
Marco
|
3b8bb580e4
|
Add framework MIB and USM mib if SNMPv3 is enabled.
|
2017-03-01 20:39:39 +01:00 |
|
Marco
|
4b97f2bb8e
|
Implemented usm mib.
|
2017-03-01 20:39:39 +01:00 |
|
Marco
|
46df850cb9
|
Implemented framework mib.
|
2017-03-01 20:39:39 +01:00 |
|
Marco
|
f8f3cc039a
|
Start a timer for enginetime handling.
This timer function should be implemented in the snmpv3_xxx.c file.
|
2017-03-01 20:39:39 +01:00 |
|
Marco
|
f092d09121
|
Added handling invalid packets in SNMPv3.
|
2017-03-01 20:39:39 +01:00 |
|
Marco
|
78806001e5
|
Made accepted SNMP version runtime configurable.
This feature can be disabled by setting LWIP_SNMP_CONFIGURE_VERSIONS to 0.
|
2017-03-01 20:39:39 +01:00 |
|
Marco
|
8fd09d4608
|
Added missing context specific tags.
|
2017-03-01 20:39:39 +01:00 |
|
Marco
|
ec044e826e
|
Replaced old LWIP_SNMPV3_GET_ENGINE_BOOTS macro.
Replaced old LWIP_SNMPV3_GET_ENGINE_BOOTS macro with the new snmpv3_get_engine_boots_internal function.
|
2017-03-01 20:39:39 +01:00 |
|
goldsimon
|
a9bfe7b72f
|
Fix compiling httpd for LWIP_HTTPD_SUPPORT_POST==1 (assigning int to u16_t)
|
2017-03-01 20:32:13 +01:00 |
|
goldsimon
|
0d585d55d3
|
Added LWIP_SINGLE_NETIF for small targets with only one netif (see task #13515, there might be more optimizations to come with this option)
|
2017-03-01 16:10:50 +01:00 |
|
Dirk Ziegelmeier
|
d8135f9ae2
|
Fix bug #50427: SNMP: ifIndex should use netif_get_index()
We have netif_get_index(netif) now
|
2017-03-01 12:34:47 +01:00 |
|
goldsimon
|
1741edf159
|
make tcp apps depend on LWIP_CALLBACK_API, too
|
2017-02-28 12:19:16 +01:00 |
|
Dirk Ziegelmeier
|
d7b51b5906
|
MDNS: Fix accessing wrong union member in netif ext callback
|
2017-02-15 14:38:57 +01:00 |
|
Dirk Ziegelmeier
|
498913b982
|
Third draft of task #14283: Add more detailed status callback
Implement Joel's idea of a union
|
2017-02-15 10:14:06 +01:00 |
|