Import upstream version 3.0.3
Kali Janitor
2 years ago
0 | 0 |
# Changelog
|
1 | 1 |
|
2 | 2 |
All notable changes to this project will be documented in this file.
|
|
3 |
|
|
4 |
## [v3.0.3](https://github.com/ValentinBELYN/icmplib/releases/tag/v3.0.3) - 2022-02-06
|
|
5 |
- Add the `sock` property to the `ICMPSocket` class.
|
3 | 6 |
|
4 | 7 |
## [v3.0.2](https://github.com/ValentinBELYN/icmplib/releases/tag/v3.0.2) - 2021-10-31
|
5 | 8 |
- Add support for IPv6 addresses with zone index.
|
227 | 227 |
Close the socket. It cannot be used after this call.
|
228 | 228 |
|
229 | 229 |
#### Properties only
|
|
230 |
|
|
231 |
- `sock`
|
|
232 |
|
|
233 |
Return the underlying socket or `None` if the socket is closed.
|
|
234 |
|
|
235 |
This property should only be used if the feature you want is not yet implemented. Some changes made to this socket may cause unexpected behavior or be incompatible with later versions of the library.
|
|
236 |
|
|
237 |
Prefer to use the other methods and properties defined within this class if possible.
|
|
238 |
|
|
239 |
- Type: `socket.socket` or `None`
|
230 | 240 |
|
231 | 241 |
- `address`
|
232 | 242 |
|
5 | 5 |
|
6 | 6 |
https://github.com/ValentinBELYN/icmplib
|
7 | 7 |
|
8 | |
:copyright: Copyright 2017-2021 Valentin BELYN.
|
|
8 |
:copyright: Copyright 2017-2022 Valentin BELYN.
|
9 | 9 |
:license: GNU LGPLv3, see the LICENSE for details.
|
10 | 10 |
|
11 | 11 |
~~~~~~~
|
5 | 5 |
|
6 | 6 |
https://github.com/ValentinBELYN/icmplib
|
7 | 7 |
|
8 | |
:copyright: Copyright 2017-2021 Valentin BELYN.
|
|
8 |
:copyright: Copyright 2017-2022 Valentin BELYN.
|
9 | 9 |
:license: GNU LGPLv3, see the LICENSE for details.
|
10 | 10 |
|
11 | 11 |
~~~~~~~
|
5 | 5 |
|
6 | 6 |
https://github.com/ValentinBELYN/icmplib
|
7 | 7 |
|
8 | |
:copyright: Copyright 2017-2021 Valentin BELYN.
|
|
8 |
:copyright: Copyright 2017-2022 Valentin BELYN.
|
9 | 9 |
:license: GNU LGPLv3, see the LICENSE for details.
|
10 | 10 |
|
11 | 11 |
~~~~~~~
|
5 | 5 |
|
6 | 6 |
https://github.com/ValentinBELYN/icmplib
|
7 | 7 |
|
8 | |
:copyright: Copyright 2017-2021 Valentin BELYN.
|
|
8 |
:copyright: Copyright 2017-2022 Valentin BELYN.
|
9 | 9 |
:license: GNU LGPLv3, see the LICENSE for details.
|
10 | 10 |
|
11 | 11 |
~~~~~~~
|
5 | 5 |
|
6 | 6 |
https://github.com/ValentinBELYN/icmplib
|
7 | 7 |
|
8 | |
:copyright: Copyright 2017-2021 Valentin BELYN.
|
|
8 |
:copyright: Copyright 2017-2022 Valentin BELYN.
|
9 | 9 |
:license: GNU LGPLv3, see the LICENSE for details.
|
10 | 10 |
|
11 | 11 |
~~~~~~~
|
5 | 5 |
|
6 | 6 |
https://github.com/ValentinBELYN/icmplib
|
7 | 7 |
|
8 | |
:copyright: Copyright 2017-2021 Valentin BELYN.
|
|
8 |
:copyright: Copyright 2017-2022 Valentin BELYN.
|
9 | 9 |
:license: GNU LGPLv3, see the LICENSE for details.
|
10 | 10 |
|
11 | 11 |
~~~~~~~
|
5 | 5 |
|
6 | 6 |
https://github.com/ValentinBELYN/icmplib
|
7 | 7 |
|
8 | |
:copyright: Copyright 2017-2021 Valentin BELYN.
|
|
8 |
:copyright: Copyright 2017-2022 Valentin BELYN.
|
9 | 9 |
:license: GNU LGPLv3, see the LICENSE for details.
|
10 | 10 |
|
11 | 11 |
~~~~~~~
|
|
36 | 36 |
|
37 | 37 |
|
38 | 38 |
__author__ = 'Valentin BELYN'
|
39 | |
__copyright__ = 'Copyright 2017-2021 Valentin BELYN'
|
|
39 |
__copyright__ = 'Copyright 2017-2022 Valentin BELYN'
|
40 | 40 |
__license__ = 'GNU Lesser General Public License v3.0'
|
41 | 41 |
|
42 | |
__version__ = '3.0.2'
|
43 | |
__build__ = '211031'
|
|
42 |
__version__ = '3.0.3'
|
|
43 |
__build__ = '220206'
|
5 | 5 |
|
6 | 6 |
https://github.com/ValentinBELYN/icmplib
|
7 | 7 |
|
8 | |
:copyright: Copyright 2017-2021 Valentin BELYN.
|
|
8 |
:copyright: Copyright 2017-2022 Valentin BELYN.
|
9 | 9 |
:license: GNU LGPLv3, see the LICENSE for details.
|
10 | 10 |
|
11 | 11 |
~~~~~~~
|
5 | 5 |
|
6 | 6 |
https://github.com/ValentinBELYN/icmplib
|
7 | 7 |
|
8 | |
:copyright: Copyright 2017-2021 Valentin BELYN.
|
|
8 |
:copyright: Copyright 2017-2022 Valentin BELYN.
|
9 | 9 |
:license: GNU LGPLv3, see the LICENSE for details.
|
10 | 10 |
|
11 | 11 |
~~~~~~~
|
5 | 5 |
|
6 | 6 |
https://github.com/ValentinBELYN/icmplib
|
7 | 7 |
|
8 | |
:copyright: Copyright 2017-2021 Valentin BELYN.
|
|
8 |
:copyright: Copyright 2017-2022 Valentin BELYN.
|
9 | 9 |
:license: GNU LGPLv3, see the LICENSE for details.
|
10 | 10 |
|
11 | 11 |
~~~~~~~
|
5 | 5 |
|
6 | 6 |
https://github.com/ValentinBELYN/icmplib
|
7 | 7 |
|
8 | |
:copyright: Copyright 2017-2021 Valentin BELYN.
|
|
8 |
:copyright: Copyright 2017-2022 Valentin BELYN.
|
9 | 9 |
:license: GNU LGPLv3, see the LICENSE for details.
|
10 | 10 |
|
11 | 11 |
~~~~~~~
|
5 | 5 |
|
6 | 6 |
https://github.com/ValentinBELYN/icmplib
|
7 | 7 |
|
8 | |
:copyright: Copyright 2017-2021 Valentin BELYN.
|
|
8 |
:copyright: Copyright 2017-2022 Valentin BELYN.
|
9 | 9 |
:license: GNU LGPLv3, see the LICENSE for details.
|
10 | 10 |
|
11 | 11 |
~~~~~~~
|
|
356 | 356 |
self._sock = None
|
357 | 357 |
|
358 | 358 |
@property
|
|
359 |
def sock(self):
|
|
360 |
'''
|
|
361 |
Return the underlying socket (`socket.socket` object) or `None`
|
|
362 |
if the socket is closed.
|
|
363 |
|
|
364 |
This property should only be used if the feature you want is not
|
|
365 |
yet implemented. Some changes made to this socket may cause
|
|
366 |
unexpected behavior or be incompatible with later versions of
|
|
367 |
the library.
|
|
368 |
|
|
369 |
Prefer to use the other methods and properties defined within
|
|
370 |
this class if possible.
|
|
371 |
|
|
372 |
'''
|
|
373 |
return self._sock
|
|
374 |
|
|
375 |
@property
|
359 | 376 |
def blocking(self):
|
360 | 377 |
'''
|
361 | 378 |
Indicate whether the socket is in blocking mode.
|
5 | 5 |
|
6 | 6 |
https://github.com/ValentinBELYN/icmplib
|
7 | 7 |
|
8 | |
:copyright: Copyright 2017-2021 Valentin BELYN.
|
|
8 |
:copyright: Copyright 2017-2022 Valentin BELYN.
|
9 | 9 |
:license: GNU LGPLv3, see the LICENSE for details.
|
10 | 10 |
|
11 | 11 |
~~~~~~~
|
5 | 5 |
|
6 | 6 |
https://github.com/ValentinBELYN/icmplib
|
7 | 7 |
|
8 | |
:copyright: Copyright 2017-2021 Valentin BELYN.
|
|
8 |
:copyright: Copyright 2017-2022 Valentin BELYN.
|
9 | 9 |
:license: GNU LGPLv3, see the LICENSE for details.
|
10 | 10 |
|
11 | 11 |
~~~~~~~
|
0 | 0 |
[metadata]
|
1 | 1 |
name = icmplib
|
2 | |
version = 3.0.2
|
|
2 |
version = 3.0.3
|
3 | 3 |
description = The power to forge ICMP packets and do ping and traceroute.
|
4 | 4 |
keywords = icmp, sockets, ping, multiping, traceroute, async, asyncio, ipv4, ipv6, python, python3
|
5 | 5 |
|
5 | 5 |
|
6 | 6 |
https://github.com/ValentinBELYN/icmplib
|
7 | 7 |
|
8 | |
:copyright: Copyright 2017-2021 Valentin BELYN.
|
|
8 |
:copyright: Copyright 2017-2022 Valentin BELYN.
|
9 | 9 |
:license: GNU LGPLv3, see the LICENSE for details.
|
10 | 10 |
|
11 | 11 |
~~~~~~~
|