LinuxQuestions.org
Review your favorite Linux distribution.
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 11-06-2004, 02:43 AM   #1
linuxspartan
LQ Newbie
 
Registered: Nov 2004
Location: India
Distribution: mandrake 10
Posts: 4

Rep: Reputation: 0
UDP packets dont seem to go out!


I have a HP Proliant server with an NetXtreme BCM 5702 Gigabit Ethernet Adaptor. The machine is running Redhat Linux ES with kernel 2.4.21. On this machine is a program which sends out a broadcast every 20 seconds. For some wierd reason, the data is not getting to the network. I can see it on the local machine but not on any other client. Ethereal couldnt see it. Am i missing something?
 
Old 11-06-2004, 11:30 AM   #2
scottman
Member
 
Registered: Jul 2004
Location: USA
Distribution: Slackware, FreeBSD, LFS
Posts: 72

Rep: Reputation: 15
It may be your firewall is dropping them. Are you able to use any other
UDP services? DNS usually uses UDP, so if your web is working that's
a yes. You may want to try to add an iptables rule to test if it's your firewall.
There's a variety of rules you could use. You could use a rule specifying
whatever broadcast address your using. This rule assumes its 192.168.0.255

#iptables -I OUTPUT 1 -d 192.168.0.255 -j ACCEPT

Or you could use a rule to allow that program to communicate however it wants.
I don't know the name of your program, but here is an example using traceroute.

#iptables -I OUTPUT 1 -m owner --cmd-owner traceroute -j ACCEPT

If any rules like that allow you to see this traffic elsewhere on the network, or
through ethereal, go ahead and add them to your startup firewall. You may
want to add INPUT rules to allow any needed traffic coming in as well.
 
Old 11-06-2004, 10:55 PM   #3
linuxspartan
LQ Newbie
 
Registered: Nov 2004
Location: India
Distribution: mandrake 10
Posts: 4

Original Poster
Rep: Reputation: 0
iptables,ip6tables,firewall or ipsec are not enabled. all these services are disabled. Moreover, after the program is initialised, Nmap reveals none of the specified ports as open. How could that be!?

Last edited by linuxspartan; 11-07-2004 at 11:23 AM.
 
  


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
udp packets m00t00 Programming 1 11-04-2004 10:20 PM
encapsulating TCP packets in UDP packets... yoshi95 Programming 3 06-03-2004 03:53 PM
How to receive UDP and ICMP packets, by one UDP socket(PMTUD) myself_rajat Linux - Networking 0 05-28-2004 06:43 AM
Only receiving UDP packets, no TCP erevlehdeux Linux - Networking 1 04-23-2004 08:36 PM
UDP packets going nowhere jylhar Programming 0 01-05-2004 06:46 AM


All times are GMT -5. The time now is 03:17 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration