* blocking IPs by file
@ 2005-09-01 22:45 Thomas Raef
2005-09-01 23:35 ` /dev/rob0
2005-09-01 23:59 ` curby .
0 siblings, 2 replies; 4+ messages in thread
From: Thomas Raef @ 2005-09-01 22:45 UTC (permalink / raw)
To: netfilter
What's the best way to block a list of IP addresses from a text file?
I've been looking into using a script and ipset. Is this the best way.
I'd like to update the text file with new IP addresses as easy as
possible
Thank you in advance.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: blocking IPs by file
2005-09-01 22:45 blocking IPs by file Thomas Raef
@ 2005-09-01 23:35 ` /dev/rob0
2005-09-01 23:59 ` curby .
1 sibling, 0 replies; 4+ messages in thread
From: /dev/rob0 @ 2005-09-01 23:35 UTC (permalink / raw)
To: netfilter
On Thursday 2005-September-01 17:45, Thomas Raef wrote:
> What's the best way to block a list of IP addresses from a text file?
There was a very similar thread two days ago: "macro & iptables". But
no, iptables won't read your text file on its own. You will have to run
your script when you make changes.
--
mail to this address is discarded unless "/dev/rob0"
or "not-spam" is in Subject: header
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: blocking IPs by file
2005-09-01 22:45 blocking IPs by file Thomas Raef
2005-09-01 23:35 ` /dev/rob0
@ 2005-09-01 23:59 ` curby .
1 sibling, 0 replies; 4+ messages in thread
From: curby . @ 2005-09-01 23:59 UTC (permalink / raw)
To: Thomas Raef; +Cc: netfilter
On 9/1/05, Thomas Raef <traef06@ebasedsecurity.com> wrote:
> What's the best way to block a list of IP addresses from a text file?
I'm not sure if you're looking for an existing solution or want to
script your own. If you want to make one, it's good to use a custom
chain because then you can easily add to it without reloading the
entire firewall or taking pains to find out where in the list of rules
you need to insert.
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: blocking IPs by file
@ 2005-09-02 0:01 Thomas Raef
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Raef @ 2005-09-02 0:01 UTC (permalink / raw)
To: curby .; +Cc: netfilter
I'm just looking for something that's considered the "best way".
Thank you for the comment about using a custom chain. That makes sense.
-----Original Message-----
From: curby . [mailto:curby.public@gmail.com]
Sent: Thursday, September 01, 2005 7:00 PM
To: Thomas Raef
Cc: netfilter@lists.netfilter.org
Subject: Re: blocking IPs by file
On 9/1/05, Thomas Raef <traef06@ebasedsecurity.com> wrote:
> What's the best way to block a list of IP addresses from a text file?
I'm not sure if you're looking for an existing solution or want to
script your own. If you want to make one, it's good to use a custom
chain because then you can easily add to it without reloading the
entire firewall or taking pains to find out where in the list of rules
you need to insert.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-09-02 0:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-01 22:45 blocking IPs by file Thomas Raef
2005-09-01 23:35 ` /dev/rob0
2005-09-01 23:59 ` curby .
-- strict thread matches above, loose matches on Subject: below --
2005-09-02 0:01 Thomas Raef
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox