Code Monkey home page Code Monkey logo

scripts's People

Contributors

rsp 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  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  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  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

scripts's Issues

internalip: Output broken by update to iproute2

Observed in iproute2-ss180813: output is '1000'
This corresponds to the new output of ip route get n.n.n.n, that adds now default uid 1000 at the end.
Last line of code
ip route get $t | awk '{print $NF; exit}'
should now hardcode field 7
ip route get $t | awk '{print $7; exit}'

externalip: 4.ifcfg.me is dead

The commands for https, telnet and ftp depends on 4.ifcfg.me which does not seem to be live anymore. It would be nice to have some means of getting an IP info via these protocols.

output broken by iproute2 update

Observed in iproute2-ss180813: output is '1000'
This corresponds to the new output of ip route get n.n.n.n, that adds now default uid 1000 at the end.
Last line of code
ip route get $t | awk '{print $NF; exit}'
should now hardcode field 7
ip route get $t | awk '{print $7; exit}'

Null output on IPv6 address

No output when the setup only has an IPv6 address. The resolver returns a non-existing domain when invoked. Workaround is to include both queries. On IPv4 locations, the command will output the address for v4 and a timeout for v6
case "$1" in ""|dns) dig +short myip.opendns.com @resolver1.opendns.com ; dig +short -6 myip.opendns.com aaaa @resolver1.opendns.com ;;

Measureing DNS & IPv6 support?

Hi,
you do not measure dns in your benchmark.
Since ifcfg.me supports dns also.

nslookup . ifcfg.me

You should add this to your test.

What about IPv6?
You should mark out the providers that have IPv6 support.

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.