Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Buddy wu <ejournal4me@gmail.com>
To: Rob Sterenborg <rob@sterenborg.info>
Cc: netfilter@lists.netfilter.org
Subject: Re: why can't use connlimit ??
Date: Fri, 28 Oct 2005 18:23:21 +0800	[thread overview]
Message-ID: <43a0cdcb0510280323m62d85108l@mail.gmail.com> (raw)
In-Reply-To: <50262.193.173.147.3.1130490146.squirrel@webmail.sterenborg.info>

>
> What if you try with the latest POM and kernel (20051027 and 2.6.14
> resp.) ?
>
> I'm not a programmer so if this won't work, I don't know. I also find
> it strange that you do have a .so, but not a .ko file.
>
>
> Gr,
> Rob

Thanks anyway.
I will try it, but i Don't think it can be work. Justnow I have read
an article, It paste parts of the source, but i found it is diffrent
with that in my machine. I don't know which is the 'right'. but that's
code not the latest, it maybe may or jul's.

here's the code of him
  if (0 == memcmp(&conn->tuple,&tuple,sizeof(tuple)) &&
    found != NULL && (found_ct = tuplehash_to_ctrack(found)) != NULL &&
    found_ct->proto.tcp.state != TCP_CONNTRACK_TIME_WAIT) {

anzhen then is in my machine
  if (0 == memcmp(&conn->tuple,&tuple,sizeof(tuple)) &&
    found != NULL &&
    found->proto.tcp.state != TCP_CONNTRACK_TIME_WAIT) {

you can found the diffrent with them. I think it is big. but I don't
know which will be right.
And He said he's code was not right too, should be modify to these:
  if (found != NULL && (found_ct = tuplehash_to_ctrack(found)) != NULL &&
    0 == memcmp(&conn->tuple,&tuple,sizeof(tuple)) &&
    found_ct->proto.tcp.state != TCP_CONNTRACK_TIME_WAIT) {
or else it will be let the linux crazy, and the errors were (
<0>Kernel panic - not syncing: Fatal exception in interrupt)  ^_^


  reply	other threads:[~2005-10-28 10:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-28  6:19 why can't use connlimit ?? Buddy wu
2005-10-28  7:13 ` Rob Sterenborg
2005-10-28  7:27   ` Buddy wu
2005-10-28  7:45     ` Rob Sterenborg
2005-10-28  7:51       ` Buddy wu
2005-10-28  9:02         ` Rob Sterenborg
2005-10-28 10:23           ` Buddy wu [this message]
2005-10-28 16:33           ` /dev/rob0
2005-10-28 17:15             ` Rob Sterenborg
2005-10-29  4:06               ` Buddy wu
2005-10-29 16:57                 ` Jozsef Kadlecsik
2005-10-29  4:00             ` Buddy wu
2005-10-29  8:11               ` Rob Sterenborg
2005-10-31  1:49                 ` Buddy wu

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=43a0cdcb0510280323m62d85108l@mail.gmail.com \
    --to=ejournal4me@gmail.com \
    --cc=netfilter@lists.netfilter.org \
    --cc=rob@sterenborg.info \
    /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