Commit Graph

  • 610518ea2b Mark module as deprecated (#236) master v1.2.0 Thomas Casteleyn 2024-12-02 01:53:39 +01:00
  • caaf2b72ea Add deprecation notice to README Thomas Casteleyn 2023-01-13 09:40:01 +01:00
  • b89bb75386 Report whether or not the TTL value was read (#205) v1.1.0 Marcelo Magallon 2022-05-23 08:54:11 -06:00
  • 6d40342032 Delete redundant pinger.Stop() call (#197) chenlujjj 2022-04-28 21:36:15 +08:00
  • 64d100b308 Goreleaser can no longer be installed using goreleaser.sh Marcelo E. Magallon 2022-04-26 16:34:34 -06:00
  • 779d1e9195 Set Packet.ID when sending ICMP requests Charlie Jonas 2021-11-30 11:51:03 +00:00
  • 27679364c9 feat: add configurable ICMP identifier Nate Sales 2021-11-28 18:06:52 -08:00
  • 6e2b003bff Add ability to set TTL (#186) Cemre Mengu 2021-10-14 21:03:14 +03:00
  • 3818264768 Use a UUID for packet tracking Ben Kochie 2021-03-16 14:26:55 +01:00
  • ff8be33200 Provide an abstraction over icmp.PacketConn (#166) Marcelo Magallon 2021-05-06 17:38:00 -06:00
  • e4e642a957 Use exponential backoff for read deadline (#162) Marcelo Magallon 2021-04-07 15:46:46 -06:00
  • 1726e5ede5 Add Logger interface to avoid logging directly (#161) Marcelo Magallon 2021-04-02 17:25:49 -06:00
  • 80a5113803 Reorder channel selection order and make Stop() idempotent (#159) v1.0.0 release-1.0 Charlie Jonas 2021-03-27 00:20:15 +00:00
  • 01e0869fb9 Wrap errors when using fmt.Errorf Charlie Jonas 2021-03-20 12:34:01 +00:00
  • 54fa5d1e4a Add size flag to demo pinger Charlie Jonas 2021-02-09 18:54:19 +00:00
  • df22d52de1 Add OnSetup callback (#155) Marcelo Magallon 2021-03-25 17:48:16 -06:00
  • d90f3778a8 Protect stats with RWMutex (#151) Jean Raby 2021-03-12 03:51:07 -05:00
  • 5f9dd908cc Fix packet matching; compute statistics as packets are received (#150) Jean Raby 2021-03-11 17:01:31 -05:00
  • a13b749a1b Bump version of Go to v1.16 chtjonas/bump-go-to-v1.16 Charlie Jonas 2021-02-17 22:42:34 +00:00
  • 25d1413fb7 Fix size issue when deserialising on Windows (#144) Charlie Jonas 2021-02-16 21:04:19 +00:00
  • ab39f29b51 add trackerLength to p.Size in New() paulc 2020-12-25 13:39:58 +11:00
  • 62f79f1f4f Make Tracker uint64 and check for both UDP and ICMP (#134) Charlie Jonas 2021-02-07 22:15:49 +00:00
  • 38783b05ce Fix size of array into which ICMP messages are deserialised Charlie Jonas 2021-02-05 17:37:52 +00:00
  • ad0b2d22f9 fix doc name Lee 2021-02-05 23:21:30 +08:00
  • 42a6788a51 Update CONTRIBUTING.md (#128) Lee Wei 2021-02-05 16:25:45 +08:00
  • b6486c6f1f Make default Timeout "forever" Ben Kochie 2020-11-06 14:02:07 +01:00
  • 52eed920f9 Use MaxUint16 for IDs (#132) Steven Soroka 2021-02-01 04:55:49 -05:00
  • 30a8f08ad2 Process duplicate packets and make seeds goroutine-safe (#130) Steven Soroka 2021-01-31 08:15:27 -05:00
  • 3300c582a6 Document that Run() returns errors (#112) Charlie Jonas 2020-11-15 13:19:31 +00:00
  • acac328aae Update the test to use an always invalid hostname (under the .invalid tld) Rob Collier 2020-10-19 21:29:45 +01:00
  • 145e7e44ad TLD 'wtf' now exists, use 'wtfh' instead in TestNewPingerInvalid Rob Collier 2020-09-19 15:24:52 +01:00
  • 3977ed7266 Add an OnSend handler (#114) rrcollier 2020-10-22 13:20:18 +01:00
  • 265e7c64b3 Add option not to store all received RTTs (#115) rrcollier 2020-10-20 23:19:59 +01:00
  • c7a3d708cc Allow pinger.Stop() to be safely called repeatedly. Fix #94 chtjonas/stop-race-fix Charlie Jonas 2020-10-19 21:58:12 +01:00
  • 5f9dc3248b Ignore control message errors on Windows Charlie Jonas 2020-10-06 22:48:50 +01:00
  • 4db5733515 Update LICENSE and README Charlie Jonas 2020-10-08 17:15:17 +01:00
  • fe82a40fcd Add EditorConfig file Charlie Jonas 2020-10-08 17:12:42 +01:00
  • 671c40f29a Fix return on deadlock fix Ben Kochie 2020-10-01 17:36:18 +02:00
  • 70ede2ab32 Deadlock fix (#85) Alexandr Stelnykovych 2020-10-01 18:29:13 +03:00
  • e8ae07c3ce Return an error when addr is empty Lifei Chen 2020-09-18 20:04:29 +08:00
  • e9da6dae98 Return error from Run() (#81) maddie 2020-09-17 22:08:15 +08:00
  • 83991da571 Fix build (#102) Ben Kochie 2020-09-15 18:48:24 +02:00
  • 54d38cd396 Add Makefile (#99) Ben Kochie 2020-09-14 23:26:21 +02:00
  • e11dda7fa5 Add golangci-lint configuration (#100) Ben Kochie 2020-09-14 20:23:32 +02:00
  • 800dd84e47 Add goreleaser build (#98) Ben Kochie 2020-09-14 08:20:13 +02:00
  • 8e89829cd5 Don't resolve when creating Pinger (#65) Ben Kochie 2020-09-14 07:41:27 +02:00
  • 805de73348 Initialize go module (#93) Prasanna Kumar 2020-09-13 15:34:30 +05:30
  • 41725b6c24 Update readme and sample command to go-ping organization Cam 2020-09-12 09:34:00 -07:00
  • fcdececf82 add github actions github-actions Cameron Sparr 2020-09-12 09:58:46 -07:00
  • 4e5b655249 Don't separate ping response header from received bytes circleci-project-setup Cam 2019-06-05 13:23:35 -07:00
  • e33cfb8ae7 Add processPacket unit tests Cam 2019-05-31 13:52:36 -07:00
  • 56df11e077 Make processPacket more performant (#59) Greg 2019-06-03 17:11:21 -06:00
  • d596e7045d Fix runtime panic Alirie Gray 2019-05-29 13:33:44 -07:00
  • 3eec4c7c0d Add ability to specifiy source IP address Alirie Gray 2019-05-29 14:47:08 -07:00
  • 5cc5e2921d Fix TTL comment Maximiliano Churichi 2019-05-25 10:57:11 -03:00
  • 3745d7b591 expose ttl on returned ping Clint Armstrong 2018-03-05 15:57:17 -05:00
  • ef3ab45e41 Don't oversend packets Cameron Sparr 2018-11-06 16:54:34 +00:00
  • 3a0b5a7d8e Fix CPU use (#40) Ben Kochie 2018-11-06 17:04:36 +01:00
  • 9db3df4bca Set a random source seed to avoid ID conflicts Cameron Sparr 2018-11-06 14:30:27 +00:00
  • 28a88d0810 patch: compare identifier for non-root access icmp (#32) Lincoln Thurlow 2018-11-06 06:10:49 -08:00
  • 687023bdc7 Include adddress in Packet (#38) Ben Kochie 2018-11-06 13:47:14 +01:00
  • 74b9e0e9f9 Update sample code, README, and circle v2 (#42) Cameron Sparr 2018-11-06 12:45:58 +00:00
  • 667d0a66f2 remove signal handler, add Stop method (#10) Xie Zhenye 2018-11-06 18:48:48 +08:00
  • ad2f544f6b Removed duplicated fields in struct (#27) Maciek Szczesniak 2018-08-30 18:03:48 +02:00
  • d046b24518 Added ICMP Packet ID to distinguish ICMP replies in multithreading environment (#15) webfrank 2018-08-29 19:21:50 +02:00
  • 5740bb1ff1 Change size to Size to make it exportable (#18) keeZey 2018-08-29 18:14:37 +01:00
  • 68a45b48a0 Update README.md (#21) mapl 2018-08-29 19:10:52 +02:00
  • 416e72114c Add integration tests in circle Cameron Sparr 2016-02-07 14:41:36 -07:00
  • dae25ab260 Write unit tests Cameron Sparr 2016-02-07 14:15:26 -07:00
  • f1680c8931 put setcap command in README Cameron Sparr 2016-02-03 11:39:07 -07:00
  • 8ee98d82c4 fix sysctl command Cameron Sparr 2016-02-01 16:50:38 -07:00
  • 88cc1ad8dd uncommit ping binary Cameron Sparr 2016-02-01 15:52:45 -07:00
  • 3d295adf56 README typos Cameron Sparr 2016-02-01 15:49:19 -07:00
  • 3535a0e9a0 Update doc on privileged ping and install Cameron Sparr 2016-02-01 15:27:21 -07:00
  • 77403bd6ed First commit of go-ping library Cameron Sparr 2016-02-01 15:21:12 -07:00
  • 5b436d0265 Initial commit Cameron Sparr 2016-02-01 15:06:45 -07:00