http://bugzilla.spamassassin.org/show_bug.cgi?id=4260
------- Additional Comments From [EMAIL PROTECTED] 2005-04-26 18:54 ------- Daniel, wraparound certainly is possible in masscheck. 16 bits is 65K packets. The message used in t/dnsbl.t by itself generates 52 DNS queries. Theo's mass check log that he posted showed something like 22,000 messages, which is about 1,100,000 DNS queries. The initialization of the DNS ID counter was supposed to spread small variations in the pid by shifting the bits up. So much for home brewed seat of the pants hash functions :-). I suppose we could be better off just using srand the way Net::DNS does. But actually, if we just use a different port for each message by calling DnsResolver->connect_sock then there is nothing wrong with the counter that Net::DNS maintains. We could remove all the code that maintains our own counter and all should work. ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
