Codebase list python-icmplib / e5185cd
Import upstream version 3.0.3 Kali Janitor 2 years ago
19 changed file(s) with 50 addition(s) and 20 deletion(s). Raw diff Collapse all Expand all
00 # Changelog
11
22 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.
36
47 ## [v3.0.2](https://github.com/ValentinBELYN/icmplib/releases/tag/v3.0.2) - 2021-10-31
58 - Add support for IPv6 addresses with zone index.
631631
632632 ## License
633633
634 Copyright 2017-2021 Valentin BELYN.
634 Copyright 2017-2022 Valentin BELYN.
635635
636636 Code released under the GNU LGPLv3 license. See the [LICENSE] for details.
637637
227227 Close the socket. It cannot be used after this call.
228228
229229 #### 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`
230240
231241 - `address`
232242
55
66 https://github.com/ValentinBELYN/icmplib
77
8 :copyright: Copyright 2017-2021 Valentin BELYN.
8 :copyright: Copyright 2017-2022 Valentin BELYN.
99 :license: GNU LGPLv3, see the LICENSE for details.
1010
1111 ~~~~~~~
55
66 https://github.com/ValentinBELYN/icmplib
77
8 :copyright: Copyright 2017-2021 Valentin BELYN.
8 :copyright: Copyright 2017-2022 Valentin BELYN.
99 :license: GNU LGPLv3, see the LICENSE for details.
1010
1111 ~~~~~~~
55
66 https://github.com/ValentinBELYN/icmplib
77
8 :copyright: Copyright 2017-2021 Valentin BELYN.
8 :copyright: Copyright 2017-2022 Valentin BELYN.
99 :license: GNU LGPLv3, see the LICENSE for details.
1010
1111 ~~~~~~~
55
66 https://github.com/ValentinBELYN/icmplib
77
8 :copyright: Copyright 2017-2021 Valentin BELYN.
8 :copyright: Copyright 2017-2022 Valentin BELYN.
99 :license: GNU LGPLv3, see the LICENSE for details.
1010
1111 ~~~~~~~
55
66 https://github.com/ValentinBELYN/icmplib
77
8 :copyright: Copyright 2017-2021 Valentin BELYN.
8 :copyright: Copyright 2017-2022 Valentin BELYN.
99 :license: GNU LGPLv3, see the LICENSE for details.
1010
1111 ~~~~~~~
55
66 https://github.com/ValentinBELYN/icmplib
77
8 :copyright: Copyright 2017-2021 Valentin BELYN.
8 :copyright: Copyright 2017-2022 Valentin BELYN.
99 :license: GNU LGPLv3, see the LICENSE for details.
1010
1111 ~~~~~~~
55
66 https://github.com/ValentinBELYN/icmplib
77
8 :copyright: Copyright 2017-2021 Valentin BELYN.
8 :copyright: Copyright 2017-2022 Valentin BELYN.
99 :license: GNU LGPLv3, see the LICENSE for details.
1010
1111 ~~~~~~~
3636
3737
3838 __author__ = 'Valentin BELYN'
39 __copyright__ = 'Copyright 2017-2021 Valentin BELYN'
39 __copyright__ = 'Copyright 2017-2022 Valentin BELYN'
4040 __license__ = 'GNU Lesser General Public License v3.0'
4141
42 __version__ = '3.0.2'
43 __build__ = '211031'
42 __version__ = '3.0.3'
43 __build__ = '220206'
55
66 https://github.com/ValentinBELYN/icmplib
77
8 :copyright: Copyright 2017-2021 Valentin BELYN.
8 :copyright: Copyright 2017-2022 Valentin BELYN.
99 :license: GNU LGPLv3, see the LICENSE for details.
1010
1111 ~~~~~~~
55
66 https://github.com/ValentinBELYN/icmplib
77
8 :copyright: Copyright 2017-2021 Valentin BELYN.
8 :copyright: Copyright 2017-2022 Valentin BELYN.
99 :license: GNU LGPLv3, see the LICENSE for details.
1010
1111 ~~~~~~~
55
66 https://github.com/ValentinBELYN/icmplib
77
8 :copyright: Copyright 2017-2021 Valentin BELYN.
8 :copyright: Copyright 2017-2022 Valentin BELYN.
99 :license: GNU LGPLv3, see the LICENSE for details.
1010
1111 ~~~~~~~
55
66 https://github.com/ValentinBELYN/icmplib
77
8 :copyright: Copyright 2017-2021 Valentin BELYN.
8 :copyright: Copyright 2017-2022 Valentin BELYN.
99 :license: GNU LGPLv3, see the LICENSE for details.
1010
1111 ~~~~~~~
55
66 https://github.com/ValentinBELYN/icmplib
77
8 :copyright: Copyright 2017-2021 Valentin BELYN.
8 :copyright: Copyright 2017-2022 Valentin BELYN.
99 :license: GNU LGPLv3, see the LICENSE for details.
1010
1111 ~~~~~~~
356356 self._sock = None
357357
358358 @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
359376 def blocking(self):
360377 '''
361378 Indicate whether the socket is in blocking mode.
55
66 https://github.com/ValentinBELYN/icmplib
77
8 :copyright: Copyright 2017-2021 Valentin BELYN.
8 :copyright: Copyright 2017-2022 Valentin BELYN.
99 :license: GNU LGPLv3, see the LICENSE for details.
1010
1111 ~~~~~~~
55
66 https://github.com/ValentinBELYN/icmplib
77
8 :copyright: Copyright 2017-2021 Valentin BELYN.
8 :copyright: Copyright 2017-2022 Valentin BELYN.
99 :license: GNU LGPLv3, see the LICENSE for details.
1010
1111 ~~~~~~~
00 [metadata]
11 name = icmplib
2 version = 3.0.2
2 version = 3.0.3
33 description = The power to forge ICMP packets and do ping and traceroute.
44 keywords = icmp, sockets, ping, multiping, traceroute, async, asyncio, ipv4, ipv6, python, python3
55
55
66 https://github.com/ValentinBELYN/icmplib
77
8 :copyright: Copyright 2017-2021 Valentin BELYN.
8 :copyright: Copyright 2017-2022 Valentin BELYN.
99 :license: GNU LGPLv3, see the LICENSE for details.
1010
1111 ~~~~~~~