Ubuntu Application dropping broadcasted UDP packets

2012-04-22  Source: Original Site  Category:Ubuntu  Views:0 

Advertisement

I'm running a simple application that listens for UDP broadcasted packets on a given port. My Ubuntu machine has the following network settings:

IP address = 192.168.1.17
Gateway = 192.168.1.1
Netmask = 255.255.255.0
Broadcast = 192.168.1.255

The application is correctly reading all datagrams sent to these broadcast addresses:

255.255.255.255
192.168.1.255

but it's dropping all packets sent to

192.255.255.255

(All these packets are sent by third-party applications)

Some people has told me that this is the correct behaviour of any Linux system but then, a friend says that on his Fedora machine the same app doesn't drop any packet.

Is there any parameter that I could modify in order to accept packets broadcasted to 192.255.255.255?

Related articles
  • Ubuntu Application dropping broadcasted UDP packets 2012-04-22

    I'm running a simple application that listens for UDP broadcasted packets on a given port. My Ubuntu machine has the following network settings: IP address = 192.168.1.17 Gateway = 192.168.1.1 Netmask = 255.255.255.0 Broadcast = 192.168.1.255 The app

  • Ubuntu Large amount of UDP packets dropped by kernel. 2013-09-23

    I wonder is anyone can help me? We are running VoIP services using Freeswitch on Ubuntu 10.04 server x64. Each server is not particularly busy (~25 concurrent session at peak) and in most scenarios we don't even process media, so we can assume only a

  • Director broadcasting UDP packets to our network 2014-04-20

    Our firewall has dectected UDP packets being broadcasted from several servers on our network that are monitored with IBM Director. They are trying to send these packets to 169.254.170.97. We believe these are being sent from SLP UDP 427. Any assistan

  • Urgent Help!!! Broadcasting UDP packets using SDK sockets 2014-12-20

    I am using SDK sockets to broadcast UDP frames. I have set the socket option with SO_BROADCAST to enable the socket in broadcast mode. The following is the code listing which starts from the formation of the destination address: destAddr.sin_family =

  • Ubuntu Applications drop down blinks, and dosent work!! 2013-01-25

    In the gnome menu on the gnome panel that has, "applications", "places", and "system" it the applications drop down when clicked, drops down but flashes or blinks and i cant click on any of the categories in applications to select an application to l

  • Ubuntu 'Applications' drop-down menu has disappeared! 2013-08-24

    Hello The 'Applications' drop-down menu has disappeared! 'Places' and 'System' are still intact. I don't know how it disappeared, but do I need to do to restore the drop down list?

  • Ubuntu Applications drop down 2014-03-04

    Apologies if I've missed this in another thread, but something's broken in the applications drop-down list from the Applications launcher. See my screenshot. I'm sure it used to work, but doesn't now. If I were to click on the "Graphics" item where t

  • Ubuntu python building specific udp packet 2014-03-03

    I am familiar with the basic socket functions in Python (sending data over TCP, UDP, etc.), however, I have a C program that's expecting data in a certain format: an integer value in 2 bytes and an integer value in an 8 byte amount of space How can I

  • C: How to tell whether kernel is dropping UDP packets (or size of used recv buffer)? 2015-04-11

    I have an application that is receiving UDP (datagram) packets. I have a socket and have specified some (512K) size for its receive buffer. I am receiving the packets at some rate, but I want to know whether I am catching up or not. Hence, I would li

  • Broadcast UDP question 2014-07-30

    I have a scenario where I wish to send and receive broadcast UDP packets to and from an embedded piece of hardware. The embedded hardware listens for a certain broadcast UDP packet (on port 46051), and responds with a single broadcast UDP packet (to

  • Ubuntu UDP Packet Loss for VoIP 2012-12-29

    A long time ago my VoIP PBX Asterisk stopped working with my SIP supplier properly, I thought this was an issue with them, or the software, not the OS as it was working perfectly with my internal SIP ATAs and had been working perfectly before. I inst

  • Dropped UDP Packets 2013-04-24

    I'm facing problems with dropped UDP packets. My application has incoming UDP traffic and outgoing TCP traffic. The UDP traffic throughput is ~200Mbps and the TCP is ~150Mbps. It looks like the packets are dropped on the switch. Does it sound reasona

  • Udp packets dropped while sending in RHEL4 2013-02-01

    I have a RHEL 4.6 linux server. The kernel is 2.6.9-67.ELsmp. I have a program which creates "n" threads. Each thread sends 160 bytes of data after every 20 msecs through udp sockets to some other server where the data is taken off the socket at the

  • Ubuntu "unable to send broadcast slp packet" 2013-12-25

    I'm still using Ubuntu 6.06. I've set up an hp deskjet d4260 printer on a networked windows machine, replacing a previous printer now broken. The machines are only networked for printing purposes - via a D-link router. The driver for 4200 series prin

  • Ubuntu Problem with UDP packets ( simple nc test ) 2014-02-17

    Imagine two computers. "a" runs Ubuntu 10.04 and "b" runs Ubuntu 8.04. Computer a is running "nc 5000 -u -l". Computer b runs "nc 192.168.1.5 5000 -u". I enter text into computer b, when I hit enter I should see it on computer a. For some reason I am

  • JAVA - Problem reciving UDP Packets on Ubuntu 2015-05-31

    i made a simple code to test a program that i was doing. The code is here: . . . public static final byte precond[] = {(byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF}; public static final byte aftercond[] = {(byte) 0x0a,(byte) 0x00}; String msg =

  • Ubuntu blocking UDP packet 2013-01-04

    I want to deny a particular malicious UDP packet. I can readily identify this packet from the rest by looking at the data section, where data offset 2 is 0xaa, data[5] is 0xbb, etc. Are there any tools or code samples that can do this? Basically, ins

  • Ubuntu A way to determine the number of UDP packets received? 2013-02-05

    Greetings, I would like to monitor the number of UDP packets received by a server, since data is transmitted to us in that fashion. My plan is to use nagios to monitor the results, but first I need to be able to get the data. Utilities like IPtraf sh

  • Ubuntu how to drop n/w packets using c-language..plz help me.. 2013-06-08

    im very much troubled with the dropping of the packet.actually im doing a content filter project in c-language,which involves dropping of the packets which are unwanted or blocked by user. plz help me in doing that..any help is acceptable..

  • Ubuntu only first of UDP broadcast clients receives data 2014-02-19

    I'm trying some examples of broadcast UDP sockets using the Qt library. For some reason, only the first cliend to bind to a port receives the data. What can the problem be? Thank you in advance. ___ I've moved this question to the Network forum. Sorr