Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Application not able to receive data.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Fri Sep 26, 2014 3:54 am    Post subject: [SOLVED] Application not able to receive data. Reply with quote

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
Back to top
View user's profile Send private message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Fri Sep 26, 2014 4:11 am    Post subject: Reply with quote

I was able to get this fixed.

Marking this ticket as SOLVED.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum