All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Joey" <Joey@Web56.net>
To: IPTables <netfilter@vger.kernel.org>
Subject: RE: netblock.py line 109
Date: Thu, 23 Oct 2008 02:21:34 -0400	[thread overview]
Message-ID: <004b01c934d7$98bd0ff0$ca372fd0$@net> (raw)
In-Reply-To: <OF0767CEE0.A50C3667-ON862574EA.007C7333-862574EA.007CB941@uscmail.uscourts.gov>

> -----Original Message-----
> From: Greg_Swift@aotx.uscourts.gov [mailto:Greg_Swift@aotx.uscourts.gov]
> Sent: Wednesday, October 22, 2008 6:42 PM
> To: Joey
> Subject: RE: netblock.py line 109
> 
> >
> > That was quick ;)
> > I didn't see this message right after the other.
> > Just an FYI it worked from an error perspective, but it didn't find
> > what block it came from when I searched several IP's.
> >
> > I put the file here http://web56.net/test.txt
> >
> > And I basically ran this:
> > ./netblock.py test.txt 58.180.27.3
> >
> > Line 27 contains the 58.180.0.0 ip block.
> >
> > Thanks!
> >
> 
> In that case here is an updated version of netblock.py that does all of
it,
> and i just tested it, it works.
> 
> -greg(See attached file: netblock.py)

Greg,

Thanks a million the script looks like it works!
The funny thing is I can't figure out where we are blocking 71.74.56.125
from, our log says were blocking it, but the CIDR IP's says no.
I did test several IP's from the blocks against your script and it worked
great!

Thanks again for taking your time to do this!

Joey



           reply	other threads:[~2008-10-23  6:21 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <OF0767CEE0.A50C3667-ON862574EA.007C7333-862574EA.007CB941@uscmail.uscourts.gov>]

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='004b01c934d7$98bd0ff0$ca372fd0$@net' \
    --to=joey@web56.net \
    --cc=netfilter@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.