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