Tools for distributed pcap recording (osmo-pcap-server, osmo-pcap-client) https://osmocom.org/projects/osmo-pcap
Go to file
Holger Hans Peter Freyther b7a834b4cb gprs: Add a custom GPRS filter
Allow to inspect UDP messages and check for GPRS, NS, BSSGP
and then filter LLC frames. Parsing the vL datastructure with
the libpcap syntax is a pain. It could be done using BPF but
we do not want to use bpf asm to specify the entire ruleset.

I looked into using libepan/libwireshark but this has memory
issues and is painful too. So let's parse UDP, NS, BSSGP using
the info we already have. I tried a bit of editcap to generate
a bit of broken data. The length check might still be bad.

I used my crash_20100602.pcap file to count the LLC frames we
detect and compare that to wireshark it ended with the right
number.

  pcap add-filter gprs

can be used to enable the new filtering option after the OS
has received the packet.

Fixes: ONW#1314
2015-09-10 16:55:33 +02:00
contrib contrib: Really add the config files, move them to contrib 2012-11-06 23:45:07 +01:00
debian debian: Add a osmo-pcap-client init script 2013-04-10 18:38:12 +02:00
include gprs: Add a custom GPRS filter 2015-09-10 16:55:33 +02:00
src gprs: Add a custom GPRS filter 2015-09-10 16:55:33 +02:00
.gitignore contrib: Really add the config files, move them to contrib 2012-11-06 23:45:07 +01:00
AUTHORS osmo-pcap: Start with the autoconf/automake skeleton for this project 2011-05-31 10:19:47 +02:00
COPYING osmo-pcap: Start with the autoconf/automake skeleton for this project 2011-05-31 10:19:47 +02:00
Makefile.am contrib: Really add the config files, move them to contrib 2012-11-06 23:45:07 +01:00
TODO TODO: Add a todo list... with bite size chunks 2011-06-03 20:25:56 +02:00
configure.ac gprs: Add a custom GPRS filter 2015-09-10 16:55:33 +02:00
git-version-gen misc: Fix the version determination of git-version-gen 2012-11-06 08:48:33 +01:00