[SOLVED] Firewalld and IPSets
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2008
    Location
    Piispanristi, Finland
    Posts
    6
    Linux (Fedora) Firefox 64.0

    Question Firewalld and IPSets

    I was tweaking sshguard + firewalld and noticed an interesting listing issue with ipsets.

    sshguard has reported in it's system logging that it has blocked some IP's, so I wanted to see how many there are now blocked:
    Code:
    [root@fs ~]# firewall-cmd --permanent --ipset=sshguard4 --get-entries
    
    [root@fs ~]# firewall-cmd --permanent --info-ipset=sshguard4
    sshguard4
      type: hash:net
      options: family=inet
      entries:
    That lists zero entries even there should be the following IP's:
    Code:
    [root@fs ~]# cat /etc/sshguard.blocked 
    1547244307|100|4|103.99.0.77
    1547298538|100|4|141.105.64.201
    1547305085|100|4|180.76.98.239
    The entries are there however:
    Code:
    [root@fs ~]# firewall-cmd --ipset=sshguard4 --query-entry=180.76.98.239/32
    yes
    [root@fs ~]# firewall-cmd --ipset=sshguard4 --query-entry=141.105.64.201/32
    yes
    [root@fs ~]# firewall-cmd --ipset=sshguard4 --query-entry=103.99.0.77/32
    yes
    So, what's wrong with this picture? A bug in Fedora 29 firewalld?

  2. #2
    Join Date
    Jul 2008
    Location
    Piispanristi, Finland
    Posts
    6
    Linux (Fedora) Firefox 64.0

    Re: Firewalld and IPSets

    My bad Permanent vs active.

Similar Threads

  1. firewallD and loopback
    By piprog in forum Servers & Networking
    Replies: 1
    Last Post: 10th October 2014, 07:25 PM
  2. Firewalld and ICMP?
    By jmccl in forum Servers & Networking
    Replies: 1
    Last Post: 22nd July 2014, 10:55 AM
  3. firewalld
    By glennzo in forum Servers & Networking
    Replies: 10
    Last Post: 4th May 2014, 02:06 PM
  4. Firewalld
    By MilenKid in forum Servers & Networking
    Replies: 4
    Last Post: 21st April 2013, 05:35 AM
  5. FirewallD
    By Evil-I in forum Using Fedora
    Replies: 25
    Last Post: 12th October 2012, 01:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •