Skip to content

Commit e2ae432

Browse files
authored
Merge pull request #35 from kpetremann/scapy2.6.0
chore: update to scapy 2.6.0 and pin dependencies
2 parents 38b9e52 + 4b5954b commit e2ae432

File tree

11 files changed

+141
-16
lines changed

11 files changed

+141
-16
lines changed

netprobify/common.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Common functions."""
2+
23
import re
34

45
from socket import getaddrinfo, AF_INET, AF_INET6, IPPROTO_TCP

netprobify/external.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Module for all external functions."""
2+
23
import math
34

45

netprobify/protocol/common/protocols.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Protocol related functions."""
2+
23
from ipaddress import ip_network
34

45
from scapy.all import ICMP, IP, ICMPv6EchoRequest, IPv6

netprobify/protocol/icmp_ping.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Module for ICMP probing."""
2+
23
import logging
34
from random import randint
45

netprobify/protocol/iperf.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Module for Iperf bandwidth test."""
2+
23
import logging
34
import subprocess
45

netprobify/protocol/tcpsyn.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Module for TCP syn probing."""
2+
23
import logging
34

45
from scapy.all import TCP, L3RawSocket, RandString, Raw, conf, send, sr

netprobify/protocol/udp_unreachable.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Module for UDP probing."""
2+
23
import logging
34

45
from scapy.all import UDP, L3RawSocket, RandString, Raw, UDPerror, conf, sr

requirements/netprobify.in

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
ipam-client==0.6.2
2+
Flask
3+
flask-httpauth
4+
prometheus_client
5+
pykwalify
6+
PyYAML
7+
requests
8+
setuptools
9+
scapy==2.6.0
10+
tornado
11+
waitress

requirements/netprobify.txt

+63-10
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,64 @@
1+
# This file was autogenerated by uv via the following command:
2+
# uv pip compile requirements/netprobify.in -o requirements/netprobify.txt
3+
blinker==1.8.2
4+
# via flask
5+
certifi==2024.8.30
6+
# via requests
7+
charset-normalizer==3.3.2
8+
# via requests
9+
click==8.1.7
10+
# via flask
11+
docopt==0.6.2
12+
# via pykwalify
13+
flask==3.0.3
14+
# via
15+
# -r requirements/netprobify.in
16+
# flask-httpauth
17+
flask-httpauth==4.8.0
18+
# via -r requirements/netprobify.in
19+
idna==3.10
20+
# via requests
21+
ipaddress==1.0.23
22+
# via ipam-client
123
ipam-client==0.6.2
2-
Flask
3-
flask-httpauth
4-
prometheus_client
5-
pykwalify
6-
PyYAML
7-
requests
8-
setuptools
9-
scapy==2.5.0
10-
tornado
11-
waitress
24+
# via -r requirements/netprobify.in
25+
itsdangerous==2.2.0
26+
# via flask
27+
jinja2==3.1.4
28+
# via flask
29+
markupsafe==2.1.5
30+
# via
31+
# jinja2
32+
# werkzeug
33+
mysql-connector-python==8.0.33
34+
# via ipam-client
35+
prometheus-client==0.21.0
36+
# via -r requirements/netprobify.in
37+
protobuf==3.20.3
38+
# via mysql-connector-python
39+
pykwalify==1.8.0
40+
# via -r requirements/netprobify.in
41+
python-dateutil==2.9.0.post0
42+
# via pykwalify
43+
pyyaml==6.0.2
44+
# via -r requirements/netprobify.in
45+
requests==2.32.3
46+
# via -r requirements/netprobify.in
47+
ruamel-yaml==0.18.6
48+
# via pykwalify
49+
ruamel-yaml-clib==0.2.8
50+
# via ruamel-yaml
51+
scapy==2.6.0
52+
# via -r requirements/netprobify.in
53+
setuptools==75.1.0
54+
# via -r requirements/netprobify.in
55+
six==1.16.0
56+
# via python-dateutil
57+
tornado==6.4.1
58+
# via -r requirements/netprobify.in
59+
urllib3==2.2.3
60+
# via requests
61+
waitress==3.0.0
62+
# via -r requirements/netprobify.in
63+
werkzeug==3.0.4
64+
# via flask

requirements/tests.in

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
coverage
2+
pykwalify
3+
pylama
4+
pytest
5+
requests-mock
6+
setuptools

requirements/tests.txt

+54-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,54 @@
1-
coverage
2-
pykwalify
3-
pylama
4-
pytest
5-
requests-mock
6-
setuptools
1+
# This file was autogenerated by uv via the following command:
2+
# uv pip compile requirements/tests.in -o requirements/tests.txt
3+
certifi==2024.8.30
4+
# via requests
5+
charset-normalizer==3.3.2
6+
# via requests
7+
coverage==7.6.1
8+
# via -r requirements/tests.in
9+
docopt==0.6.2
10+
# via pykwalify
11+
exceptiongroup==1.2.2
12+
# via pytest
13+
idna==3.10
14+
# via requests
15+
iniconfig==2.0.0
16+
# via pytest
17+
mccabe==0.7.0
18+
# via pylama
19+
packaging==24.1
20+
# via pytest
21+
pluggy==1.5.0
22+
# via pytest
23+
pycodestyle==2.12.1
24+
# via pylama
25+
pydocstyle==6.3.0
26+
# via pylama
27+
pyflakes==3.2.0
28+
# via pylama
29+
pykwalify==1.8.0
30+
# via -r requirements/tests.in
31+
pylama==8.4.1
32+
# via -r requirements/tests.in
33+
pytest==8.3.3
34+
# via -r requirements/tests.in
35+
python-dateutil==2.9.0.post0
36+
# via pykwalify
37+
requests==2.32.3
38+
# via requests-mock
39+
requests-mock==1.12.1
40+
# via -r requirements/tests.in
41+
ruamel-yaml==0.18.6
42+
# via pykwalify
43+
ruamel-yaml-clib==0.2.8
44+
# via ruamel-yaml
45+
setuptools==75.1.0
46+
# via -r requirements/tests.in
47+
six==1.16.0
48+
# via python-dateutil
49+
snowballstemmer==2.2.0
50+
# via pydocstyle
51+
tomli==2.0.1
52+
# via pytest
53+
urllib3==2.2.3
54+
# via requests

0 commit comments

Comments
 (0)