xpandit
asked on
Using TCPdump and Wireshark to pipe data to Voip monitor.
Hi,
I am trying to pipe data to voipmonitor on a CentOS Linux server. Essentially packets are sniffed on a Windows machine with rpcapd. I have used the following guide to configure this.
http://www.voipmonitor.org/doc/Windows_rpcapd
I then run the following command on CentOS.
/usr/src/tcpdump-4.0.0/tcp dump -q -s0 -U -n -i rpcap://10.255.255.12/\\De vice\\NPF_ {F910A938- 3321-4ADD- 80B2-9AA43 B57B336} -w- | /usr/src/voipmonitor-amd64 -22.6.1-st atic/usr/l ocal/sbin/ voipmonito r -r /dev/stdin --config-file=/etc/voipmon itor.conf
I would like to run the above as a service? How can I do that? Or better yet, how can the voipmonitor service just pick up the data retrieved with tcpdump?
I have tried adding the command above to rc.local so its executed at startup but it only works for 10 minutes before something goes wrong.
I am trying to pipe data to voipmonitor on a CentOS Linux server. Essentially packets are sniffed on a Windows machine with rpcapd. I have used the following guide to configure this.
http://www.voipmonitor.org/doc/Windows_rpcapd
I then run the following command on CentOS.
/usr/src/tcpdump-4.0.0/tcp
I would like to run the above as a service? How can I do that? Or better yet, how can the voipmonitor service just pick up the data retrieved with tcpdump?
I have tried adding the command above to rc.local so its executed at startup but it only works for 10 minutes before something goes wrong.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Gave up
The other option is to have the centos box as a transparent "proxy/bridge that will see every packet passing to and from this Windows system, though with this setup the risk if the centos box fails .....
Check the app VoIP monitor which shoukd include best/optimal setup to achieve the intended result.