* Only build with cgosymbolizer when explicitly desired. This fixes go builds for mac and others
* Try to dial external IP set and display a warning message is not reachable
* fix dialTimeout adding the port
* add connectivity check for UDP as well
* add connectivy verification for both UDP and TCP and move function in p2p/utils.go
* return if Resolving UDP fails
* move constant in utils
* add missing time dependencies
* leverage dial for both TCP/UDP (even thoguh UDP is not supported & add a unit tests for `verifyConnectivity`
* handle err from conn.Close()
* add utils_test go p2p gazelle
* Update beacon-chain/p2p/utils.go
Co-authored-by: Ivan Martinez <ivanthegreatdev@gmail.com>
* Update beacon-chain/p2p/utils.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Update beacon-chain/p2p/utils.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* do not defer closing the connection
* leverage util helper testutil.AssertLogsContain and testutil.AssertLogsDoNotContain
* remove old code
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: Ivan Martinez <ivanthegreatdev@gmail.com>