LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 06-27-2003, 07:25 AM   #1
BlackBear
LQ Newbie
 
Registered: Jun 2003
Posts: 1

Rep: Reputation: 0
Question Disabling multicast


Hey all,

This is my first post so hopefully this isn't too dumb of a question. My problem is this:

I am interfacing to an old system that broadcasts data via UDP on a fddi ring. I cannot change this fact, so I am stuck with it. I have code that runs on a HP that receives the data just fine (This is an old HP). I have moved over to the linux side of the house (Suse 8.1) and I run into the problem that I think the broadcast data is being filter out by the kernal (?) and I think it has to do with multicast...

Here is what I know: My fddi card is setup correctly (using a DEC DEPFA fddi card). If I do a tcpdump on the fddi card, I can see data coming from the desired port number. I can bind to the port number, but when I call select() I never return without a timeout. I have the addr set to INADDR_ANY and I have verified that I am on the correct port. So either I am missing a special socket option that will let the data through or the way the kernal deals with the UDP protocol has changed. The only thing that I can think of that would have changed with the UDP protocol and how it is handled is multicast. I have tried to reconfigure the kernal to disable multicast, but those efforts seem to have failed.

If you guys (and gals of course) have any insight onto how I can disable this multicast "filter" as I suspect, it would be greatly appreciated. Thanks in advance!
 
Old 06-27-2003, 09:53 AM   #2
Blindsight
Member
 
Registered: Mar 2003
Distribution: Slackware
Posts: 234

Rep: Reputation: 30
When all else fails, firewall it out. use iptables to disable all incoming/outgoing packets to Class D networks.
 
Old 06-27-2003, 12:17 PM   #3
MArgRes
Member
 
Registered: Jun 2003
Distribution: Fedora Core 2
Posts: 37

Rep: Reputation: 15
I don't know if you've tried this, but there are parameters that can be passed to the kernel at runtime which allow you to turn on/off different features, such as multicasting. One of them is /proc/sys/net/ipv4/conf/<your-interface>(such as eth0, etc.)/mc_forwarding. Some information on that is found here (do a find in your browser for the mc_forwarding) and here.

I don't know if that's what you're looking for, but there you go.
 
  


Reply



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
Can I Multicast? donbellioni Linux - Networking 1 09-16-2005 01:36 PM
Multicast forwarding cosher Linux - Networking 0 02-08-2005 04:39 PM
multicast WiWa Linux - Software 0 02-17-2004 04:27 PM
multicast det_funkar Linux - Networking 0 12-18-2002 03:04 AM
Multicast mistkhan Linux - Networking 0 06-12-2001 02:26 PM

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

All times are GMT -5. The time now is 03: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