~/talk

Pcapy and dpkt - tcpdump on steroids

Talkat DevOpsDays Tel Aviv 2018 · 2018-12-18..12-19· [networking, python]
links:none on file
slides:none on file

Uses Python plus pcapy and dpkt to move beyond raw tcpdump output by setting a libpcap filter, attaching a callback, and handing each packet to protocol parsers. Shows runnable code that listens on interface 0, filters UDP port 53, extracts DNS name and query type, and writes records to a database. Demonstrates producing top 7 DNS queries from captured traffic, notes that pcapy is libpcap-compatible, and that the approach reliably builds useful application‑layer aggregates.

AI-written summary · about

  1. 0:00Start
  2. 0:20What tools do we have today?
  3. 2:11Examples of using pcapy
  4. 2:58Example #2 - dns_to_db.py
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.