New commits: commit 332f3cc47d5d16461fc171f98129c6a6d4f2601d Author: Antony Antony <ant...@phenome.org> Date: Fri Jul 1 04:56:18 2022 +0000
testing: sanitized fping script a wrapper around fping. The wrapper support some loss. However, 100% loss is error. In many situations some packet loss is accpetable. such as when expiring SA and re-connecting it. I could have tried to bolt this functionality to ping-once.sh. Then ping-once.sh would get complex and terminolgy of ping and fping are slightly different. wait vs timeout =I vs src and so. They look similar, underneath a bit different. Lets strart new fpong, simple clean and only fping support commit 25a72d3467ba9564072f91a6ac8bc8437d59ed7a Author: Antony Antony <ant...@phenome.org> Date: Fri Jul 1 04:56:18 2022 +0000 testing: ipsec-trafficstatus.sh ipsec trafficstatus 006 #2: "westnet-eastnet-ipv4-psk-ikev2", type=ESP, add_time=1656934549, inBytes=420, outBytes=1092, maxBytes=16EiB, id='@east' ==== tuc ==== 006 #2: "westnet-eastnet-ipv4-psk-ikev2", type=ESP, add_time=1656934549, inBytes=XXX , outBytes=XXX , maxBytes=16EiB, id='@east' when there is some loss, as expected "ipsec trafficstatus" output is would change and cause test to fail so use this one in those cases. It expect non zero traffic commit ecbc17b5d48fffb6c905666f5af06b892d7ba809 Author: Antony Antony <ant...@phenome.org> Date: Thu Jun 30 18:41:00 2022 +0000 testing: dpd-01/west.console.txt ping ms change commit a92626ba72cfe0f4e15de5ec391d80f532ae5216 Author: Antony Antony <ant...@phenome.org> Date: Thu Jun 30 18:41:00 2022 +0000 testing: host-ping-sanitize.sed sanitize ping with loss. -16 packets transmitted, 14 received, 12.5% packet loss, time 15397ms +16 packets transmitted, 14 received, 12.5% packet loss, time XXXXms Some tests will have some packet loss. May the test is not very stable. We need better sanitizers for tests with some packet loss. _______________________________________________ Swan-commit mailing list Swan-commit@lists.libreswan.org https://lists.libreswan.org/mailman/listinfo/swan-commit