The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Looking for maintainer(s) for fritzcap (Python project that captures calls from a Fritz!Box)

Posted by jpluimers on 2023/07/12

Given my health uncertainty, I am looking for maintainers for the fritzcap project (it captures calls from a Fritz!Box modem/router and is written in Python).

History

The fritzcap project was originally started in2007 by [Wayback/Archive] spongebob | IP Phone Forum, first as a binary fritzcap.exe Windows executable (see his first post at [Wayback/Archive] FritzBox: Tool für Etherreal Trace und Audiodaten-Extraktion | IP Phone Forum). In 2010 it became an open source Python project at [Wayback/Archive] Google Code Archive – Long-term storage for Google Code Project Hosting.

That year too both a pcap parser and G.711 codec support were added, so the capture file (the pcap format is compatible with Wireshark) can be decoded in caller/callee party .WAV files and merged into a single stereo WAV files (where both parties are correctly synchronised) in [Wayback/Archive] Fully functional initial version · jpluimers/fritzcap@6a44932.

There a version 2.0 was created by [Wayback/Archive] bor2tom | IP Phone Forum in thread [Wayback/Archive] fritzcap: Tool für Etherreal Trace und Audiodaten-Extraktion v2.0 | IP Phone Forum. Regrettably, bor2tom regrettably vanished from the forum in 2013, and spongebob did as well mid 2017. This query returns nothing meaningful: [Wayback/Archive] “bor2tom” – Google Search, so I could not further track down bor2com.

The main work by bor2com was adding call monitoring support (greatly reducing both capture file size and decoding times), way better separation of concerns (call monitor, capture monitor, capture worker, logging, string helper, sysinput reader), config file for fritzcap and logging, way better parameter parsing, tools for fixing failed WAV merges and malformed capture files, and improving multi-threading.

In 2015, there was a modified version at [Wayback/Archive] Internet traffic monitor – Raspberry Pi Forums that dig generic (including non-VoiP) capturing that I still want to research (if ever), and added scripts for starting/stopping it as a service so it could run unattended.

Over time, Google Code got closed in 2016. Before it went down, the project was rescued at [Wayback/Archive] elpatron68/fritzcap. However, elpatron68 did no maintenance. I forked it because I ran into some issues, but after my pull request went unanswered ([Wayback/Archive] Pull requests · elpatron68/fritzcap), went on continuing fixing my own fork:

  1. [Wayback/Archive] fritzcap: Tool für Etherreal Trace und Audiodaten-Extraktion v2.0 | Seite 15 | IP Phone Forum – #285

    I’ve tried finding if anyone is still maintaining fritzcap in a public repository, but couldn’t.

    I did find https://github.com/elpatron68/fritzcap which was an export of https://code.google.com/archive/p/fritzcap/ including the issues, but it has no further activity after march 2013.

    Since I bumped into a few things while getting it to work, I’ve forked it to https://github.com/jpluimers/fritzcap and registered some of my own issues to https://github.com/jpluimers/fritzcap/issues, fixed a few and posted one matching issue as a pull request to https://github.com/elpatron68/fritzcap/pulls to see if it gets merged.

    When not, I plan to keep my own repository for more fixes and keep the repository open for new issues and pull requests.

  2. [Wayback/Archive] [Info] – new fritzcap.py version 2.3 | IP Phone Forum – page 1 (I totally forgot I had started this thread) and [Wayback/Archive] [Info] – new fritzcap.py version 2.3 | Seite 2 | IP Phone Forum.

In 2017, this blog post [Wayback/Archive] fritzcap – VoIP-Telefongespräche mitschneiden und speichern leicht gemacht – Antary got quite some attraction, which was cool.

After that, I did some minimal modifications undoing tiny bits of the work bor2tom did (he broke the configurability of the Fritz!Box address), adding support for non-root Fritz!Box users, support for MacOS, logging of exceptions in all threads, logging for the common mistake that monitoring is enabled but capturing is not (and fix errors durig this combination), parameters for --show_interfaces and --cap_interface (so you can specify on which network interface to capture packets: ideal when the Fritz!Box is not configured as a router/modem, but as a switch), and a README.md document, the old Google Code project description as GoogleCode-README.md and a list of common Fritz!Box interfaces you can capture at fritzcap-interfaces-table.md.

Last year, in 2021, after all metastasised rectum cancer procedures were done and I hade a bit energy to go through backlogs, I put the project on hold.

This year, in 2022, I merged a pull-request for a regex fix, and asked for help.

Calls for help

My first call for help was in [Wayback/Archive] caller / dialled number · Issue #29 · jpluimers/fritzcap.

The second in Seeking contact (and new maintainers for fritzcap) · Issue #1 · J-Gras/fritz-capture.

The third in the forum: [Wayback/Archive] fritzcap: Tool für Etherreal Trace und Audiodaten-Extraktion v2.0 | Seite 24 | IP Phone Forum

Hopefully together with this blog post, some will take over maintenance.

Project links

Some notes

Some goals (these need to go into the issues):

–jeroen

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.