Hi, There was a bug http://bugzilla.kernel.org/show_bug.cgi?id=8747, "MSG_ERRQUEUE messages do not pass to connected raw sockets", which still is not fixed completely. I've made a patch (attached), against the 2.6.24.4 tree. The patch fixes the issue completely for me, I've successfully tested it with my traceroute(8) (http://traceroute.sf.net) implementation. Sorry that I have not checked up the previous attempt in real tests. I assumed that "typo" which I had found at that time (saddr/daddr swapped) is just "a typo", and things "obviously" should work then... Unfortunately, it seems that I am a first person who actually use MSG_ERRQUEUE on connected ipv6 raw sockets. It is a reason why all last years nobody reported this bug. Note, that "connected raw sockets" is a good feature for my traceroute(8) program, as it allows to filter all alien packets from the socket's input. Without this, I will receive all the incoming packets (i.e. all the icmp, or all the tcp and so on packets coming to my host). It seems to matter especially for tcp. Tcp tracerouting becomes most popular now, but on the heavily loaded hosts with big tcp traffic the unconnected raw tcp socket will receive all such a traffic, which I prefer to avoid. (I cannot decrease the number of packets, by specifying to receive just MSG_ERRQUEUE messages. Anyway, I have to receive a packet from the final destination, which is not an error packet -- icmp echoreply, or tcp syn+ack ). Regards, Dmitry Butskoy http://www.fedoraproject.org/wiki/DmitryButskoy
| Justin Piszcz | Linux Software RAID 5 Performance Optimizations: 2.6.19.1: (211MB/s read & 195... |
| Vu Pham | Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel |
| David P. Quigley | [RFC v3] Security Label Support for NFSv4 |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| YOSHIFUJI Hideaki / | [GIT PULL] [IPV6] COMPAT: Fix SSM applications on 64bit kernels. |
| Pavel Emelyanov | [PATCH][CAN]: Fix copy_from_user() results interpretation. |
| Krzysztof Halasa | Re: [PATCH v2] Re: WAN: new PPP code for generic HDLC |
| Roel Kluin | [PATCH 1] net: fix and typo's |
git: | |
| Peter Stahlir | Git as a filesystem |
| Miklos Vajna | [rfc] git submodules howto |
| Dan Zwell | $GIT_DIR usage |
| Wink Saville | Resolving conflicts |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Xavier Mertens | newfs: cg 0: bad magic number |
| Laurent CARON | IPSEC VPN between OpenBSD and Linux (OpenSwan) |
| Didier Wiroth | win32-codecs, avi and amd64 question |
| Netfilter kernel module | 8 hours ago | Linux kernel |
| serial driver xmit problem | 11 hours ago | Linux kernel |
| Why Windows is better than Linux | 11 hours ago | Linux general |
| How can I see my kernel messages in vt12? | 18 hours ago | Linux kernel |
| Grub | 1 day ago | Linux general |
| vmalloc_fault handling in x86_64 | 1 day ago | Linux kernel |
| epoll_wait()ing on epoll FD | 1 day ago | Linux kernel |
| Framebuffer in x86_64 causes problems to multiseat | 1 day ago | Linux kernel |
| Difference between 2.4 and 2.6 regarding thread creation | 1 day ago | Linux general |
| Compiling gfs2 on kernel 2.6.27 | 2 days ago | Linux kernel |
