Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: per j <perj8@hotmail.com>
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, 3 Mar 2003 19:49:45 -0500	[thread overview]
Message-ID: <20030304004945.GQ2721@ns.snowman.net> (raw)
In-Reply-To: <F1167IjdMZNs8cqeI3F0000bd9c@hotmail.com>

[-- Attachment #1: Type: text/plain, Size: 593 bytes --]

* per j (perj8@hotmail.com) wrote:
> >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.

Oh, right, good point, thanks.

	Stephen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-03-04  0:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-03 22:14 ipt_recent 0.3.0 --rttl still doesn't work (I made a patch instead, can't wait) per j
2003-03-04  0:49 ` Stephen Frost [this message]
  -- 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=20030304004945.GQ2721@ns.snowman.net \
    --to=sfrost@snowman.net \
    --cc=ipt_recent@snowman.net \
    --cc=netfilter@lists.netfilter.org \
    --cc=perj8@hotmail.com \
    /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