Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Fatih USTA <fatihusta86@gmail.com>
To: Patrick Greiff <Patrick7878@gmx.de>,
	Netfilter Users Mailing list <netfilter@vger.kernel.org>
Subject: Re: nftables
Date: Tue, 28 Apr 2020 11:45:38 +0300	[thread overview]
Message-ID: <19b20b79-a741-68fa-56da-0e0c16c6d08b@gmail.com> (raw)
In-Reply-To: <169e18be-82c8-47b7-2ca6-44e03c86eebd@gmx.de>

http://wiki.nftables.org/wiki-nftables/index.php/Scripting

I think you should follow this guide and I send to example link to below.

https://github.com/chr0mag/geoipsets


Fatih USTA

On 28.04.2020 11:33, Patrick Greiff wrote:
> hi many thanks i was looking for that :)
> have a few more questions. I am still a beginner in the field and so I
> just learn ^^.
> I created nft add set ip filter blackhole {type ipv4_addr \;} and
> introduced an ip. but where is this file located?
> nft add rule ip filter input ip saddr @blackhole drop do I have to add
> this to my main.conf? or in the standard nftables.conf.
>
> Am 28.04.2020 um 09:50 schrieb Fatih USTA:
>> Hi
>>
>> You can use sets in nftables like iptables ipset.
>>
>> http://wiki.nftables.org/wiki-nftables/index.php/Sets
>>
>>
>> Fatih USTA
>>
>> On 28.04.2020 10:38, Patrick Greiff wrote:
>>> Hi everyone,
>>> i have a question about nftables.
>>> at iptables i had a blacklist where i wrote in the ip that wanted to
>>> hack me.
>>> how can I integrate something into nftables? and also restart when the
>>> ips are updated.
>>>

  parent reply	other threads:[~2020-04-28  8:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-28  7:38 nftables Patrick Greiff
2020-04-28  7:50 ` nftables Fatih USTA
     [not found]   ` <169e18be-82c8-47b7-2ca6-44e03c86eebd@gmx.de>
2020-04-28  8:45     ` Fatih USTA [this message]
2020-04-30  3:52   ` nftables Trent W. Buck
  -- strict thread matches above, loose matches on Subject: below --
2011-05-05  7:24 nftables Juraj Gabčík
     [not found] <BANLkTikT_ETuEE2e7Khip9xJKFiDgBe7Qg@mail.gmail.com>
2011-04-29  9:33 ` Fwd: nftables Juraj Gabčík
2011-04-29 10:06   ` nftables Jan Engelhardt

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=19b20b79-a741-68fa-56da-0e0c16c6d08b@gmail.com \
    --to=fatihusta86@gmail.com \
    --cc=Patrick7878@gmx.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox