oss-fuzz icon indicating copy to clipboard operation
oss-fuzz copied to clipboard

IPv6 connectivity issues

Open cmouse opened this issue 1 year ago • 5 comments

Hi!

It seems that the oss-fuzz framework is having some issues with IPv6 addresses. Please see https://oss-fuzz-build-logs.storage.googleapis.com/log-9495ce21-6211-4b09-894b-d3b3f6b48787.txt

Not sure what's going on here.

Step #30 - "compile-libfuzzer-undefined-x86_64": make[3]: Leaving directory '/src/dovecot/src/lib-test'
Step #30 - "compile-libfuzzer-undefined-x86_64": Making all in lib
Step #30 - "compile-libfuzzer-undefined-x86_64": make[3]: Entering directory '/src/dovecot/src/lib'
Step #30 - "compile-libfuzzer-undefined-x86_64":   GEN      UnicodeData.txt
Step #30 - "compile-libfuzzer-undefined-x86_64": --2022-09-15 06:47:05--  https://dovecot.org/res/UnicodeData.txt
Step #30 - "compile-libfuzzer-undefined-x86_64": Resolving dovecot.org (dovecot.org)... 2a04:3545:1000:720:acc1:5bff:fe5e:4e9
Step #30 - "compile-libfuzzer-undefined-x86_64": Connecting to dovecot.org (dovecot.org)|2a04:3545:1000:720:acc1:5bff:fe5e:4e9|:443... failed: Cannot assign requested address.
Step #30 - "compile-libfuzzer-undefined-x86_64": Retrying.
Step #30 - "compile-libfuzzer-undefined-x86_64": 

cmouse avatar Sep 16 '22 07:09 cmouse

I have no idea what to do about this. @oliverchang @Navidem @Alan32Liu Any ideas? I couldn't find anything about GCB having trouble with ipv6

jonathanmetzman avatar Sep 18 '22 01:09 jonathanmetzman

Me neither... I did not recall any related info either.

DonggeLiu avatar Sep 19 '22 00:09 DonggeLiu

It happens to me locally. I think docker must be configured to support ipv6? https://docs.docker.com/config/daemon/ipv6/

jonathanmetzman avatar Sep 19 '22 23:09 jonathanmetzman

I'm struggling to get ipv6 working with docker locally, hmmm

jonathanmetzman avatar Sep 19 '22 23:09 jonathanmetzman

You need to give docker daemon something like --fixed-ipv6-cidr=ffdf:1234:1234::/64

cmouse avatar Sep 20 '22 03:09 cmouse

I still haven't gotten this working locally, will try to try again later this week

jonathanmetzman avatar Oct 04 '22 21:10 jonathanmetzman