Re: destination unreachables with raw sockets and a bind

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

> so you're telling me that you have instructed ping to bind to a specific 
> address, and that you've received some destination unreachable ICMP 
> messages from a different machine, and you're seeing them?

Lots of them. :-)

Moreover, your example also works:

root@mops:/var/tmp # ./a.out
got something on the bound socket
got something on the unbound socket

Well, if you really expect to get this something. :-)


Moreover, the "fix" which you make cannot affect behaviour of your program
at all, you can look inside raw_err() to be sure that it is exact noop in your
case.

Alexey
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux