aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2015-12-03debian: Make a new release0.0.8Holger Hans Peter Freyther2-0/+11
2015-12-03client: Allow receiving jumbo frames on the client as wellHolger Hans Peter Freyther2-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-03server: Deal with jumbo frames on the wireHolger Hans Peter Freyther2-2/+6
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-03server: Fix the language and refer to the received data lengthHolger Hans Peter Freyther1-1/+1
2015-11-19debian: Make a new release of the code0.0.7Holger Hans Peter Freyther1-0/+6
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-10debian: Prepare a new releaseHolger Hans Peter Freyther1-2/+17
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 Freyther5-1/+145
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-22build: Replace deprecated INCLUDES with AM_CPPFLAGSSylvain Munaut1-1/+1
Thanks to mnhauke Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-04-10debian: Add a osmo-pcap-client init scriptHolger Hans Peter Freyther2-0/+158
* Ask start-stop-daemon to fork and create a PID file for us * Kill based on the PID file and not the name
2012-11-07debian: Add changelog entry for 0.0.4Holger Hans Peter Freyther5-2/+19
2012-11-06contrib: Really add the config files, move them to contrib0.0.4Holger Hans Peter Freyther5-2/+38
2012-11-06debian: Update the package buildingHolger Hans Peter Freyther3-1/+16
2012-11-06build: Allow to set the PCAP_CFLAGS and PCAP_LIBS externallyHolger Hans Peter Freyther1-6/+18
pcap-config might not be available, e.g. on Debian6.0 and CentOS5.x. Allow the code to be built anyway.
2012-11-06build: Properly link and package the example configurations0.0.3Holger Hans Peter Freyther2-3/+3
2012-11-06misc: Fix the version determination of git-version-genHolger Hans Peter Freyther1-1/+1
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-12-26contrib: Use explicit globs and regexpsDaniel Willmann1-4/+6
2011-09-24cron: Deal with '-' in the name of a client.Holger Hans Peter Freyther1-1/+1
Do not stop when seeing the first '-'. E.g. if you have names like tpe-system1, tpe-system2 they were treated as tpe and it was possible that a currently opened file was deleted.
2011-08-18Clean by age as well as by amount of files in osmo_pcap_clean_oldDaniel Willmann1-11/+42
The behaviour can be controlled by setting METHOD to "AGE" or "FILES".
2011-07-26Fix bug where the cleanup script kept the oldest filesDaniel Willmann1-1/+1
Fixes OW #21.
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-07-19misc: Remove process.h include, osmo_daemonize is in application.h nowHolger Hans Peter Freyther1-1/+0
2011-07-19contrib: Add a script to clean up in regular intervalsDaniel Willmann4-1/+50
This script should be run from cron. It compresses and deletes older files.
2011-07-19Catch up with API change in osmo_sock_initDaniel Willmann3-3/+3
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-19server: Register signal handler to reopen logfiles on SIGHUPDaniel Willmann3-0/+26
2011-07-19server: Fix memory leak and error handling in restart_pcapDaniel Willmann1-1/+8
2011-06-10server: Allow the group to read the files tooHolger Hans Peter Freyther1-1/+1
2011-06-10server: Make the maximum file size configurableHolger Hans Peter Freyther1-0/+12
2011-06-03TODO: Add a todo list... with bite size chunks0.0.2Holger Hans Peter Freyther1-0/+20
2011-06-02osmo-pcap-server: Read the header in pieces too...Holger Hans Peter Freyther1-9/+22
2011-06-01osmo-pcap-server: Try to read the the data with a simple state machineHolger Hans Peter Freyther2-22/+60
2011-06-01wireformat: Send the length in the network order..Holger Hans Peter Freyther3-4/+5
this is a format change. but it is necessary now.
2011-06-01osmo-server-network: Print the size of the packet.Holger Hans Peter Freyther1-1/+2
Fix a typo, print the data we received and what we wanted.
2011-06-01osmo-client-core: Use the >= 0 handling.Holger Hans Peter Freyther1-1/+1
2011-06-01osmo-pcap-server: Indent the port properlyHolger Hans Peter Freyther1-1/+1
2011-06-01osmo-pcap-server: Just check for >= 0 to find a valid fdHolger Hans Peter Freyther1-2/+2
2011-06-01osmo-pcap-server: Initialize local_fd with -1 otherwiseHolger Hans Peter Freyther1-0/+1
2011-06-01osmo-pcap-server: Deal with systems not providing these macrosHolger Hans Peter Freyther1-1/+1
2011-06-01osmo-client-core: Work with older pcap librariesHolger Hans Peter Freyther1-0/+4
2011-06-01debian: Start packaging thingsHolger Hans Peter Freyther9-0/+217
2011-06-01osmo-pcap-server: Write the pcap files to disk, roll them over0.0.1Holger Hans Peter Freyther2-4/+119
2011-06-01osmo-pcap-server: Prepare a file limit, initialize the base pathHolger Hans Peter Freyther2-0/+3
2011-05-31osmo-pcap-server: Accept the client connection from a given hostHolger Hans Peter Freyther3-2/+122
We now read from a given system.
2011-05-31osmo-pcap-server: Work on the generic VTY interface for the serverHolger Hans Peter Freyther4-0/+151
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 Freyther6-2/+343
2011-05-31osmo-pcap-client: Connect to a server, send the data to itHolger Hans Peter Freyther6-3/+253
2011-05-31osmo-pcap-client: Set the filter string on the pcap device..Holger Hans Peter Freyther4-8/+94