|
From: Fredrik L. <fre...@xz...> - 2014-03-21 08:59:09
|
Hi
Thanks again for your suggestion!
I finally found the problem, I hadn't set the vSwitch on the vmware server to accept promisc mode.
So if anyone else is considering to virtualize your setup, be sure to check the vSwitch :)
/Fredrik
From: Blue Blu [mailto:rd...@gm...]
Sent: den 19 mars 2014 19:02
To: Fredrik Lithén
Cc: ore...@li...
Subject: Re: [Oreka-user] Trying to migrate from Windows to Centos
Are you try to configure the interface in promisc mode? (ifconfig eth1 promisc), and if you want that the interface up in promisc mode after reboot you must modify this script adding some lines in /etc/rc.d/rc.local
ifup eth1
ifconfig eth1 promisc
Maybe these tips will help you, but personally this way it's work for me..
Cheers!
2014-03-19 4:24 GMT-03:00 Fredrik Lithén <fre...@xz...>:
Hi
My old Windows machine is starting to show it's age and I'm trying to migrate to CentOS, but can't seem to get my recordings to work. Any pointers would be greatly appreciated!
I'm using 2 network interfaces, where eth0 is configured with ipaddress etc and eth1, "the sniffer" looks like below.
DEVICE=eth1
HWADDR=00:0C:29:E5:08:3A
TYPE=Ethernet
UUID=53051ff3-2cd9-4bb7-a5a3-c754854338ee
NM_CONTROLLED=yes
BOOTPROTO=static
Orkaudio seems to be working OK
[root@recordoc ~]# ps aux | grep 'orkaudio'
root 1472 0.0 0.5 764176 9924 ? Ssl 17:57 0:00 /usr/sbin/orkaudio
root 1566 0.0 0.0 103244 856 pts/0 S+ 18:00 0:00 grep orkaudio
[root@recordoc ~]#
Eth1 seems to be open ok
2014-03-18 17:22:21,360 INFO root:110 - Loaded plugin: /usr/lib/libvoip.so
2014-03-18 17:22:21,364 INFO packet:4127 - Initializing VoIP plugin
2014-03-18 17:22:21,370 INFO packet:3940 - Available pcap devices:
2014-03-18 17:22:21,370 INFO packet:3947 - * eth0 -
2014-03-18 17:22:21,370 INFO packet:3947 - * nflog - Linux netfilter log (NFLOG) interface
2014-03-18 17:22:21,370 INFO packet:3947 - * nfqueue - Linux netfilter queue (NFQUEUE) interface
2014-03-18 17:22:21,370 INFO packet:3947 - * eth1 -
2014-03-18 17:22:21,370 INFO packet:3947 - * any - Pseudo-device that captures on all interfaces
2014-03-18 17:22:21,370 INFO packet:3947 - * lo -
2014-03-18 17:22:21,374 INFO packet:4017 - Successfully opened default device:eth1 pcap handle:2133360 message:
2014-03-18 17:22:21,374 INFO packet:3834 - Setting pcap socket buffer size:8388608 bytes ... success
My config.xml right now, I've tried with/without setting tomcat as fileowner etc but no change. Am I missing any critical setting?
<config>
<AudioOutputPath>/var/log/orkaudio/audio</AudioOutputPath>
<CapturePlugin>libvoip.so</CapturePlugin>
<CapturePluginPath>/usr/lib</CapturePluginPath>
<StorageAudioFormat>gsm</StorageAudioFormat>
<DeleteNativeFile>no</DeleteNativeFile>
<TrackerHostname>localhost</TrackerHostname>
<TrackerTcpPort>8080</TrackerTcpPort>
<TapeProcessors>BatchProcessing, TapeFileNaming</TapeProcessors>
<tapefilenaming>[year],-,[month],-,[day],_,[hour],-,[min],-,[sec],_,[shortdirection],_remote-,[remoteparty],_loc$
<BatchProcessingEnhancePriority>true</BatchProcessingEnhancePriority>
<VoIpPlugin>
<Devices>eth1</Devices>
</VoIpPlugin>
</config>
This is what I get in the log when I plug eth1 in (along with errors because I haven't installed orktrack/web yet but that's not mandatory or?):
2014-03-18 18:05:54,914 INFO rtpsessions:2913 - [XAHH] media address:224.0.0.252,5355 RawRtp callId: endpoint:224.0.0.252
2014-03-18 18:05:54,914 INFO rtpsession:1184 - [XAHH] 1st packet s1: 10.1.2.35,57116 224.0.0.252,5355 ssrc:0x0 seq:0 ts:65536 len:10 type:4 ats:1395162354
2014-03-18 18:05:54,914 INFO rtpsession:1445 - [XAHH] new RTP stream: 10.1.2.35,57116 224.0.0.252,5355 ssrc:0x0 seq:0 ts:65536 len:10 type:4 ats:1395162354
2014-03-18 18:05:54,914 INFO rtpsessions:3693 - [XAHH] created by RTP packet
2014-03-18 18:06:03,002 INFO pcapstats:4171 - handle:1327de0 received:2292 dropped:0
2014-03-18 18:06:03,002 INFO pcapstats:3322 - numPackets:344 maxPPS:36 minPPS:28
2014-03-18 18:06:10,052 INFO rtpsessions:3942 - [XAHH] 224.0.0.252,5355 Expired (RTP) ts:1395162354
2014-03-18 18:06:10,052 INFO rtpsession:101 - [XAHH] XAHH Session stop, numRtpPkts:1 dupl:1 seqDelta:0 rtpNumMissingPkts:0 rtpNumSeqGaps:0 lastUpdated:1395162354
No files are created or saved
I know there is "legit" traffic on the interface, because it's the same interface as my old setup records from without problems.
Can anyone see where the problem is?
TIA
Fredrik
----------
Xzakt Kundrelation AB
Fredrik Lithén
Tfn: +46 910 71 60 00 Fax: +46 910 71 60 99
Dir: +46 (0)910 716012 Email: fre...@xz...
Adress Marknadskontor: Väpnargatan, 114 51 Stockholm
Adress Produktionsenhet: Lagergatan 1, 931 36 Skellefteå
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Oreka-user mailing list
Ore...@li...
https://lists.sourceforge.net/lists/listinfo/oreka-user
--
Us and them (S)
|