-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
lwip: bump to v2.1.3 #16774
lwip: bump to v2.1.3 #16774
Conversation
Ping @yarrick! |
Patches 0002 and 0003 should be removed as they are in this tag. |
Oops, I did, but did not commit ^^" |
2a9962e
to
de01c1d
Compare
2.1.3 is available now: https://git.savannah.nongnu.org/cgit/lwip.git/log/?h=STABLE-2_1_3_RELEASE |
de01c1d
to
3c6e87c
Compare
Rebased and adapted. Should we wait with merging it until the other issues with 2.1.2 and IPv4 (as described in #17174 op and comments) are fixed? |
Did not test yet btw ;-). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IPv4, IPv6 and dualstack work on my board (using examples/paho_mqtt
, it gets an IP and responds to ping)
I dont think those build issues are version related. Running 6lowpan without IPv6 was never going to work :) |
Could you please also specifically check if disconnecting a TCP connection is causing any issues on 6LoWPAN-based boards (can do so as well if time permits)? You could use |
Test failure for two boards is:
Are some tests done with different python versions? The code is pretty new (#16901)
I haven't ever used 6lowpan so I don't feel ready to do that test yet. |
In that case we should wait with merging this until I or maybe another maintainer find time to test the 6LoWPAN-based communication.
With
Can LWIP also act as a border router? We might as well add an |
Not that I know of. At least not in the sense the |
clearly unrelated ;-). |
Tested on the IoT-LAB using $ IOTLAB_NODES=2 BOARD=iotlab-m3 QUIETER=1 make -C tests/lwip --no-print-directory iotlab-exp
Building application "tests_lwip" for "iotlab-m3" with MCU "stm32".
text data bss dec hex filename
100548 160 18724 119432 1d288 /home/mlenders/Repositories/RIOT-OS/RIOT/tests/lwip/bin/iotlab-m3/tests_lwip.elf
/usr/lib/python3.9/site-packages/cryptography/hazmat/backends/openssl/x509.py:15: CryptographyDeprecationWarning: This version of cryptography contains a temporary pyOpenSSL fallback path. Upgrade pyOpenSSL now.
warnings.warn(
Waiting that experiment 285624 gets in state Running
/usr/lib/python3.9/site-packages/cryptography/hazmat/backends/openssl/x509.py:15: CryptographyDeprecationWarning: This version of cryptography contains a temporary pyOpenSSL fallback path. Upgrade pyOpenSSL now.
warnings.warn(
"Running"
$ IOTLAB_NODES=2 BOARD=iotlab-m3 QUIETER=1 make -C tests/lwip --no-print-directory iotlab-term
/usr/lib/python3.9/site-packages/cryptography/hazmat/backends/openssl/x509.py:15: CryptographyDeprecationWarning: This version of cryptography contains a temporary pyOpenSSL fallback path. Upgrade pyOpenSSL now.
warnings.warn(
/usr/lib/python3.9/site-packages/cryptography/hazmat/backends/openssl/x509.py:15: CryptographyDeprecationWarning: This version of cryptography contains a temporary pyOpenSSL fallback path. Upgrade pyOpenSSL now.
warnings.warn(
/usr/lib/python3.9/site-packages/cryptography/hazmat/backends/openssl/x509.py:15: CryptographyDeprecationWarning: This version of cryptography contains a temporary pyOpenSSL fallback path. Upgrade pyOpenSSL now.
warnings.warn(
/usr/lib/python3.9/site-packages/cryptography/hazmat/backends/openssl/x509.py:15: CryptographyDeprecationWarning: This version of cryptography contains a temporary pyOpenSSL fallback path. Upgrade pyOpenSSL now.
warnings.warn(
/usr/lib/python3.9/site-packages/cryptography/hazmat/backends/openssl/x509.py:15: CryptographyDeprecationWarning: This version of cryptography contains a temporary pyOpenSSL fallback path. Upgrade pyOpenSSL now.
warnings.warn(
/usr/lib/python3.9/site-packages/cryptography/hazmat/backends/openssl/x509.py:15: CryptographyDeprecationWarning: This version of cryptography contains a temporary pyOpenSSL fallback path. Upgrade pyOpenSSL now.
warnings.warn(
Connection to grenoble.iot-lab.info closed.
1636967167.951890;Aggregator started
ifconfig
1636967176.992476;m3-101;ifconfig
1636967176.992862;m3-100;�ifconfig
1636967176.993359;m3-100;Iface L60 HWaddr: de:7d:e2:26:62:4d:e6:45 Link: up State: up
1636967176.994428;m3-100; Link type: wireless
1636967176.994695;m3-101;Iface L60 HWaddr: a6:da:e9:93:b3:cc:9f:60 Link: up State: up
1636967176.994819;m3-101; Link type: wireless
1636967176.996403;m3-101; inet6 addr: fe80:0:0:0:a4da:e993:b3cc:9f60 scope: link
1636967176.996740;m3-100; inet6 addr: fe80:0:0:0:dc7d:e226:624d:e645 scope: link
udp server start 1337
1636967182.928858;m3-101;> udp server start 1337
1636967182.929746;m3-101;Success: started UDP server on port 1337
1636967182.930170;m3-100;> udp server start 1337
1636967182.931440;m3-100;Success: started UDP server on port 1337
tcp server start 1337
1636967187.029140;m3-100;> tcp server start 1337
1636967187.029373;m3-101;> tcp server start 1337
1636967187.029946;m3-100;Success: started TCP server on port 1337
1636967187.030090;m3-101;Success: started TCP server on port 1337
ip server start 255
1636967192.581803;m3-101;> ip server start 255
1636967192.582525;m3-101;Success: started IP server on protocol 255
1636967192.583407;m3-100;> ip server start 255
1636967192.585058;m3-100;Success: started IP server on protocol 255
m3-100;udp send [fe80:0:0:0:a4da:e993:b3cc:9f60]:1337 abcdef098765c412345
1636967231.196338;m3-100;> udp send [fe80:0:0:0:a4da:e993:b3cc:9f60]:1337 abcdef098765c412345
1636967231.197849;m3-100;Success: send 10 byte over UDP to [fe80:0:0:0:a4da:e993:b3cc:9f60]:1337
1636967231.211226;m3-101;> Received UDP data from [fe80::dc7d:e226:624d:e645]:1337
1636967231.211992;m3-101;00000000 AB CD EF 09 87 65 C4 12 34 50
m3-100;tcp connect [fe80:0:0:0:a4da:e993:b3cc:9f60]:1337
1636967253.552166;m3-100;> tcp connect [fe80:0:0:0:a4da:e993:b3cc:9f60]:1337
1636967253.564980;m3-101;TCP client [fe80::dc7d:e226:624d:e645]:49153 connected
m3-100;tcp send 0987654321abcdef
1636967272.120933;m3-100;> tcp send 0987654321abcdef
1636967272.121886;m3-100;Success: send 8 byte over TCP to server
1636967272.125876;m3-101;Received TCP data from client [fe80::dc7d:e226:624d:e645]:49153
1636967272.126459;m3-101;00000000 09 87 65 43 21 AB CD EF
m3-100;ip send fe80:0:0:0:a4da:e993:b3cc:9f60 255 ea123859
1636967297.796951;m3-100;> ip send fe80:0:0:0:a4da:e993:b3cc:9f60 255 ea123859
1636967297.799253;m3-100;Success: send 4 byte over IPv6 to fe80:0:0:0:a4da:e993:b3cc:9f60 (next header: 255)
1636967297.801311;m3-101;Received IP data from [fe80::dc7d:e226:624d:e645]:
1636967297.801507;m3-101;00000000 EA 12 38 59
m3-100;tcp disconnect
1636967308.795630;m3-100;> tcp disconnect
1636967308.803385;m3-101;TCP connection to [fe80::dc7d:e226:624d:e645]:49153 reset
$ iotlab-experiment stop (the python |
Needs Re-ACK now. |
Contribution description
The first release candidate of lwIP v2.1.3 was put out last week. Since the maintainer of lwIP informed me a while ago, that that will happen, I had a branch prepare.
Since this is only bumbing to an RC for now, this is just for testing all your use cases, so we might be able to report some errors back to lwIP (to prevent the situation we had with v2.1.1), so please do not merge until lwIP was bumped to the actual release.
Testing procedure
The following tests should still pass
lwip_sock_ip
lwip_sock_tcp
lwip_sock_udp
lwip
should be run for a number of supported boards and IP, UDP, and TCP messages exchanged between them.Issues/PRs references