aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo_client_core.c
AgeCommit message (Collapse)AuthorFilesLines
2015-12-03client: Allow receiving jumbo frames on the client as wellHolger Hans Peter Freyther1-1/+1
Check the caplen and see if it is bigger than our assumed maximum. Make sure we have enough space for data+hdr+hdr.
2015-11-19gprs: Do not collect BVC FLOW CONTROL / ACK messagesHolger Hans Peter Freyther1-0/+5
These generate a high amount of traffic. They are good to debug ip.access nanoBTS GPRS crashes/service outage but in general cause too much traffic.
2015-09-10gprs: Remove left over for counting llc frames0.0.60.0.5Holger Hans Peter Freyther1-3/+0
These variables were used to verify how many LLC frames were seen.
2015-09-10gprs: Add a custom GPRS filterHolger Hans Peter Freyther1-0/+119
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
2011-07-19smatch: Check the client->device variableHolger Hans Peter Freyther1-1/+1
This is fixing: src/osmo_client_core.c +105 osmo_client_capture(8) warn: variable dereferenced before check 'client'
2011-06-01osmo-client-core: Use the >= 0 handling.Holger Hans Peter Freyther1-1/+1
2011-06-01osmo-client-core: Work with older pcap librariesHolger Hans Peter Freyther1-0/+4
2011-05-31osmo-pcap-client: Connect to a server, send the data to itHolger Hans Peter Freyther1-1/+4
2011-05-31osmo-pcap-client: Set the filter string on the pcap device..Holger Hans Peter Freyther1-5/+75
2011-05-31osmo-pcap-client: Work on the client code, be able to open the deviceHolger Hans Peter Freyther1-0/+75
Add vty code to allow changing the device, this will just attempt to open and close the device. Nothing else is done.