path: root/configure.ac
diff options
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-09-10 16:45:45 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-09-10 16:55:33 +0200
commitb7a834b4cb6a0cdd53d4fb06c1981e8d2af1c949 (patch)
tree9e9f287d2e387bfb66017772bc6e0d07edce671f /configure.ac
parent07d96eb65441e46647d05e690c557ed3c14cb79b (diff)
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
Diffstat (limited to 'configure.ac')
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d0738f8..5efca3a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -45,6 +45,7 @@ AC_SUBST([PCAP_CFLAGS])
dnl checks for libraries
PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.3.2)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.3.2)
PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.3.0)