[asterisk-bugs] [DAHDI-linux 0016831]: [patch] adding ss7 pcap support to dahdi

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Nov 19 11:34:38 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16831 
====================================================================== 
Reported By:                tsearle
Assigned To:                rmeyerriecks
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   16831
Category:                   NewFeature
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
JIRA:                       DAHDI-730 
Reviewboard Link:            
====================================================================== 
Date Submitted:             2010-02-15 16:20 CST
Last Modified:              2010-11-19 11:34 CST
====================================================================== 
Summary:                    [patch] adding ss7 pcap support to dahdi
Description: 
as per the thread on the libss7 mailing list

1. changes to the dahdi driver to add ioctls to mirror reads/writes
from a signaling channel to a pseudo channel
2. a corresponding user app to set up the mirroring and record the
traffic in a pcap

This seems to work though I'm not sure if it's the best solution
design-wise.
I might be abusing the pseudo channel concept.

to compile the app do the following
gcc dahdi_pcap.c -o dahdi_pcap -lpcap

and the syntax to run it is
./dahdi_pcap chan1  [chan2]* pcap.pcap

e.g.
./dahdi_pcap 16 47 test.pcap
====================================================================== 

---------------------------------------------------------------------- 
 (0128992) svnbot (reporter) - 2010-11-19 11:34
 https://issues.asterisk.org/view.php?id=16831#c128992 
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 9493

U   linux/trunk/drivers/dahdi/dahdi-base.c
U   linux/trunk/include/dahdi/dahdi_config.h

------------------------------------------------------------------------
r9493 | rmeyerriecks | 2010-11-19 11:34:36 -0600 (Fri, 19 Nov 2010) | 8
lines

dahdi: Stops junk data from overwriting the dahdi_mirror pseudo chans

(issue https://issues.asterisk.org/view.php?id=16831)
Reported by: tsearle
Patches:
      dahdi_mirror2.patch uploaded by tsearle (license 373)
Signed-off-by: Russ Meyerriecks <rmeyerriecks at digium.com>
Acked-by: Shaun Ruffell <sruffell at digium.com>
------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=9493 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-11-19 11:34 svnbot         Checkin                                      
2010-11-19 11:34 svnbot         Note Added: 0128992                          
======================================================================




More information about the asterisk-bugs mailing list