manu_leo Guru
Joined: 20 Jan 2014 Posts: 513 Location: India
|
Posted: Fri Sep 26, 2014 3:54 am Post subject: [SOLVED] Application not able to receive data. |
|
|
Hi Experts,
I am running an application on Gentoo which is meant to get the data that is received on the interfaces. When I run tcpdump on the respective interface, I see data coming on it..
Quote: | 22:47:05.121235 IP 205.209.222.37.11028 > 224.0.26.62.11028: UDP, length 31
22:47:05.121258 IP 205.209.222.37.11028 > 224.0.26.62.11028: UDP, length 45
22:47:05.121286 IP 205.209.222.37.11028 > 224.0.26.62.11028: UDP, length 79
22:47:05.121310 IP 205.209.222.37.11028 > 224.0.26.62.11028: UDP, length 45
22:47:05.121331 IP 205.209.222.37.11028 > 224.0.26.62.11028: UDP, length 45
22:47:05.121352 IP 205.209.222.37.11028 > 224.0.26.62.11028: UDP, length 44
22:47:05.121399 IP 205.209.223.36.10005 > 224.0.26.5.10005: UDP, length 46
22:47:05.121716 IP 205.209.223.36.10005 > 224.0.26.5.10005: UDP, length 65 |
But I dont see it on my application. I think I need to make some changes with the sysctl.conf file which I tried. I tried to modify the settings with the rp.filter, but no success. This is what I have :-
[quote] Quote: | net.ipv4.ip_forward = 0
# Controls source route verification
net.ipv4.conf.default.rp_filter = 0
#net.ipv4.conf.all.rp_filter = 1
net.ipv4.conf.em3.rp_filter = 0
# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0
# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0
# Controls whether core dumps will append the PID to the core filename.
# Useful for debugging multi-threaded applications.
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
#net.ipv4.conf.em3.force_igmp_version = 2
# Disable netfilter on bridges.
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0
# Controls the default maxmimum size of a mesage queue
kernel.msgmnb = 65536
# Controls the maximum size of a message, in bytes
kernel.msgmax = 65536
# Controls the maximum shared segment size, in bytes
kernel.shmmax = 68719476736
# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 4294967296 |
In the application, I am listening on em3 interface on which I see the data coming in tcpdump .
Quote: | settings.networkInterfaceA = "em3";
settings.networkInterfaceB = "em3"; |
And I dont see any data coming to the application
Quote: | [7]: Warning [source=InstrumentFeedA, code=NoNetworkActivity, description=No data received during 30 seconds.]
[7]: Warning [source=InstrumentFeedGroup, code=NoNetworkActivity, description=No data received during 30 seconds.]
|
Appreciate all your help in advance.
Last edited by manu_leo on Fri Sep 26, 2014 4:11 am; edited 1 time in total |
|