From mboxrd@z Thu Jan 1 00:00:00 1970 From: "per j" Subject: Re: ipt_recent 0.3.0 --rttl still doesn't work (I made a patch instead, can't wait) Date: Mon, 03 Mar 2003 22:14:22 +0000 Sender: netfilter-admin@lists.netfilter.org Message-ID: Mime-Version: 1.0 Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; format=flowed; charset="us-ascii" Content-Transfer-Encoding: 7bit To: sfrost@snowman.net Cc: netfilter@lists.netfilter.org, ipt_recent@snowman.net >apparently. I believe that *should* read: >while(hash_table[hash_result] != -1 && >!(r_list[hash_table[hash_result]].addr == addr && > (!r_list[hash_table[hash_result]].ttl || >r_list[hash_table[hash_result]].ttl != ttl))) { > >Instead. Note that I also had to invert the ttl check, it should be >considered a collision when the ttl doesn't match and matching ttl has >been requested. > It's already inverted at '-1 && !(...)', so I'm using the original ttl check. _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus