Menu

#4 Configurable ring buffer memory (-B option)

0.2
closed-fixed
Aex Aey
None
5
2012-04-18
2012-04-17
Anonymous
No

Hi!

Here is a patch that implements ring buffer memory option, this is, one can specify max ammount of RAM that can be used for capturing (-B command line option, like in tcpdump or tshark). As I am capturing sometimes 1500 - 2000 SIP+RTP sessions, I needed to increase this limit to 1 - 2 GiB to avoid packets dropped by the kernel. Normally, for libpcap 1.0 this limit is only 10 MiB.

Please find the patch attached (patch created using pcapsipdump SVN Rev. 41 trunk, should apply cleanly over this version). Also, I have modified the RedHat init script so it avoids the creation of 2 pcapsipdump instances.

Changes inspired by VoIP monitor (voipmonitor.org) open source package.

Nice software, keep going!

P.S. Dear admin, please delete the identical post in "Features requests", as I posted it there by mistake

Discussion

  • Nobody/Anonymous

    Patch that implements ringbuffer commandline option

     
  • Aex Aey

    Aex Aey - 2012-04-18
    • assigned_to: nobody --> aexaey
    • milestone: --> 0.2
    • status: open --> closed-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.