Re: destination unreachables with raw sockets and a bind

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

 



	Hello,

Matthew Luckie wrote:

> compare the call to __raw_v4_lookup in icmp.c icmp_unreach() to that in
> raw.c raw_v4_input() to see what i mean.

	if you comapre iph->saddr and iph->daddr they should differ
because ICMP works with the embedded header which is reversed.

> patch is against linux-2.4.19

	I'm not sure your example works in 2.4. 2.4 has checks
to require embedded iphdr plus 8 bytes. But now when 2.2.23rc*
appear may be you can send fix for 2.2 to Alan Cox after fixing
your app and testing it.

	Alexey, can you confirm that 2.2 wants this fix

Regards

--
Julian Anastasov <ja@ssi.bg>

-
: 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