github ValentinBELYN/icmplib v2.0.0

latest releases: v3.0.4, v3.0.3, v3.0.2...
3 years ago

icmplib 2.0 is here! 🚀

  • New library architecture.
  • Add a new multiping function. This function will be faster and more memory efficient.
  • Add the ability to use the library without root privileges.
  • Add the ability to set a source IP address for sending your ICMP packets.
  • Add a first_hop parameter to the traceroute function to set the initial time to live value (@scoulondre).
  • Add two new exceptions:
    • NameLookupError: raised when the requested name does not exist or cannot be resolved.
    • SocketAddressError: raised when the requested address cannot be assigned to the socket.
  • Add a new BufferedSocket class (experimental) to send several packets simultaneously without waiting for a response.
  • The receive method of sockets can receive all incoming packets.
  • Throw new exceptions when instantiating sockets, sending and receiving packets.
  • Improve the resolve function:
    • A NameLookupError is now raised if the requested name does not exist or cannot be resolved.
  • Improve compatibility with Linux, macOS and Windows.
  • Delete deprecated properties.
  • Update docstrings, examples and documentation.

Compatibility with existing programs is maintained.

Don't miss a new icmplib release

NewReleases is sending notifications on new releases.