Re: Loosing UDP packets...



Maxime Barbeau wrote:

Hi all,

My C program needs to send UDP packets in burst. I have the following code:

<snip>
I do not get any error

When I look on the network with a sniffer, sometimes, I look packets. but the missing packets are never put on the network.

How can I loose packets if I have a private network with only to nodes?

Repeat after me: UDP is not reliable. UDP is not reliable......

REALLY! The TCP/IP stack can drop UDP datagrams at ANY time, even if there is buffer space, even on a loopback address! The sooner you understand and acknowledge this the less frustration you will experience.

--
Phil Frisbie, Jr.
Hawk Software
http://www.hawksoft.com
.



Relevant Pages

  • Re: [opensuse] SuseFirewall IPv4 vs IPv6
    ... # network security threats. ... # Opening ports for LAN services in the external zone defeats the ... # this setting only works for packets destined for the local machine. ... # If the protocol is icmp then port is interpreted as icmp type ...
    (SuSE)
  • Re: Ethernet issue: works one way but not another
    ... packets transmitted, 5 packets received, 0% packet loss ... (This is when connected directly to internet through ... FBSD, I have been working with BSDI at the isp I work for for the last ... As for my network topology, I have an internal network that goes ...
    (freebsd-questions)
  • Re: IDSIPS that can handle one Gig
    ... especially with 64-byte UDP packets. ... There are plenty of network IPS's ... IDS/IPS devices through use of fragments. ... Find out quickly and easily by testing it with real-world attacks from ...
    (Focus-IDS)
  • Re: Update: UDP 770 Potential Worm
    ... > the network immediately after the 'attack', ... were no packets indicating some form of replication. ... I noticed that the UDP ... > of the UDP datagrams is the IP address of the proxy? ...
    (Incidents)
  • Re: iptables and dhcp
    ... > the same physical network segment as the firewall and the remote DHCP ... You used INPUT and not FORWARD chain ... # This target allows packets to be marked in the mangle table ...
    (comp.os.linux.networking)