Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-12-03 | client: Allow receiving jumbo frames on the client as well | Holger Hans Peter Freyther | 2 | -3/+10 | |
Check the caplen and see if it is bigger than our assumed maximum. Make sure we have enough space for data+hdr+hdr. | |||||
2015-12-03 | server: Deal with jumbo frames on the wire | Holger Hans Peter Freyther | 1 | -1/+1 | |
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-12-03 | server: Fix the language and refer to the received data length | Holger Hans Peter Freyther | 1 | -1/+1 | |
2015-11-19 | gprs: Do not collect BVC FLOW CONTROL / ACK messages | Holger Hans Peter Freyther | 1 | -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-10 | gprs: Remove left over for counting llc frames0.0.60.0.5 | Holger Hans Peter Freyther | 1 | -3/+0 | |
These variables were used to verify how many LLC frames were seen. | |||||
2015-09-10 | gprs: Add a custom GPRS filter | Holger Hans Peter Freyther | 3 | -1/+143 | |
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 | |||||
2014-12-22 | build: Replace deprecated INCLUDES with AM_CPPFLAGS | Sylvain Munaut | 1 | -1/+1 | |
Thanks to mnhauke Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | |||||
2012-11-06 | build: Properly link and package the example configurations0.0.3 | Holger Hans Peter Freyther | 1 | -2/+2 | |
2011-07-19 | smatch: Check the client->device variable | Holger Hans Peter Freyther | 1 | -1/+1 | |
This is fixing: src/osmo_client_core.c +105 osmo_client_capture(8) warn: variable dereferenced before check 'client' | |||||
2011-07-19 | misc: Remove process.h include, osmo_daemonize is in application.h now | Holger Hans Peter Freyther | 1 | -1/+0 | |
2011-07-19 | Catch up with API change in osmo_sock_init | Daniel Willmann | 2 | -2/+2 | |
The connect0_bind1 parameter has been replaced by a generic flag parameter. With this patch osmo-pcap works (only) with versions of libosmocore 0.3.2 or newer - configure.ac changed to reflects that. | |||||
2011-07-19 | server: Register signal handler to reopen logfiles on SIGHUP | Daniel Willmann | 2 | -0/+24 | |
2011-07-19 | server: Fix memory leak and error handling in restart_pcap | Daniel Willmann | 1 | -1/+8 | |
2011-06-10 | server: Allow the group to read the files too | Holger Hans Peter Freyther | 1 | -1/+1 | |
2011-06-10 | server: Make the maximum file size configurable | Holger Hans Peter Freyther | 1 | -0/+12 | |
2011-06-02 | osmo-pcap-server: Read the header in pieces too... | Holger Hans Peter Freyther | 1 | -9/+22 | |
2011-06-01 | osmo-pcap-server: Try to read the the data with a simple state machine | Holger Hans Peter Freyther | 1 | -22/+50 | |
2011-06-01 | wireformat: Send the length in the network order.. | Holger Hans Peter Freyther | 2 | -2/+3 | |
this is a format change. but it is necessary now. | |||||
2011-06-01 | osmo-server-network: Print the size of the packet. | Holger Hans Peter Freyther | 1 | -1/+2 | |
Fix a typo, print the data we received and what we wanted. | |||||
2011-06-01 | osmo-client-core: Use the >= 0 handling. | Holger Hans Peter Freyther | 1 | -1/+1 | |
2011-06-01 | osmo-pcap-server: Indent the port properly | Holger Hans Peter Freyther | 1 | -1/+1 | |
2011-06-01 | osmo-pcap-server: Just check for >= 0 to find a valid fd | Holger Hans Peter Freyther | 1 | -2/+2 | |
2011-06-01 | osmo-pcap-server: Initialize local_fd with -1 otherwise | Holger Hans Peter Freyther | 1 | -0/+1 | |
2011-06-01 | osmo-pcap-server: Deal with systems not providing these macros | Holger Hans Peter Freyther | 1 | -1/+1 | |
2011-06-01 | osmo-client-core: Work with older pcap libraries | Holger Hans Peter Freyther | 1 | -0/+4 | |
2011-06-01 | osmo-pcap-server: Write the pcap files to disk, roll them over0.0.1 | Holger Hans Peter Freyther | 2 | -4/+119 | |
2011-06-01 | osmo-pcap-server: Prepare a file limit, initialize the base path | Holger Hans Peter Freyther | 1 | -0/+2 | |
2011-05-31 | osmo-pcap-server: Accept the client connection from a given host | Holger Hans Peter Freyther | 2 | -2/+114 | |
We now read from a given system. | |||||
2011-05-31 | osmo-pcap-server: Work on the generic VTY interface for the server | Holger Hans Peter Freyther | 3 | -0/+148 | |
Work on being able to configure clients that are allowed to connect to the server. | |||||
2011-05-31 | osmo-pcap-server: Start with the skeleton of the pcap server | Holger Hans Peter Freyther | 4 | -1/+275 | |
2011-05-31 | osmo-pcap-client: Connect to a server, send the data to it | Holger Hans Peter Freyther | 4 | -2/+197 | |
2011-05-31 | osmo-pcap-client: Set the filter string on the pcap device.. | Holger Hans Peter Freyther | 3 | -7/+93 | |
2011-05-31 | osmo-pcap-client: Do not print the strings if they are NULL | Holger Hans Peter Freyther | 1 | -8/+16 | |
this makes glibc add the (null) for us, but we don't want that as we would attempt to compile a filter or open a device with that. | |||||
2011-05-31 | osmo-pcap-client: Work on the client code, be able to open the device | Holger Hans Peter Freyther | 4 | -1/+195 | |
Add vty code to allow changing the device, this will just attempt to open and close the device. Nothing else is done. | |||||
2011-05-31 | common: Add the default case, e.g. needed for the logging code | Holger Hans Peter Freyther | 1 | -1/+1 | |
2011-05-31 | osmo_pcap_client: Start with the framework for the pcap client | Holger Hans Peter Freyther | 4 | -2/+279 | |
This is just the normal skeleton for the osmocom code. | |||||
2011-05-31 | osmo-pcap: Create a dummy client. | Holger Hans Peter Freyther | 2 | -0/+37 | |