Downloads:

1,174

Downloads of v 1.13:

153

Last Update:

14 May 2022

Package Maintainer(s):

Software Author(s):

  • bp2008

Tags:

ping traceroute

Ping Tracer

  • 1
  • 2
  • 3

1.13 | Updated: 14 May 2022

Downloads:

1,174

Downloads of v 1.13:

153

Maintainer(s):

Software Author(s):

  • bp2008

  • 1
  • 2
  • 3
Ping Tracer 1.13

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged as a Note:

At least one file within this package has greater than 0 detections, but less than 5

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Ping Tracer, run the following command from the command line or from PowerShell:

>

To upgrade Ping Tracer, run the following command from the command line or from PowerShell:

>

To uninstall Ping Tracer, run the following command from the command line or from PowerShell:

>

Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade pingtracer -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade pingtracer -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install pingtracer
  win_chocolatey:
    name: pingtracer
    version: '1.13'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'pingtracer' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '1.13'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller pingtracer
{
    Name     = "pingtracer"
    Version  = "1.13"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'pingtracer':
  ensure   => '1.13',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 14 May 2022.

Description

Features

This program helps to visually determine the origin of connection problems. The latency over time is shown on graphs, and each instance of packet loss is marked in red.

A common use for such a tool is to monitor your connection to a multiplayer game server so you know who to blame when you experience lag. For example, if you experience a terrible moment of lag and you see that every node beyond your router is showing elevated latency or packet loss, then the lag was on your end. Typically, a poorly performing node will affect your connection to every node after it.

I built this program for personal use, and decided to share it for free as an open source project. As such, it is light on features and polish.

Something you should be aware of is that when you attempt to "Graph every node leading to the destination", a trace route operation is performed in order to discover the hosts that will be monitored.

  • The trace route operation is not optimized for speed, and will take many seconds to complete in most cases.
  • The trace route operation attempts to contact each host (a.k.a. network node) only once. Any host that fails to respond during the trace route operation will not be monitored.
  • The trace route operation is ended if 5 consecutive hosts fail to respond. This usually indicates that the destination host was already passed by and did not respond to the trace ping.
  • Some hosts respond to the traceroute but do not respond to direct pings. Technically it would still be possible to monitor these hosts by repeating their part of the traceroute, but I assume this would be against the wishes of the owner of the host. If the owner wanted their router to be pingable, they would have enabled pinging, no?
  • I let you increase the ping rate as high as 10 pings per second (per host!) which can add up to dozens or even hundreds of pings per second. This is kind of, sort of, maybe a little bit excessive. I don't recommend actually running it that high. In fact 1 ping per second is probably all you need.

screenshot


tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'


$toolsDir       = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"


$packageArgs = @{
  unzipLocation  = "$toolsDir"
  packageName    = "pingtracer"
  file           = "$toolsDir/PingTracer.1.13_x32.zip"
  checksum       = '049145DCD9135F3AA066A1C0A782DB9634E549F7660124C119DE0002AF647068'
  checksumType   = 'sha256'
}


Write-Verbose "Unpacking"
Install-ChocolateyZipPackage @packageArgs

Write-Verbose "Searching for exe"
$files = get-childitem "$toolsdir" -include "*.exe" -recurse


# This will create a Shim for all exe and will add a line chocoUninstall.ps1 to remove it on uninstall
foreach ($file in $files) {
  Write-Verbose "Crating Start Menu enty for $($file.BaseName)"
  $newlink ="$($env:ProgramData)\Microsoft\Windows\Start Menu\Programs\$($file.BaseName).lnk"
  Install-ChocolateyShortcut -shortcutFilePath $newlink  -targetPath "$file"
  Add-Content "$toolsdir\chocoUninstall.ps1" -Value "Remove-Item `"$($newlink)`" -Force -ea ignore"
}
tools\chocolateyUninstall.ps1

$toolsDir       = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

. $toolsdir\chocoUninstall.ps1
tools\LICENSE.txt
From: https://github.com/bp2008/pingtracer/blob/717f9a4c1dea12ba586a4761654d71b40cf23610/LICENSE

MIT License

Copyright (c) 2017 bp2008

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
tools\PingTracer.1.13_x32.zip
md5: B7ABF6DEDE8359397E60F943A83994CC | sha1: 576E97177839134F1B6E51B6A42DF40188C1487C | sha256: 049145DCD9135F3AA066A1C0A782DB9634E549F7660124C119DE0002AF647068 | sha512: 34AFCEDD6A38D3C4D24BEABF040D3210E4BD59305AF42C13840C37C68AE9AAC54476283EA41C93589180604CF0EF2B56BA3FBBDB6C8C918AF54CD489FCEC18EA
tools\VERIFICATION.txt
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

The binary can been downloaded using the official download link found at https://github.com/bp2008/pingtracer/releases
This package has been built using Appveyor.
You can find the package source at https://github.com/cmorty/au-packages/tree/master/pingtracer
As well as the build logs at: https://gist.github.com/cmorty/554cd2b607b7bf0a288341da3b311ca1

To verify the package you need to
1. Download the zip from the following
    URL: https://github.com/bp2008/pingtracer/releases/download/1.13/PingTracer.1.13.zip
2. You can use one of the following methods to obtain the checksum
  - Use powershell function 'Get-Filehash'
  - Use chocolatey utility 'checksum.exe'

  checksum type: sha256
  checksum32: 049145DCD9135F3AA066A1C0A782DB9634E549F7660124C119DE0002AF647068

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Ping Tracer 1.12.1 298 Tuesday, September 7, 2021 Approved
Ping Tracer 1.11 72 Saturday, August 14, 2021 Approved
Ping Tracer 1.10.1 182 Saturday, March 27, 2021 Approved
Ping Tracer 1.10 81 Sunday, March 7, 2021 Approved
Ping Tracer 1.9 37 Wednesday, March 3, 2021 Approved
Ping Tracer 1.8.0.20200802 193 Sunday, August 2, 2020 Approved
Ping Tracer 1.8 158 Friday, July 3, 2020 Approved
Discussion for the Ping Tracer Package

Ground Rules:

  • This discussion is only about Ping Tracer and the Ping Tracer package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Ping Tracer, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus