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 thetraceroute
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.
- A
- Improve compatibility with Linux, macOS and Windows.
- Delete deprecated properties.
- Update docstrings, examples and documentation.
Compatibility with existing programs is maintained.