Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "per j" <perj8@hotmail.com>
To: sfrost@snowman.net
Cc: netfilter@lists.netfilter.org, ipt_recent@snowman.net
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	[thread overview]
Message-ID: <F1167IjdMZNs8cqeI3F0000bd9c@hotmail.com> (raw)

>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



             reply	other threads:[~2003-03-03 22:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-03 22:14 per j [this message]
2003-03-04  0:49 ` ipt_recent 0.3.0 --rttl still doesn't work (I made a patch instead, can't wait) Stephen Frost
  -- strict thread matches above, loose matches on Subject: below --
2003-03-03 22:01 per j
2003-03-04  0:48 ` Stephen Frost
2003-03-03 13:20 per j
2003-03-03 16:24 ` Stephen Frost

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F1167IjdMZNs8cqeI3F0000bd9c@hotmail.com \
    --to=perj8@hotmail.com \
    --cc=ipt_recent@snowman.net \
    --cc=netfilter@lists.netfilter.org \
    --cc=sfrost@snowman.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox