This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Tools to centralize packet capture and storing".
The branch, master has been updated
via b7a834b4cb6a0cdd53d4fb06c1981e8d2af1c949 (commit)
from 07d96eb65441e46647d05e690c557ed3c14cb79b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-pcap/commit/?id=b7a834b4cb6a0cdd53d4fb06c1981e…
commit b7a834b4cb6a0cdd53d4fb06c1981e8d2af1c949
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Thu Sep 10 16:45:45 2015 +0200
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
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 1 +
include/osmo-pcap/osmo_pcap_client.h | 1 +
src/Makefile.am | 2 +-
src/osmo_client_core.c | 119 +++++++++++++++++++++++++++++++++++
src/osmo_client_vty.c | 23 +++++++
5 files changed, 145 insertions(+), 1 deletion(-)
hooks/post-receive
--
Tools to centralize packet capture and storing