| 1 |
Source: asncounter |
| 2 |
Section: python |
| 3 |
Priority: optional |
| 4 |
Maintainer: Antoine Beaupré <[email protected]> |
| 5 |
Build-Depends: debhelper-compat (= 13), |
| 6 |
pandoc, |
| 7 |
pybuild-plugin-pyproject, python3-setuptools, |
| 8 |
python3-all, |
| 9 |
python3-prometheus-client, |
| 10 |
python3-pyasn, |
| 11 |
python3-pytest, |
| 12 |
python3-scapy, |
| 13 |
python3-setuptools-scm, |
| 14 |
Standards-Version: 4.6.2.0 |
| 15 |
Testsuite: autopkgtest-pkg-pybuild |
| 16 |
Rules-Requires-Root: no |
| 17 |
Homepage: https://gitlab.com/anarcat/asncounter/ |
| 18 |
Vcs-Git: https://gitlab.com/anarcat/asncounter.git |
| 19 |
Vcs-Browser: https://gitlab.com/anarcat/asncounter/ |
| 20 |
|
| 21 |
Package: asncounter |
| 22 |
Architecture: all |
| 23 |
Depends: ${misc:Depends}, ${python3:Depends}, |
| 24 |
Recommends: python3-prometheus-client |
| 25 |
Suggests: python3-scapy, python3-manhole |
| 26 |
Description: Count the number of hits per ASN |
| 27 |
Count the number of hits (HTTP, packets, etc) per autonomous system |
| 28 |
number (ASN) and related network blocks. |
| 29 |
. |
| 30 |
This is useful when you get a lot of traffic on a server to figure out |
| 31 |
which network is responsible for the traffic, to direct abuse |
| 32 |
complaints or block whole networks, or on core routers to figure out |
| 33 |
who your peers are and who you might want to seek particular peering |
| 34 |
agreements with |
| 35 |
. |
| 36 |
|
| 37 |
. |
| 38 |
- reads packets from a text file (or stdin) one per line |
| 39 |
- can parse some tcpdump output or read packets directly from |
| 40 |
interfaces with scapy |
| 41 |
- fast ASN lookups pyasn |
| 42 |
- automatic download of relevant databases from |
| 43 |
routeviews.org |
| 44 |
- Prometheus exporter |
| 45 |
- written in Python |
| 46 |
- optional Python REPL interpreter shell to drill into reports |