aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-pcap
AgeCommit message (Collapse)AuthorFilesLines
2015-12-03server: Deal with jumbo frames on the wireHolger Hans Peter Freyther1-1/+5
The 2000 as a number is too small. Modern networks can have a higher MTU (up to 9000). Take this number and assume there is a big header in front of it.
2015-09-10gprs: Add a custom GPRS filterHolger Hans Peter Freyther1-0/+1
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
2012-01-06dist: Attempt to fix the make distcheckHolger Hans Peter Freyther1-1/+1
2012-01-06dist: Attempt to fix the make distcheckHolger Hans Peter Freyther1-1/+1
2011-07-19server: Register signal handler to reopen logfiles on SIGHUPDaniel Willmann1-0/+2
2011-06-01osmo-pcap-server: Try to read the the data with a simple state machineHolger Hans Peter Freyther1-0/+10
2011-06-01wireformat: Send the length in the network order..Holger Hans Peter Freyther1-2/+2
this is a format change. but it is necessary now.
2011-06-01osmo-pcap-server: Prepare a file limit, initialize the base pathHolger Hans Peter Freyther1-0/+1
2011-05-31osmo-pcap-server: Accept the client connection from a given hostHolger Hans Peter Freyther1-0/+8
We now read from a given system.
2011-05-31osmo-pcap-server: Work on the generic VTY interface for the serverHolger Hans Peter Freyther1-0/+3
Work on being able to configure clients that are allowed to connect to the server.
2011-05-31osmo-pcap-server: Start with the skeleton of the pcap serverHolger Hans Peter Freyther1-0/+67
2011-05-31osmo-pcap-client: Connect to a server, send the data to itHolger Hans Peter Freyther2-1/+56
2011-05-31osmo-pcap-client: Set the filter string on the pcap device..Holger Hans Peter Freyther1-1/+1
2011-05-31osmo-pcap-client: Work on the client code, be able to open the deviceHolger Hans Peter Freyther1-1/+15
Add vty code to allow changing the device, this will just attempt to open and close the device. Nothing else is done.
2011-05-31osmo_pcap_client: Start with the framework for the pcap clientHolger Hans Peter Freyther3-1/+85
This is just the normal skeleton for the osmocom code.
2011-05-31osmo-pcap: Create a dummy client.Holger Hans Peter Freyther1-0/+1