v2.0.0
icmplib 2.0 is here! 🚀
- New library architecture.
- Add a new
multipingfunction. 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_hopparameter to thetraceroutefunction 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
BufferedSocketclass (experimental) to send several packets simultaneously without waiting for a response. - The
receivemethod of sockets can receive all incoming packets. - Throw new exceptions when instantiating sockets, sending and receiving packets.
- Improve the
resolvefunction:- A
NameLookupErroris now raised if the requested name does not exist or cannot be resolved.
- A
- Improve compatibility with Linux, macOS and Windows.
- Delete deprecated properties.
- Update docstrings, examples and documentation.
Compatibility with existing programs is maintained.