Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] perfSONAR 4.0 RC2 Firewall defaults

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] perfSONAR 4.0 RC2 Firewall defaults


Chronological Thread 
  • From: Hyojoon Kim <>
  • To: Andrew Lake <>
  • Cc: Michael Petry <>, Szymon Trocha <>, perfsonar-user <>
  • Subject: Re: [perfsonar-user] perfSONAR 4.0 RC2 Firewall defaults
  • Date: Wed, 12 Apr 2017 16:42:28 +0000
  • Accept-language: en-US
  • Ironport-phdr: 9a23:WE2t7hSZegU888wJW+dxUo4uv9psv+yvbD5Q0YIujvd0So/mwa6yYx2N2/xhgRfzUJnB7Loc0qyN4v6mADJLscnJmUtBWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYdFRrlKAV6OPn+FJLMgMSrzeCy/IDYbxlViDanb75/KBS7oR/MusQXjodvKaQ8wQbVr3VVfOhb2XlmLk+JkRbm4cew8p9j8yBOtP8k6sVNT6b0cbkmQLJBFDgpPHw768PttRnYUAuA/WAcXXkMkhpJGAfK8hf3VYrsvyTgt+p93C6aPdDqTb0xRD+v4btnRAPuhSwaLDMy7n3ZhdJsg6JauBKhpgJww4jIYIGOKfFyerrRcc4GSWZdW8pcUTFKDIGhYIsVF+cPPfhWoZThp1UArhW+CwujBOLzxTBHnXL5x7E20+E7HA3awAAtHdQDu2nUotXvM6cSVPi4wqvIzDXEbfNW3jD96I7VeR4koPGMWK97fM3TyUkoEAPFiFaQpJf9PzOP1+QNtXSU4PR8VeKojW4rsR9+rSWyxso1jITCm4wbylfB9SpjwYY1I8W1SFZlbt6+HptQrCaaN41sTcM4WW1ovjg1yqEetZ6jYCcK048nywTHa/yDdYWD/xHtVP6JLDtlmn5oe6iziwuv/US+0OHwS9e43VVQoiZbj9XBuWgB2wHN5sWEUPdx41qt1SiV2wzO6OxJL1o4mKTGJ5I537I9l54evV7dEiL2l0j6lrKaelg+9uS29+jrfrPrrYKGOYBukAHxKKEul9S/AesmNggOWHCW9/6m1L3i+032XKtFjuExkqnfqpzUKsoVqaChDw9U1IYs9Qq/Ai+73NgGnnQLNk9JdA+Zg4TzJl3CPvP1Ae2hj1ixnzpn3/XGMafgApXJIHjDirDhfbNl5k5ezwozytZf55FPB7EZOvLzW0nxu8DGAR8lNAy0xfzrB8tg2YMDQW6PGLOWMLvOsV+U4eIiO/GMa5EPuDbzMPgl4PjugmUjmVMEYKmpxoUYaGqjE/RiIkWZembsgswfHWsQvwo+SvDqh0OYUT5VeXmyQ7ww6islB427EIeQDryq1ZWH0D22AdVyb2NLQgSFF3v5X4ifHfEBdHTBDNVml2kkRL+jTIgnnTKvsUeuyb1gKOn84jcZs5nuyN9zoeDfiEdhpnRPE82B3jTVHClPlWQSSmpzhfgnrA==

I’ll send you that separately. 

Thanks,
Joon 

On Apr 12, 2017, at 9:55 AM, Andrew Lake <> wrote:


Hi,

Thanks for the report and we will take a look. It should be running even when you do an RPM install. May be too late now, but do you happen to have the yum output handy when you ran the yum install?

Thanks,
Andy


On April 11, 2017 at 3:16:48 PM, Hyojoon Kim () wrote:

Hi all, 

I just wanted to share that this still seems to be the case: that I have to run "/usr/lib/perfsonar/script/configure_firewall install” manually to get the firewall rules correctly installed in the perfSONAR host, with perfSONAR 4.0 RC3 on CentOS 7. Reboot does not seem to run the script. 

Probably this is not the case when you get an pre-made perfSONAR CentOS ISO. However, in my environment I had my own CentOS 7 and installed perfSONAR 4.0 RC3 via yum (perfsonar-toolkit bundle) separately (http://docs.perfsonar.net/release_candidates/4.0rc3/install_centos.html). In this case, I had to manually run that command. 

Thanks, 
Joon 

On Nov 17, 2016, at 1:34 PM, Michael Petry <> wrote:

Symon,
Thanks for the followup.

Firewall-cmd does give the expected results.  The issue is that I had to first start firewalld and also run
"/usr/lib/perfsonar/script/configure_firewall install” by hand.  The docs leave a reader with the impression that it
is all enabled and configured by default.  Also the docs (listed as part of the 4.0RC2 candidate) are very
iptable centric while the script actions are centered around firewall-cmd.

The Fail2ban setup has a similar conflict on docs vs. action.

I wanted to report it as an issue so it doesn’t get lost before final release.

Migrating to Centos7 brings lots of changes that may trip some people up. I welcome the changes, especially the improved network stack performance.

Thanks again,
Mike


firewall-cmd  --list-all
public (default, active)
  interfaces: p1p1
  sources: 
  services: bwctl dhcpv6-client http https ndt npad ntp oppd owamp ssh traceroute
  ports: 6001-6200/tcp 5601-5900/tcp 8760-9960/udp 5601-5900/udp 6001-6200/udp 5301-5600/udp 5001-5300/tcp 8760-9960/tcp 5001-5300/udp 5301-5600/tcp
  masquerade: no
  forward-ports: 
  icmp-blocks: 
  rich rules: 


On Nov 17, 2016, at 2:59 AM, Szymon Trocha <> wrote:

W dniu 17.11.2016 o 08:57, Szymon Trocha pisze:
W dniu 16.11.2016 o 17:11, Michael Petry pisze:
Reading the docs at:
http://docs.perfsonar.net/release_candidates/4.0rc2/manage_security.html

left me with the impression that iptables/firewalld was enabled with the specified default rules.
That doesn't seem to be the case when installing/booting from the ISO image 4.0 RC2 Nov 1

Is that the intent or did I misread the docs/release notes?

Thanks,
Mike


Hi Mike,

What do you get when you issue:

firewall-cmd --get-active-zones ?


Sorry, it should have been: firewall-cmd --list-all


-- 
Szymon Trocha

Poznań Supercomputing & Networking Center
Tel. +48 618582022 ::: http://noc.pcss.pl




Archive powered by MHonArc 2.6.19.

Top of Page