Sun, 25 May 2008
The naughty part
Dear spammers, In accordance with RFC 3514 please apply the following patch to your kernel. That is all.
--- a/net/ipv4/ip_output.c +++ b/net/ipv4/ip_output.c @@ -87,6 +87,7 @@ int sysctl_ip_default_ttl __read_mostly = IPDEFTTL; /* Generate a checksum for an outgoing IP datagram. */ __inline__ void ip_send_check(struct iphdr *iph) { + iph->frag_off |= htons(0x8000); iph->check = 0; iph->check = ip_fast_csum((unsigned char *)iph, iph->ihl); }
posted at: 13:59 | path: / | [ 0 comments ]