LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-30-2007, 06:49 PM   #1
zeebu
LQ Newbie
 
Registered: May 2007
Posts: 5

Rep: Reputation: 0
kernel and multicast udp traffic


hi guys,

i've got two hosts with different hardware specs where i'm trying to run a given app (Vulture). There's nothing i can do about the hardware, but, as a result, we've had to use slightly different builds (builds are specified by our internal unix engineering team, but they're based on 2.4.21-47.0.1.ELsmp).

Vulture is nothing more than a glorified multicast UDP listener. It works fine on host A, but not on host B. My observations follow:

host A: no issues
host B: fails to pick up even a single packet. however, running tcpdump shows exactly the same traffic flowing into this host as soon as i start up Vulture as what host A is picking up. netstat -gn shows that the correct interface is being used to join the multicast group, and /var/log/messages assures me that everything is at 100/FD. So, to my (i guess untrained?) eye, it looks as though the interface is getting the data, but the kernel is somehow stopping Vulture from seeing any of the data. i've removed ip_tables, and can't really think of what else to do (the only IP related software installed is apparently iputils-20020927-11.30.5 and iproute-2.4.7-11.30E.1)

any help would be greatly appreciated

thanks

Z
 
Old 05-31-2007, 01:39 PM   #2
FMC
Member
 
Registered: May 2007
Location: São Paulo
Distribution: Gentoo & Debian
Posts: 97

Rep: Reputation: 15
Try to check if the app is realy listening the port, example:

Code:
# fuser -v 53/udp

                     USER        PID ACCESS COMMAND
53/udp:              root      10862 F.... named
You can try strace to debug the app, but its something not so easy to do!

Post the result here after, then I can try to help you more!

[]´s, FMC!
 
Old 06-01-2007, 12:04 AM   #3
zeebu
LQ Newbie
 
Registered: May 2007
Posts: 5

Original Poster
Rep: Reputation: 0
hi, thanks FMC,

as i explained, this app is already working fine on another machine, but, just for the sake of it, here's the fuser output:

/sbin/fuser -v 18891/udp

USER PID ACCESS COMMAND
18891/udp astjplo 17802 f.... Vulture


and here's some of the packets that tcpdump is picking up:

14:03:44.305357 10.6.61.66.18891 > 239.192.3.1.18891: udp 823 [tos 0x68]
14:03:44.305663 10.6.61.66.18891 > 239.192.3.1.18891: udp 477 [tos 0x68]
14:03:44.305682 10.6.61.66.18891 > 239.192.3.1.18891: udp 137 [tos 0x68]

thanks for your help... NB: strace just throws the socket thread waiting for data to come in

any ideas??
 
Old 06-01-2007, 11:24 AM   #4
FMC
Member
 
Registered: May 2007
Location: São Paulo
Distribution: Gentoo & Debian
Posts: 97

Rep: Reputation: 15
Quote:
Originally Posted by zeebu
14:03:44.305357 10.6.61.66.18891 > 239.192.3.1.18891: udp 823 [tos 0x68]
14:03:44.305663 10.6.61.66.18891 > 239.192.3.1.18891: udp 477 [tos 0x68]
14:03:44.305682 10.6.61.66.18891 > 239.192.3.1.18891: udp 137 [tos 0x68]
The machine that the app do not work is 10.6.61.66 or 239.192.3.1??

It looks like the udp traffic is outgoing and not incomming, am I right?

You said that the app is a UDP multcast LISTENER, so, there is nothing to listen if the packages are just outgoing! lol

[]´s, FMC!
 
Old 06-02-2007, 02:27 AM   #5
zeebu
LQ Newbie
 
Registered: May 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by FMC
The machine that the app do not work is 10.6.61.66 or 239.192.3.1??

It looks like the udp traffic is outgoing and not incomming, am I right?

You said that the app is a UDP multcast LISTENER, so, there is nothing to listen if the packages are just outgoing! lol

[]´s, FMC!
no no no!

i'm not that stupid!

10.6.61.66 is the udp publisher (another machine)
239.192.3.1 is the udp address to which the publisher is sending messages (on port 18891)

my app is a LISTENER running on a host with a completely different IP address

trust me, the problem is with the kernel not passing on the messages to applications (since tcpdump reads the data straight off the interface without going through the kernel)

thanks!
 
Old 06-02-2007, 09:22 AM   #6
FMC
Member
 
Registered: May 2007
Location: São Paulo
Distribution: Gentoo & Debian
Posts: 97

Rep: Reputation: 15
Well, this version of the kernel is realy old for me, usualy I have 2.6.x installed on my servers, that can be a problem.

As we have seen, the app is listening the port without problems, so, there is the possibility that the kernel is doing something wrong.

Flush all iptables rules, try another port and everything, but in this case I cant help you a lot!

[]'s, FMC!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange load oscillation receiving udp multicast nathan2225 Linux - Networking 0 03-28-2007 04:10 AM
what is multicast traffic? servnov Linux - Networking 1 12-21-2005 11:18 PM
PVR with udp multicast streams? Fredde87 Linux - Software 1 08-20-2005 06:30 PM
Linux and inbound UDP traffic Dwarflord Linux - Networking 4 04-16-2004 01:35 AM
multicast traffic from eth0 ?? zarniwoop Linux - Networking 5 04-02-2004 03:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration