Code Monkey home page Code Monkey logo

vpc-network-tester's People

Contributors

grayside avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

vpc-network-tester's Issues

Ping not working with Cloud run?

I'm unable to get ping working, either for internal or external IP addresses.

These tests are successful:

Ping test always fail, regardless if target is hostname or IP address, internal or external. I've replicated this across 3 different GCP accounts.

If I run the container locally via docker, all pings are successful.

git clone https://github.com/GoogleCloudPlatform/vpc-network-tester.git
cd vpc-network-tester/cloudrun
docker build -t vpc-network-tester .
docker run -p 32080:8080 vpc-network-tester

curl http://localhost:32080/ping?host=192.168.249.162
PING 192.168.249.162 (192.168.249.162): 56 data bytes
64 bytes from 192.168.249.162: seq=0 ttl=254 time=3.460 ms
64 bytes from 192.168.249.162: seq=1 ttl=254 time=3.951 ms
64 bytes from 192.168.249.162: seq=2 ttl=254 time=7.651 ms
64 bytes from 192.168.249.162: seq=3 ttl=254 time=5.108 ms
--- 192.168.249.162 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 3.460/5.042/7.651 ms

curl http://localhost:32080/ping?host=yahoo.com
PING yahoo.com (98.137.11.163): 56 data bytes
64 bytes from 98.137.11.163: seq=0 ttl=44 time=33.986 ms
64 bytes from 98.137.11.163: seq=1 ttl=44 time=32.402 ms
64 bytes from 98.137.11.163: seq=2 ttl=44 time=34.492 ms
64 bytes from 98.137.11.163: seq=3 ttl=44 time=32.214 ms
--- yahoo.com ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 32.214/33.273/34.492 ms

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.