aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-05-03jenkins: Attempt to fix FreeBSD distcheckHolger Hans Peter Freyther1-1/+1
Change-Id: I758a5590f3d964039363852f07f0967170fd9a28
2016-05-03freebsd: Another fix for the next fileHolger Hans Peter Freyther1-0/+1
Change-Id: I509e44c48d7983b305bc5fbcd9360ead74ef8d68
2016-05-03freebsd: Include netinet/in.h and hopefully fix the buildHolger Hans Peter Freyther1-0/+1
Fixes: /usr/include/netinet/ip.h:69:17: error: field has incomplete type 'struct in_addr' struct in_addr ip_src,ip_dst; /* source and dest address */ Change-Id: I446f67b85122363de66c86ddb25c8392ffa61a4f
2016-05-03jenkins: Attempt to fix build on FreeBSD and not break LinuxHolger Hans Peter Freyther1-1/+1
pcap-config is not present as libpcap is part of the base system. Use it as /bin/true and inject -lpcap as PCAP_LIBS. Change-Id: I0c2b5222da0ee037d3a3156ac1fef89dfd849cad
2016-05-03distcheck: Need to package .version on Ubuntu as wellHolger Hans Peter Freyther1-1/+1
echo 0.0.6.14-5dff > ../../.version-t && mv ../../.version-t ../../.version /bin/bash: ../../.version-t: Permission denied Makefile:786: recipe for target '../../.version' failed make[1]: *** [../../.version] Error 1 Change-Id: I726181f7af3e7582398738e0746982a5ea31d7e9
2016-04-13jenkins: Add the build script from jenkins hereHolger Hans Peter Freyther1-0/+19
This can be used to replicate a build issue more easily.
2016-01-18Mention the packages availableHolger Hans Peter Freyther1-1/+1
2016-01-18Point to a stand-a-lone repository with many many packagesHolger Hans Peter Freyther1-1/+1
2016-01-05misc: Update the readmeHolger Hans Peter Freyther1-4/+33
2016-01-05misc: Add a readme to describe the project purpose a bitHolger Hans Peter Freyther1-0/+22
2015-12-03Make a new release with 64bit client fixes0.0.9Holger Hans Peter Freyther1-0/+6
2015-12-03client: Deal with external representation for pcap filesHolger Hans Peter Freyther2-3/+18
We need to convert the 64bit timeval on a 64bit userspace (or on OpenBSD) into a 32bit truncated value for being able to write the file. This means we have 2038 issue here?
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