Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with OpenID
Advertise on LowEndTalk.com

In this Discussion

LowEndPing

LowEndPing

NikkiNikki Member
edited July 2012 in General

Just a small website I was working on, servers might not all be 'lowend' providers, but they will give you a decent ping if you need to look for something at that location.

http://lowendping.nikkii.us

Note: Traceroutes from Montreal are currently broken, and cause the page to hang.

If you want to add a provider, upload this PHP script to a webserver and message me a link to the script (http://yourip/lep.php or similar) along with the provider name and location. http://paste.ee/r/XDaeE

«1

Comments

  • PADPAD Member

    Backconnect.

  • NikkiNikki Member

    @PAD This is what I came up with in the day that I was working on this, it might not be the best, but it works pretty well.

  • TaylorTaylor Member

    Montreal, Quebec, Canada

    Seems to have died.

    I know, I'm Dale Maily.

  • NikkiNikki Member
    edited July 2012

    @Taylor I had a problem with the ping script earlier, I messed up a really simple check (count($out - TRACEROUTE_LIMIT) is invalid, duh, fixed in newer) Waiting on them to update it now :P

  • rskrsk Member

    @Nikki - I really like it, but after submission, the "working" buttons becomes unclickable.

    Regards

    Regards,
    R. Alkhaili MyRSK - VPS hosting provider since 2009.

  • NikkiNikki Member
    edited July 2012

    @rsk - Yeah, it's supposed to be that way. I have a little bug with the queue system now, I have to rewrite most of this later with a better method... the 'php' idea was good but it means taking up FCGI children for requests...

  • Hmm, seems to be stuck after I entered a URL.

    Disclosure: I work for Query Foundry LLC.
    I own DA International Group Ltd.
  • NikkiNikki Member

    @LiquidHost - It's all javascript, so make sure you allow it on the page, and it might take a few minutes to execute, depending on the load

  • @Nikki said: @LiquidHost - It's all javascript, so make sure you allow it on the page, and it might take a few minutes to execute, depending on the load

    Yeah JS is enabled, I will just let it run for a couple of minutes.

    Disclosure: I work for Query Foundry LLC.
    I own DA International Group Ltd.
  • Thumbs up from me!

    Great budget VPS hosting @ http://basshost.com

  • TaylorTaylor Member

    Sent you a PM about a location (:

    I know, I'm Dale Maily.

  • We really should have the mods start a consolidated list of ping/traceroute sites. The community does have quite a few requests and it's going to help a lot.

    Asia VPS | Asia Dedicated Server OneAsiaHost - Singapore based Asia-Centric VPS & Dedicated Servers
  • http://i.imgur.com/vjBJ7.png - still loading for 30 minutes. Tried re-sending the reqeust as well. It is weird, the first 2 times I tried it it was working absolutely fine and fast. Now it is just stuck.

    Disclosure: I work for Query Foundry LLC.
    I own DA International Group Ltd.
  • I like it-Well done! It seems to take about 50% longer for San Jose results to appear.. not sure why

    CubixCloud Web Services - [email protected]
  • rm_rm_ Member
    edited July 2012

    traceroutes with a

    < center >
    alignment look tremendously stupid.
  • NikkiNikki Member

    @rm_ I have to rewrite part of the backend soon, I'll see what I can do :p

  • miTgiBmiTgiB Member

    Can it prefer IPv6 if an AAAA record exists or direct IPv6 is input? Most of the providers seem to offer IPv6 you are using.

    Hostigation High Resource Hosting - SolusVM OpenVZ/KVM VPS
  • NikkiNikki Member
    edited July 2012

    @miTgiB No, I was trying to think of the best way to do that... it only detects IPv6 addresses using filter_var

    If you have any idea how I should implement it on the web side, please share :P

  • welldone,thanks

  • NikkiNikki Member

    Added a few more servers for a total of 13 now :) Tomorrow I'll work on adding server selection, so you can choose the locations to ping from instead of using all of them, and also clean up the code... A LOT.

  • rm_rm_ Member

    Excellent, traceroutes are no longer centered, much nicer to look at!

    @Nikki said: Added a few more servers for a total of 13 now :)

    Think of a way to utilize other people's servers for running traceroutes from your system. E.g. make a small PHP script people could install on their server, that would do ping/traces when requested by your system and send back results.

  • vedranvedran Moderator

    This is a bit weird ...

    Montreal, Quebec, Canada
    
    PING google.com (74.125.236.136) 56(84) bytes of data.
    64 bytes from bom03s02-in-f8.1e100.net (74.125.236.136): icmp_req=1 ttl=44 time=291 ms
    64 bytes from bom03s02-in-f8.1e100.net (74.125.236.136): icmp_req=2 ttl=45 time=294 ms
    64 bytes from bom03s02-in-f8.1e100.net (74.125.236.136): icmp_req=3 ttl=45 time=292 ms
    64 bytes from bom03s02-in-f8.1e100.net (74.125.236.136): icmp_req=4 ttl=45 time=293 ms
    
    --- google.com ping statistics ---
    4 packets transmitted, 4 received, 0% packet loss, time 3004ms
    rtt min/avg/max/mdev = 291.773/293.137/294.529/1.216 ms
    
    Member without signature
  • RobertRobert Member

    I was working on a similar site, traceit.info but haven't got round to having results come back from multiple sites yet.

    I have to say, I like yours more :-)

  • NikkiNikki Member
    edited July 2012

    @rm_ That's what it does now, it requires PHP to wait for it all though, which means it ties up a FCGI/CGI process... It's all non-blocking on my side, so it's not too bad, but on the servers it might not be the best...

    Edit: Should be a bit better when loading servers now, Echoing on page load and just resetting them between queries rather than constructing them every query

  • @Nikki said: Edit: Should be a bit better when loading servers now, Echoing on page load and just resetting them between queries rather than constructing them every query

    Good show!

    BuyVM - OpenVZ & KVM Based / TUN, PPTP, FUSE, SIT & GRE Enabled! / Stallion Control Panel
  • @Nikki, PMd you about having two of our servers added to the list.

  • jayjay Member

    Ace.

  • @Nikki, The pinger seems to be down (clicking ping or trace does nothing). It appears to be an issue in the ajax.php file (as far as I know anyway).

  • rm_rm_ Member

    Should be able to mark checkboxes which servers you want to utilize, like on http://lg.he.net/

    Also let me know if you're interested in adding a Japan VPS to the list, and PM me the script which I will need to install.

  • @rm_, the script is in the original post.

  • Does not seem to work in Firefox 13...

  • NikkiNikki Member
    edited July 2012

    @rm_ I was going to do that, I have the "Options" dropdown which has an option that isn't active, I'll also have a servers one with everything checked (I can easily enable/disable the response elements for the ones, and just tell the server which to query)

    @exextatic Forgot to start Memcache, VPS was restarted earlier :p

    @littleguy Try it now

  • I actually had something like this in testing for LEB, your yours looks good though. Any chance you could add wget tests?

    Reviews | Website | Projects (Minstall, Scripts, etc)
  • I think wget tests would eat up too much bandwidth won't they?

    Asia VPS | Asia Dedicated Server OneAsiaHost - Singapore based Asia-Centric VPS & Dedicated Servers
  • NikkiNikki Member

    @Kenshin, The problem isn't bandwidth, it's more the time it takes since the script uses a PHP Process to run

  • Code a quick test? Send data for only 10 seconds then cut the connection and calculate the average speed at that point? That should reduce time as well as bandwidth.

    Asia VPS | Asia Dedicated Server OneAsiaHost - Singapore based Asia-Centric VPS & Dedicated Servers
  • NikkiNikki Member

    @Kenshin, right now it's ping/traceroutes, that's all I really had planned for it :P

    A little update, you can now select which servers to use, by default it uses all of them.

  • Interestingly, I've noticed a large increase in the bandwidth used on the server that hosts the script for this tool. I wonder how many pings it's actually doing or if it's just a coincidence.

  • DomDom Member

    Getting a memcache connection refused error (line 7) with ajax.php. Looks like it could be a decent site though once all of the bugs are sorted.

  • NikkiNikki Member

    Ugh, memcached crashed for no reason again... exextatic - I can add ping stats later, it's transmitting probably about 800 bytes/ping and like 1.6kb/traceroute, so I doubt it's my script...

    Thanked by 1djvdorp
  • @Nikki What are you memcaching? The list of servers?

  • @bdtech The responses, I needed a fast solution to give me the response data from the cli script that lets me set an expiration time without having to write a cleanup system

  • Hm, I guess this could be considered a bump, but it's still here if you want to use it.

  • miTgiBmiTgiB Member
    edited August 2012

    @Nikki said: it's still here if you want to use it.

    Many were in the #leb channel on IRC saying they had troubles getting a response from some of the locations, I saw this as well, 3 reported 404's

    Hostigation High Resource Hosting - SolusVM OpenVZ/KVM VPS
  • bdtechbdtech Member
    edited August 2012

    I'm using it, pretty sweet! Can you add more LEB providers, AWS West, north east hosts, or Linode?

  • @miTgiB said: Many were in the #leb channel on IRC saying they had troubles getting a response from some of the locations, I saw this as well, 3 reported 404's

    Not sure if ours was one of them but right now the LEP script is hosted on our test VPS (with our test file/IP) which seems to be the most targeted for DOS attacks so I'll be moving it to another VPS shortly.

    -Joe @ SecureDragon - LEB's Powered by Wyvern in FL, CO, CA, IL, NJ, GA, TX, and AZ
    Test our network here: Drgn.biz
  • @KuJoe said: Not sure if ours was one of them

    Yes it was, but I saw no reason to mane names

    Hostigation High Resource Hosting - SolusVM OpenVZ/KVM VPS
  • @miTgiB said: Yes it was, but I saw no reason to mane names

    Actually it looks like the webserver didn't start after the last reboot. All fixed. :)

    -Joe @ SecureDragon - LEB's Powered by Wyvern in FL, CO, CA, IL, NJ, GA, TX, and AZ
    Test our network here: Drgn.biz
  • NikkiNikki Member
    edited August 2012

    @miTgiB @KuJoe If you ever see any locations not working I'll disable them, just let me know.

    Edit: Disabled one that wasn't working, I'll notify the owner.

  • Anddd, updated the servers, removed broken ones, added BuyVM NY and Cyberwurx Atlanta

Sign In or Register to comment.