Skip to content

Releases: kolapapa/surge-ping

v0.8.0

30 Mar 16:03
Compare
Choose a tag to compare
  • Try RAW socket type, if DGRAM fails

  • Add ICMP parsing from ICMP payload

  • Change Rx packet identication, in the case of kernel handling it

  • Edit tests to acommodate from_icmp parsing

  • Separate ping sending and actual pinging parts in pub API

  • Add native socket getter; Some clippy suggestions

v0.7.3

25 Oct 12:20
Compare
Choose a tag to compare
  • Add the execution description of binary files in README
  • parking_log upgrade from 0.12.0 to 0.12.1
  • pnet_packet updated from 0.30 to 0.31
  • socket2 upgrade from 0.4.4 to 0.4.7
  • thiserror upgrade from 1.0.31 to 1.0.37
  • tokio upgrade from 1.18 to 1.21
  • tracing upgrade from 0.1.34 to 0.1.37
  • futures upgrade from 0.3.21 to 0.3.25

v0.7.0

24 May 04:31
Compare
Choose a tag to compare
  • ICMP triples replace random token(#22);
  • When using ping(), need to specify identifier and payload(#22);
  • Error display optimization of send_to packet;
  • pnet_packet upgraded from 0.29 to 0.30;
  • tokio upgraded from 1.17 to 1.18;

v0.6.0

18 May 17:27
Compare
Choose a tag to compare
  • Remove uuid crate
  • Dorp logic optimization of client
  • Fix ipv6 issues(#19)
  • Ping method remove spawn()
  • Client init method changed to non-async

v0.5.1

08 Mar 12:36
Compare
Choose a tag to compare
  • Remove surge_ping::pinger(host: IpAddr) to created Pinger, replace with surge_ping::ping(host: IpAddr) to quick send ping request;
  • Client impl Drop trait, if the Client out of lifetime, then stop the background task;
  • Pinger impl Drop trait, if Pinger out of lifetime, then remove key from cache;
  • Modify README.md;

v0.5.0

23 Feb 11:50
Compare
Choose a tag to compare

Modify:

  • The generation of Client is changed to async function

Features:

  • Support address duplication in multi-host Ping service

v0.4.1

26 Jan 10:12
Compare
Choose a tag to compare
  • Update documents
  • Add surge_ping::pinger to quick create pinger
  • Upgrade dependency
  • Update examples code

v0.4.0

12 Jan 07:28
d57b70a
Compare
Choose a tag to compare
  • Add Client data structure to wrap asynchronous socket;
  • Cancel the original Pinger construction method and create it through Client instead;
  • The recv method of Pinger is obtained from channel instead;
  • Modify the logic of Example codes;

v0.2.2

08 May 04:28
Compare
Choose a tag to compare
  • Fix pnet_packet calulate icmp packet size wrong.
  • Update Readme.md.

v0.2.1

07 May 08:28
Compare
Choose a tag to compare
  • Support IPv6.
  • Replace packet with pnet_packet.
  • Upgrade tokio to 1.5.