#
47ebb2b2 |
|
13-Jun-2018 |
Simon Goldschmidt <goldsimon@gmx.de> |
dns: add a comment about case insensitivity
|
#
a9d6ea59 |
|
13-Jun-2018 |
Simon Goldschmidt <goldsimon@gmx.de> |
introduce 'lwip_tolower' and use it in dns.c Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
|
#
66f7f066 |
|
10-Jun-2018 |
armink <armink.ztl@gmail.com> |
fix DNS resolution to not case insensitivity See patch #9654 Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
|
#
bcb68197 |
|
12-Feb-2018 |
goldsimon <goldsimon@gmx.de> |
dns_compare_name: change check for u16_t overflow check upper border (0xFFFF) instead of checking for 0 after overflow
|
#
d5d635cd |
|
13-Feb-2018 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Minor DNS documentation improvement
|
#
40a563cd |
|
14-Nov-2017 |
Axel Lin <axel.lin@ingics.com> |
dns: Use dns_backupserver_available() instead of open-coded Slightly better readability by calling dns_backupserver_available() instead of open-coded. Also move dns_backupserver_available() function up to avoid forward declaration. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: goldsimon <goldsimon@gmx.de>
|
#
1fdc7571 |
|
13-Nov-2017 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Move DNS_MAX_RETRIES option from dns.c to opt.h
|
#
2c1a1528 |
|
13-Nov-2017 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Fix bug #52239: if a DNS request is denied by a DNS server, this DNS request shouldn't be stopped if there is another DNS server to try Apply improved version of Xiaodong Sun's patch
|
#
a56ea1b1 |
|
13-Nov-2017 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
dns.c: Rename goto label memerr to ignore_packet Label is more descriptive this way
|
#
931b5e64 |
|
17-Sep-2017 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Reformat core code using astylerc
|
#
26771d08 |
|
18-Jul-2017 |
goldsimon <goldsimon@gmx.de> |
Add @todo: scope ip6addr?
|
#
5eff45ca |
|
17-Jul-2017 |
Our Air Quality <info@ourairquality.org> |
Correct a few uses of sizeof(ip6_addr_t) to sizeof(ip6_addr_p_t) The ip6_addr_t structure may have an addition slot so is not necessarily the size of an ipv6 address, so some uses of sizeof(ip6_addr_t) were not correct. Signed-off-by: goldsimon <goldsimon@gmx.de>
|
#
092c6c1f |
|
26-Jun-2017 |
goldsimon <goldsimon@gmx.de> |
DNS_MAX_SOURCE_PORTS is PP-checked to be <= 255...
|
#
5b152348 |
|
25-Jun-2017 |
goldsimon <goldsimon@gmx.de> |
work on -Wconversion...
|
#
11da4ef0 |
|
21-Jun-2017 |
goldsimon <goldsimon@gmx.de> |
Use ip_addr_debug_print_val instead of ip_addr_debug_print where applicable
|
#
deaa6e94 |
|
17-Feb-2017 |
goldsimon <goldsimon@gmx.de> |
Improved DNS_LOCAL_HOSTLIST interface (bug #50325)
|
#
be7ae5e3 |
|
03-Feb-2017 |
Axel Lin <axel.lin@ingics.com> |
dns: Slightly improve dns_alloc_random_port implementation Having the variable namining ret for a pointer makes the code looks odd, ret looks like a value variable. Rename ret to pcb. Also simplify the code in the do {} while() loop. Signed-off-by: Axel Lin <axel.lin@ingics.com>
|
#
3e30dbc7 |
|
02-Feb-2017 |
Axel Lin <axel.lin@ingics.com> |
dns: Clean up unneeded #if guard for DNS_LOCAL_HOSTLIST/DNS_LOOKUP_LOCAL_EXTERN This is a leftover of commit e77e18f8c410 "Worked on IPv6-only stack", fix it. Signed-off-by: Axel Lin <axel.lin@ingics.com>
|
#
5774fdfe |
|
09-Dec-2016 |
goldsimon <goldsimon@gmx.de> |
dns: added one-shot multicast DNS queries
|
#
c8785542 |
|
07-Dec-2016 |
goldsimon <goldsimon@gmx.de> |
DNS: added compile-time check for some defines to fit into an u8_t (bug #49658)
|
#
16877216 |
|
05-Dec-2016 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Fix compile when IPv4 is disabled
|
#
03a9aac1 |
|
22-Nov-2016 |
sg <goldsimon@gmx.de> |
dns_enqueue(): minor readability improvement: add local variable "age" to store result of subtraction
|
#
f6e27940 |
|
08-Oct-2016 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Make lwIP compile with clang -Wdocumentation -> several documentation fixes
|
#
13fb616b |
|
05-Oct-2016 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Cleanup hton*/ntoh* function handling and platform abstraction Let lwip use functions/macros prefixed by lwip_ internally to avoid naming clashes with external #includes. Remove over-complicated #define handling in def.h Make functions easier to override in cc.h. The following is sufficient now (no more LWIP_PLATFORM_BYTESWAP): #define lwip_htons(x) <your_htons> #define lwip_htonl(x) <your_htonl>
|
#
1f68b324 |
|
28-Sep-2016 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Cleanup handling of non-standard functions in lwIP - itoa - strnicmp, stricmp/strcasecmp - strnstr Related to patch #9115: httpd.c: strcasecmp for GCC and stricmp for Windows
|
#
633696c1 |
|
27-Sep-2016 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Implement consistent IPx_ADDR_ANYx macro naming between IPv4 and IPv6 - rename IP4_ADDR_ANY to IP4_ADDR_ANY4 - IP4_ADDR_ANY (= IP_ADDR_ANY) is now IPv4 any address in ip_addr_t format
|
#
f8a95aa2 |
|
06-Sep-2016 |
Axel Lin <axel.lin@ingics.com> |
dns: Drop unnecessary txid variable in dns_check_entry Signed-off-by: Axel Lin <axel.lin@ingics.com>
|
#
23147b0e |
|
30-Aug-2016 |
sg <goldsimon@gmx.de> |
added more out of range checks to dns_recv() (see bug #48924)
|
#
840d1e60 |
|
30-Aug-2016 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Fix bug #48924: Potential out of bound reads in DNS codes of lwip project by adding checks for pbuf_copy_partial() return values. Add some comments to clarify handling of untrusted network data handling.
|
#
9725a496 |
|
19-Aug-2016 |
goldsimon <goldsimon@gmx.de> |
moved 2 enums from 'prot' headers to where they belong (dns, dhcp)
|
#
0c7a59b5 |
|
18-Aug-2016 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Minor: Documentation fixes
|
#
5493220c |
|
13-Aug-2016 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Move DNS protocol structs to separate header. Needed for Erik Ekman's MDNS implementation.
|
#
6dcb2b24 |
|
12-Aug-2016 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Work on bug #48730: Enums should be used instead of multiple defines (where applicable)
|
#
ccc830c9 |
|
27-Jul-2016 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Work on lwIP documentation
|
#
8a9de94b |
|
26-Jul-2016 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Restructure documentation. Create two top-level sections for thread-safe and callback-style APIs.
|
#
9c10daba |
|
26-Jul-2016 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Document netif API in doxygen module style
|
#
bd79f6c0 |
|
26-Jul-2016 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Document DNS, memory pools and PBUFs as modules
|
#
811b237b |
|
07-Jul-2016 |
goldsimon <goldsimon@gmx.de> |
dns: fixed declaration and usage of DNS_LOOKUP_LOCAL_EXTERN()
|
#
2fdea8b7 |
|
04-Jul-2016 |
goldsimon <goldsimon@gmx.de> |
fixed bug #48398 (dns: entries reused during found-callback could be aborted if ttl==0)
|
#
fd83f4fb |
|
04-Jul-2016 |
goldsimon <goldsimon@gmx.de> |
Fix bug #48359 (dns entries are not set to state DONE)
|
#
5e7b343d |
|
13-Jun-2016 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Fix dns_getserver to return a pointer, not a value
|
#
90a656ed |
|
23-May-2016 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Fix several doxygen errors all over the code
|
#
8c0f620d |
|
11-May-2016 |
Axel Lin <axel.lin@ingics.com> |
dns: Use LWIP_ARRAYSIZE instead of open coded Signed-off-by: Axel Lin <axel.lin@ingics.com>
|
#
309e0722 |
|
06-Apr-2016 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Create new IP_IS_V4 macros and use them at instead of !IP_IS_V6 - since we now have an IPADDR_ANY_TYPE, just checking for !V6 does not mean it is V4
|
#
a1c78ea7 |
|
22-Mar-2016 |
sg <goldsimon@gmx.de> |
ignore dns response parsing errors, only abort resolving for correct responses or error responses from correct server (bug #47459)
|
#
f3b7bca3 |
|
09-Mar-2016 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Fix bug #47370: Port DNS client to IPv6
|
#
5cf802ed |
|
07-Mar-2016 |
sg <goldsimon@gmx.de> |
dns_gethostbyname: return error code if no valid server is set instead of calling the 'found' callback in this case (fixes bug #46887)
|
#
288b4564 |
|
10-Feb-2016 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
DNS: Fix potential array out of bounds access. Variable nanswers may contain bogus values. (found by Coverity)
|
#
70487a43 |
|
13-Jan-2016 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Apply patch #8854: dns: Simplify #ifdef guard around dns_gethostbyname_addrtype from Axel Lin + Minor compile fix from me Patch makes the code a tiny bit less lightweight (add a parameter in dns_gethostbyname which is then not used in dns_gethostbyname_addrtype) but it makes the code more readable.
|
#
6e863ecb |
|
27-Nov-2015 |
Axel Lin <axel.lin@ingics.com> |
dns: Remove always true test in dns_alloc_random_port The only way to exit the do-while loop is err != ERR_USE. Thus get rid of the always true test. Signed-off-by: Axel Lin <axel.lin@ingics.com>
|
#
668d4611 |
|
13-Nov-2015 |
Axel Lin <axel.lin@ingics.com> |
dns: Fix dns_alloc_pcb for reuse an existing one case The logic to use an already existing pcb is wrong because the idx never advanced in the for loop, so it keep checking the same dns_pcbs[idx] for each loop iteration. Fix it. Signed-off-by: Axel Lin <axel.lin@ingics.com>
|
#
b401f425 |
|
07-Oct-2015 |
goldsimon <goldsimon@gmx.de> |
minor: fixed coding style (lwip style)
|
#
2b971400 |
|
06-Oct-2015 |
sg <goldsimon@gmx.de> |
minor: coding style
|
#
3312983b |
|
01-Oct-2015 |
sg <goldsimon@gmx.de> |
Make LWIP_DNS_SECURE and its possible values known in opt.h, remove default initialization of DNS server
|
#
f3ed5629 |
|
30-Sep-2015 |
goldsimon <goldsimon@gmx.de> |
minor: removed superfluous comma after '}' in dns.c
|
#
373714c0 |
|
30-Sep-2015 |
goldsimon <goldsimon@gmx.de> |
dns: improved handling 2nd server if first failed
|
#
45fd6224 |
|
30-Sep-2015 |
goldsimon <goldsimon@gmx.de> |
Fixed bug #46071 Logic error in line 1473 in dns.c
|
#
bc308991 |
|
27-Sep-2015 |
goldsimon <goldsimon@gmx.de> |
fixed compiler warnings where passing variable instance to ip_addr_isany
|
#
4f9bcc5e |
|
17-Sep-2015 |
sg <goldsimon@gmx.de> |
fixed compiler warnings reported by mingw-64
|
#
9614c60c |
|
17-Sep-2015 |
sg <goldsimon@gmx.de> |
fixed constness for DNS_LOCAL_HOSTLIST_IS_DYNAMIC
|
#
f62022cd |
|
17-Sep-2015 |
Dirk Ziegelmeier <dirk@ziegelmeier.net> |
Compiler warning fixes (mostly constness in dual-stack configurations)
|
#
726af891 |
|
17-Sep-2015 |
goldsimon <goldsimon@gmx.de> |
minor compiler warning fixes and coding style
|
#
7276f49f |
|
14-Sep-2015 |
Joel Cunningham <joel.cunningham@me.com> |
Fix typos from task #12243 This fixes two typos spotted during visual inspection of changes related to task #12243
|
#
1e4f3123 |
|
07-Sep-2015 |
sg <goldsimon@gmx.de> |
fixed compiling DNS code again
|
#
77270adb |
|
07-Sep-2015 |
sg <goldsimon@gmx.de> |
Changed dns_gethostbyname_addrtype() to always be a function, fixed code for C PP :-(
|
#
42170e4e |
|
06-Sep-2015 |
sg <goldsimon@gmx.de> |
fixed unused variable warning
|
#
318ba1de |
|
06-Sep-2015 |
Sylvain Rochet <gradator@gradator.net> |
dns: fixed trivial compiler warning lwip/src/core/dns.c:1471:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif LWIP_IPV4 && LWIP_IPV6
|
#
196120fa |
|
04-Sep-2015 |
goldsimon <goldsimon@gmx.de> |
worked on task #12243 (Add support for AAAA/IPv6 records to DNS)
|
#
dd3725a4 |
|
03-Sep-2015 |
goldsimon <goldsimon@gmx.de> |
task #12243: DNS/IPv6: added support for AAAA records
|
#
177c06b1 |
|
20-Aug-2015 |
sg <goldsimon@gmx.de> |
- prework for fixing bug #45029: access IPv4 configuration of struct netif via new API (netif_ip4_addr()/netif_ip4_netmask()/netif_ip4_gw()) instead of accessing the struct member directly. This way, we can change the struct member types from ip4_addr_t to ip_addr_t; - fixed some bugs in calls to ip4_addr*() where the cast to u8_t* did not reveal the wrong address type
|
#
d1043355 |
|
19-Aug-2015 |
goldsimon <goldsimon@gmx.de> |
dns.c: fixed compiler warning
|
#
7263cc67 |
|
19-Aug-2015 |
goldsimon <goldsimon@gmx.de> |
fixed bug #45004: dns response without answer might be discarded
|
#
5be95aa3 |
|
19-Aug-2015 |
goldsimon <goldsimon@gmx.de> |
accidentally committed debug comment //
|
#
21815a14 |
|
18-Aug-2015 |
sg <goldsimon@gmx.de> |
dns: fixed assertion when dns server address is set to ANY (patch #8692)
|
#
e60bc695 |
|
22-Apr-2015 |
goldsimon <goldsimon@gmx.de> |
added more missing casts
|
#
f5077dc9 |
|
22-Apr-2015 |
goldsimon <goldsimon@gmx.de> |
fixed some more missing casts...
|
#
e77e18f8 |
|
13-Apr-2015 |
sg <goldsimon@gmx.de> |
Worked on IPv6-only stack: - prepared DNS; - fixed compiling ppp.c
|
#
ce7e31cd |
|
09-Apr-2015 |
sg <goldsimon@gmx.de> |
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
|
#
dbf9d0f0 |
|
07-Mar-2015 |
Sylvain Rochet <gradator@gradator.net> |
DNS, warning fix, dns_init() -> dns_init(void) lwip/src/core/dns.c: In function ‘dns_init’: lwip/src/core/dns.c:336:1: warning: old-style function definition [-Wold-style-definition] dns_init()
|
#
ec5cf859 |
|
22-Feb-2015 |
sg <goldsimon@gmx.de> |
Continued chrysn's work: changed nearly all functions taking 'ip(X)_addr_t' pointer to take const pointers (changed user callbacks: raw_recv_fn, udp_recv_fn; changed port callbacks: netif_output_fn, netif_igmp_mac_filter_fn)
|
#
b8d79815 |
|
09-Oct-2014 |
goldsimon <goldsimon@gmx.de> |
fixed bug #43389 dns_recv() res_idx calculate error
|
#
33237419 |
|
18-Sep-2014 |
Simon Goldschmidt <goldsimon@gmx.de> |
Parts of patch #8397 Typos corrected in comments and text outputs
|
#
aa6f6bc3 |
|
17-Sep-2014 |
Simon Goldschmidt <goldsimon@gmx.de> |
patch #8480 Fix handling of dns_seqno wraparound
|
#
56c63010 |
|
16-Sep-2014 |
Simon Goldschmidt <goldsimon@gmx.de> |
dns.c: change dns_send/dns_recv to operate on pbuf, not on contiguous buffer -> dns_payload_buffer/DNS_MSG_SIZE can be removed
|
#
9fb46e12 |
|
15-Sep-2014 |
Simon Goldschmidt <goldsimon@gmx.de> |
added source port randomization to make the DNS client more robust (see bug #43144)
|
#
82163035 |
|
05-Sep-2014 |
Simon Goldschmidt <goldsimon@gmx.de> |
revert accidentally committed test code
|
#
6c7357bb |
|
05-Sep-2014 |
Simon Goldschmidt <goldsimon@gmx.de> |
DNS: minor coding style fix: pEntry -> entry
|
#
a491aa0f |
|
05-Sep-2014 |
Simon Goldschmidt <goldsimon@gmx.de> |
DNS: split request callback information from actual DNS table to be able to optimize memory usage for multiple parallel requests (and clean up the code a bit)
|
#
b0502d1f |
|
02-Sep-2014 |
goldsimon <goldsimon@gmx.de> |
added optional macros PACK_STRUCT_FLD_8() and PACK_STRUCT_FLD_S() to prevent gcc 4 from warning about struct members that do not need packing
|
#
a5e06ed5 |
|
31-Aug-2014 |
Simon Goldschmidt <goldsimon@gmx.de> |
fixed bug #42987 lwIP is vulnerable to DNS cache poisoning due to non-randomized TXIDs
|
#
1efd1ee6 |
|
14-Jan-2013 |
Simon Goldschmidt <goldsimon@gmx.de> |
fixed bug #37705 Possible memory corruption in DNS query
|
#
d12600fb |
|
14-Jan-2013 |
Simon Goldschmidt <goldsimon@gmx.de> |
fixed bug #37705 Possible memory corruption in DNS query
|
#
556a2126 |
|
13-Aug-2012 |
goldsimon <goldsimon@gmx.de> |
Fixed bug #36899 DNS TTL 0 is cached for a long time
|
#
fa092c47 |
|
20-Nov-2010 |
goldsimon <goldsimon> |
Fixed bug #31701: Error return value from dns_gethostbyname() does not match documentation: return ERR_ARG instead of ERR_VAL if not initialized or wrong argument.
|
#
3833dd86 |
|
16-May-2010 |
goldsimon <goldsimon> |
Added LWIP_DEBUGF warning if dns_send returns an error
|
#
dae24780 |
|
16-May-2010 |
goldsimon <goldsimon> |
Add preprocessor-macros for compile-time htonl calculation (and use them throughout the stack where applicable)
|
#
03bd61c7 |
|
16-May-2010 |
goldsimon <goldsimon> |
DNS_LOCAL_HOSTLIST_IS_DYNAMIC uses its own MEMP pool instead of the heap
|
#
a54bb720 |
|
16-Mar-2010 |
goldsimon <goldsimon> |
Added missing casts, use strlen + MEMCPY instead of strcpy (as that might overrun the buffer)
|
#
68678e21 |
|
22-Feb-2010 |
goldsimon <goldsimon> |
Fixed compilation for DNS_LOCAL_HOSTLIST==1 and DNS_LOCAL_HOSTLIST_IS_DYNAMIC==1 (bug #28968)
|
#
b73dcfb8 |
|
20-Feb-2010 |
goldsimon <goldsimon> |
task #10140: Remove DNS_USES_STATIC_BUF (keep the implementation of DNS_USES_STATIC_BUF==1)
|
#
8908055b |
|
14-Feb-2010 |
goldsimon <goldsimon> |
Revert my last changes and remove structure packing from struct dns_query and struct dns_answer since they are only used with SMEMCPY
|
#
10abe8ab |
|
13-Feb-2010 |
goldsimon <goldsimon> |
Use pointers instead of using SMEMCPY
|
#
7b24a636 |
|
13-Feb-2010 |
goldsimon <goldsimon> |
Minor speedups: use ip_addr_copy, use SMEMCPY, use htonX on constants instead of variables
|
#
7c28c66d |
|
13-Feb-2010 |
goldsimon <goldsimon> |
Don't use C++ reserved keyword 'class'
|
#
6af20340 |
|
09-Feb-2010 |
goldsimon <goldsimon> |
Minor: Fixed indentation after changing struct ip_addr to ip_addr_t
|
#
f74cebcb |
|
08-Feb-2010 |
goldsimon <goldsimon> |
Minot: Fixed comments and code style
|
#
5d360a67 |
|
04-Feb-2010 |
goldsimon <goldsimon> |
Replaced struct ip_addr by typedef ip_addr_t to make changing the actual implementation behind the typedef easier.
|
#
a23b446d |
|
04-Feb-2010 |
goldsimon <goldsimon> |
Use macros defined in ip_addr.h (some of them new) to work with IP addresses (preparation for bug #27352 - Change ip_addr from struct to typedef (u32_t) - and better code).
|
#
9ff7d296 |
|
02-Feb-2010 |
goldsimon <goldsimon> |
Fixed compiler warnings when MEM_SIZE < 64000
|
#
5fa0347e |
|
29-Jan-2010 |
goldsimon <goldsimon> |
Cleanly separate the portability file inet.h and its contents from the stack: moved htonX- functions to def.h (and the new def.c - they are not ipv4 dependent), let inet.h depend on ip_addr.h and not the other way round. This fixes bug #28732.
|
#
dbcce3a4 |
|
23-Jan-2010 |
goldsimon <goldsimon> |
bug #26523: Compiler Warnings
|
#
39717b2d |
|
08-Jan-2010 |
goldsimon <goldsimon> |
Copy hostname for DNS_LOCAL_HOSTLIST_IS_DYNAMIC==1 since string passed to dns_local_addhost() might be volatile
|
#
8bf57c0e |
|
23-Aug-2009 |
goldsimon <goldsimon> |
Fixed bug #26657: DNS, if host name is "localhost", result is error.
|
#
6d406479 |
|
20-May-2009 |
goldsimon <goldsimon> |
Corrected structure packing
|
#
c752e573 |
|
07-May-2009 |
goldsimon <goldsimon> |
Worked on dns: local host-list can be put into FLASH (by defining storage target/linker section), external function can be defined for lookup, combined dns_local_removehostname/removehostaddr to dns_local_removehost
|
#
c3f7107e |
|
23-Apr-2009 |
goldsimon <goldsimon> |
Fixed some issues with DNS_LOCAL_HOSTLIST
|
#
51e02176 |
|
21-Apr-2009 |
goldsimon <goldsimon> |
task #7507, patch #6786: DNS supports static hosts table. New configuration options DNS_LOCAL_HOSTLIST and DNS_LOCAL_HOSTLIST_IS_DYNAMIC.
|
#
ba98bcdc |
|
02-Oct-2008 |
jifl <jifl> |
* dns.c: Hard-code structure sizes, to avoid issues on some compilers where padding is included.
|
#
7b11fb75 |
|
26-Jan-2008 |
fbernon <fbernon> |
Minor changes: replace directy call to memcpy by MEMCPY macro.
|
#
e9375210 |
|
25-Jan-2008 |
fbernon <fbernon> |
dns.c: Fix bug #22108 "DNS problem" caused by unaligned structures.
|
#
9c4daa31 |
|
04-Jan-2008 |
fbernon <fbernon> |
Minor changes in lwip folder: fix some warnings, coding style, and rename "internal" netconn_alloc function.
|
#
2b54da50 |
|
13-Dec-2007 |
fbernon <fbernon> |
api_msg.c, err.h, err.c, sockets.c, dns.c, dns.h: replace "enum dns_result" by err_t type. Add a new err_t code "ERR_INPROGRESS".
|
#
4653974c |
|
12-Dec-2007 |
fbernon <fbernon> |
Minor change: move DNS_MSG_SIZE in opt.h, add comments.
|
#
de11e7fd |
|
12-Dec-2007 |
fbernon <fbernon> |
dns.h, dns.c, opt.h: move DNS options to the "right" place. Most visibles are the ones which have ram usage.
|
#
dde6ddfd |
|
02-Dec-2007 |
fbernon <fbernon> |
process "localhost" name in dns_gethostbyname
|
#
2942157c |
|
30-Nov-2007 |
fbernon <fbernon> |
Minor changes: dnsserver initialization with DNS_SERVER_ADDRESS in dns_init
|
#
92aa004b |
|
29-Nov-2007 |
goldsimon <goldsimon> |
connect the UDP pcb to the DNS server (IPaddress and port) to receive faster (unconnected pcbs are very inefficient in udp_input)
|
#
3d9c76a6 |
|
24-Nov-2007 |
fbernon <fbernon> |
Minor change (doxygen tags)
|
#
c31b405a |
|
20-Nov-2007 |
fbernon <fbernon> |
Minor changes in DNS client.
|
#
b3c52f57 |
|
20-Nov-2007 |
goldsimon <goldsimon> |
Added function documentation to dns.c, removed function documentation from dns.h (functions should be documented where they are implemented!), dns_table_entry doesn't have to be packed (slower, bigger code for most machines), converted dns_init to return void, dns_table is implicitly initialized to zero, dns_lookup can be static, dns_send returns correct error values, added some asserts, compacted dns_recv using some (ugly) gotos, compacted dns_gethostbyname by combining the same return value
|
#
f58515b5 |
|
19-Nov-2007 |
fbernon <fbernon> |
api_msg.c, dns.h, dns.c: Implement DNS_DOES_NAME_CHECK option (check if name received match the name query), implement DNS_USES_STATIC_BUF (the place where copy dns payload to parse the response), return an error if there is no place for a new query, and fix some minor problems.
|
#
da4df1f4 |
|
18-Nov-2007 |
fbernon <fbernon> |
Fix DNS client TTL processing.
|
#
7f0640b0 |
|
18-Nov-2007 |
fbernon <fbernon> |
Minor changes on DNS.
|
#
8c0e6de0 |
|
18-Nov-2007 |
fbernon <fbernon> |
fix DNS problem with pbuf chain.
|
#
8ff1194b |
|
18-Nov-2007 |
fbernon <fbernon> |
Changes on DNS client. Add multiples dns servers support.
|
#
4e398e2a |
|
18-Nov-2007 |
fbernon <fbernon> |
Minor changes on DNS client. Coding style & add "response" checking
|
#
92401faa |
|
18-Nov-2007 |
fbernon <fbernon> |
Minor changes on DNS client. Note that "compressed answers are fixed".
|
#
edc46281 |
|
18-Nov-2007 |
fbernon <fbernon> |
Minor changes on DNS client.
|
#
7e447c83 |
|
16-Nov-2007 |
goldsimon <goldsimon> |
Turned all hostname variables and parameters into (const char*)
|
#
0c0e8d65 |
|
14-Nov-2007 |
fbernon <fbernon> |
opt.h, init.c, tcpip.c, dhcp.c, dns.h, dns.c: add DNS client for simple name requests with RAW api interface. Initialization is done in lwip_init() with build time options. DNS timer is added in tcpip_thread context. DHCP can set DNS server ip addresses when options are received. You need to set LWIP_DNS=1 in your lwipopts.h file (LWIP_DNS=0 in opt.h). DNS_DEBUG can be set to get some traces with LWIP_DEBUGF. Sanity check have been added. There is a "todo" list with points to improve.
|