A stack which works with or without an Mbed os library. Provides IPv4 or IPv6 with a full 1500 byte buffer.

Dependents:   oldheating gps motorhome heating

Changes

RevisionDateWhoCommit message
200:5acbc41bf469 2021-05-20 andrewboyson Increased number of arp entries from 20 to 30 to accommodate the number of WIZ devices plus a few incoming port 80 calls from the internet. default tip
199:d360a574bc2a 2021-05-18 andrewboyson Ignore icmp6 redirect messages; they were coming up as unknown.
198:71e298f63bf0 2021-05-03 andrewboyson Quietly drop udp port 0 which the WIZ lights were sending after a power cut.
197:465f5f2154b7 2021-04-24 andrewboyson Ignored ports 38899 and 38900 if not handled by the user module
196:0876a7609a60 2021-04-23 andrewboyson Corrected error where UserPollForData function pointer was not checked for NULL before being used. It was causing the program to crash when not used.
195:bd5b123143ca 2021-04-18 andrewboyson Added a user module to allow user defined UDPs port to be used - in this case for a WIZ module.
194:f35c6e218de1 2021-03-04 andrewboyson DnsNameDecodePtr buffer overrun warning removed as had too many 'amzn.dmgr:9D184A89EEDE554B15EABD4931BB839B:S/FRy5cPXE:914584' alerts. It now just silently truncates names which don't fit in the buffer.
193:47a953ab571b 2021-01-24 andrewboyson Fixed ability of name resolution to use IPv6 - the MAC for the DNS server IP address had to be made available.
192:0dfa138a8e7d 2021-01-22 andrewboyson Update the NR add entry mechanism to remove redundant entries.
191:33392a61182e 2021-01-21 andrewboyson Fixed a bug in my correction to the last bug.
190:c4415a7253f5 2021-01-21 andrewboyson Corrected a bug in DnsLabel whereby a ip4 encoded name was not recognised. This has been there a long time and came to light because MDNS was failing to return a name from an Ip4 address.
189:e1c7990486c4 2021-01-21 andrewboyson Added test for name from Ipv4 address
188:57f44b620d0e 2021-01-19 andrewboyson Net NR added eth and dns protocols to the received messages.
187:122fc1996c86 2021-01-18 andrewboyson Changed Ip4Address to Ip4Addr.; Moved Ip6AddrIsExternal from NdpNeedsToBeRouted.
186:24198369b198 2021-01-16 andrewboyson DNS ignored annoying replies from the Sky router saying that an address name was 'UNKNOWN' rather than that it didn't know.
185:e8f516e142c4 2021-01-14 andrewboyson DHCP - Zeroed the unused client hardware bytes (last ten of sixteen) as I noticed in wireshark that where they had changed between discover and request is when the server was returning a NAK; may just have been a coincidence however.
184:ad80a63e3002 2021-01-14 andrewboyson Modified TFTP to not start if the network wasn't ready in IPv4; Made changes to DHCP including making the first timeout 4 seconds rather than 1.
183:ee809769bf89 2021-01-12 andrewboyson Added acheck as to whether DNS could be used for internal lookups and prevented external lookups being passed to LLMNR or MDNS.; Modified DHCP to try to solve the sky router sometimes sending spurious NAKs.
182:ff48c6ea91c1 2021-01-10 andrewboyson Updated resolve module to store either IPv4 or IPv6 addresses.; Updated Dns module to detect if a name was external or local.; Added ability to resolve a test name from the user interface.
181:169881ecd52f 2021-01-04 andrewboyson Added vendor information to address and name resolutions. Also did some tidied DHCP.
180:0a30cff6b36a 2020-12-31 andrewboyson Fixed DHCP problem with not providing the offered IP in the request resulting in a NAQ.
179:55342264fca1 2020-12-30 andrewboyson DHCP did not adequately handle the NAKs that my Sky router was handing out. Now correctly tears down the IPv4 DHCP information and starts afresh.
178:52714fef5ca1 2020-12-29 andrewboyson Included host name in DHCP request option 12 to allow my Sky router to display the host name instead of 'UNKNOWN'. Also removed different host names for IPv4 and IPv6.
177:2cd7fde8bfe5 2020-12-27 andrewboyson Removed dns responses for AAAA addresses with no prefixes.
176:7eb916c22084 2020-12-26 andrewboyson Fixed 'unused root' problem with dns.
175:2d7aa004d881 2020-12-24 andrewboyson Corrected ndp uint32 decode routine
174:60e5ab296671 2020-12-23 andrewboyson Modified DhcpIpNeedsToBeRouted to take into account that broadcast and multicast addresses don't need to be routed
173:9bc30cd82a76 2020-12-23 andrewboyson Fixed problem with decoding 32 bit numbers in ndp
172:9bc3c7b2cca1 2020-12-16 andrewboyson Modified name resolution to work with both IPv4 and IPv6. Before there were two independent modules.
171:f708d6776752 2020-12-12 andrewboyson Modified NR to accept both IPV6 and IPV4 addresses instead of having two modules with diffrent address lengths. Encapsulated 32but address into lsb 128 bit address
170:96c637dc3f52 2020-12-09 andrewboyson Tidied up mdns messages
169:336d499dc560 2020-12-01 andrewboyson Modified MDNS response authoritative server bit to be true as per rfc6762 18.4.
168:59d286f933a0 2020-04-09 andrewboyson Changed TCP connection limit from 40 to 10.
167:3ba4e3c49631 2020-04-02 andrewboyson Modified resolution cache ajaxs to include the index
166:89e3ce39b31b 2020-04-02 andrewboyson Added a httpv (vanilla HTTP) module to TCP which does a similar job to https (HTTP over TCP) and allows the http module to be independent of its caller.
165:29a9e5f2eaef 2020-04-01 andrewboyson Removed leds to work out the source of a TCP reset
164:84b20bcd0941 2020-03-31 andrewboyson Corrected a bug whereby a TCP connection which was closed by the client (FIN) without ever being used was not closed (FIN) and so the client would keep it alive until we ran out of TCP connections.
163:f063e374cf2a 2020-03-13 andrewboyson Removed unneccessary check and reset to TCP
162:fe50a1dcd043 2020-03-11 andrewboyson Addede more fields for TCP connections Ajax
161:89609cf070b4 2020-03-11 andrewboyson Add TCP ajax monitot
160:6a1d1d368f80 2019-09-29 andrewboyson Corrected some minor bugs
159:3ebef2d02f7f 2019-09-24 andrewboyson Moved http to web library
158:3adf725c0804 2019-09-07 andrewboyson Added main routine for use, ultimately, by TLS and asynchronous decryption.
157:b0bdb77e27f3 2019-09-01 andrewboyson Tidied parameter order in HttpShim
156:be12b8fd5b21 2019-08-28 andrewboyson Update HttpShim to pass connection status
155:22f249751106 2019-08-20 andrewboyson Changed TcpBuf bytes from char to uint8_t
154:ba9879b19d9f 2019-07-31 andrewboyson Amalgamated Reply into Poll function
153:638c21b06d3e 2019-07-26 andrewboyson Moved TLS module out of this library and into crypto library
152:80a3840fc9f8 2019-07-25 andrewboyson Pulled a lot of the crypto stuff out into a separate library.
151:bde6f7da1755 2019-07-19 andrewboyson Removed private key and certificate from semihost storage as found to be unreliable (though secure) and moved it into flash storage (reliable, simple, but visible on mbed.
150:3366e4a0c60e 2019-06-27 andrewboyson Added function to read PEM encoded private key
149:39d1ba392f4b 2019-06-19 andrewboyson Made changes to the tls module
148:5489d36986e5 2019-05-27 andrewboyson Continued set up of https in the TLS module.
147:a6093b52e654 2019-05-17 andrewboyson Split HttpPollReply into HttpPoll and HttpReply to allow TSL to work
146:0fc66d610fd6 2019-05-15 andrewboyson Tidied the http shim
145:206bf0d073c7 2019-05-14 andrewboyson Added a shim module between the web server and TCP to switch between http (direct) and https (tls).
144:6bd5c54efc7d 2019-05-12 andrewboyson Tidied up tcp.
143:8cec8f08dc54 2019-05-09 andrewboyson Tidied up routines in MAC and IP6 to use const char* instead of char* where appropriate.
142:a8c0890a58d1 2019-05-08 andrewboyson Updated the lpc1768 module
141:25047f31dbab 2019-04-27 andrewboyson Moved http status commands into this library