Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] IPv4 instead of IPv6

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] IPv4 instead of IPv6


Chronological Thread 
  • From: Kate Adams <>
  • To: Mark Feit <>
  • Cc: Casey Russell <>, "" <>
  • Subject: Re: [perfsonar-user] IPv4 instead of IPv6
  • Date: Wed, 8 Aug 2018 16:04:26 -0500
  • Ironport-phdr: 9a23:WQxtpxzunEgJ8Z3XCy+O+j09IxM/srCxBDY+r6Qd2+IUIJqq85mqBkHD//Il1AaPAd2Fraocw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze+/94HSbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDtU7s6RSqt4LtqSB/wiScIKTg58H3MisdtiK5XuQ+tqwBjz4LRZoyeKfhwcb7Hfd4CR2VBUMZfWSJCDI2hcYUAE/EMMvxEo4TnvVYCsQeyCAuqCejyyjFInHj23agi3uokCw7GwBIvFM8SvXvJttr1MbwSWv2ywanL1zrDc+1Z1Czy6IjSbB8uu+2MXap0ccXLyEkvERjFgk+WqYP7IzOYz+IAuHWV4epnUOKgkW8nqwdprzezwccsjIfJipgUylDC7Sl52Jg6Jce2SE5gZt6kFoFftzuAO4twXMwiX3lktDsgxrEYo5K2cjIGxIghyhXCaPKHa5CF7gziWeqNIzp1gXxldbGkiBqu9EWtxfHwWtWp31tPsiVJjsTDu3UI2hDN9MSIVv1w9Vq71zmVzQDc8ORELFg0laXFL54hxaY9lp8JvkTCGi/6gVz2jLOKekk99emk9frrban8qp+TMI90jQ7+MqAwlcClHes4NQ0OU3Ca+eS6yrLj4VX0TKtLg/EqkKTUtZ7aKMcAqaKlBgJY3Zov5wqiADqjzNsUgWQIIVdAdR6ZkYTmJ0nCIPXiAve+h1Ssni1rx/fDPrD5AZXCNGTDn6n6cLZy8U5T1hA8zcxH55JQEL4BIfTzWlTruNzeEBA5LxS4w/z7B9VlyoMeRWWPD7eBMKzMq1+I6PkvI+6KZIAPojbxMuUl5+Xwgn8jglIdeaip3YALaHCjAPhqOUSZYXzwgtgfC2cKuBQxTPD0hFGYTzFcemuyDOoA4WQeAZilRanOR5zl1LmP0SanNpxQem1cDF2QSzHle5jSCNkWbyfHAcZ9n3QtWbGkUMd11hiyuSf10bduMvLQ8ywertTl2cQjtL6brg076TEhV5fV6GqKVWwh2zpQHzI=

Mark,

The short version are excellent recipe/install notes!  Can you add the file that users are supposed to edit to your very thorough documentation?  That was the part that wasn't clear, where to add the rules.

Kate

On Wed, Aug 8, 2018 at 3:51 PM, Mark Feit <> wrote:

Kate Adams writes:

If you consider the host is genuinely hostile, the better thing to do is use the pScheduler limit system to forbid testing.  If you’re using something close to the stock limit file that ships with perfSONAR, there’s a “hackers” identifier that its IP(s) could be added to that would bring it to a stop.

 

I don't know how to do any of this, and the documentation isn't clear.  How does one go about limiting tests from pscheduler?

 

Short version:

 

  • On the system(s) where you want to impose the restriction, edit the file /etc/pscheduler/limits.conf.
  • In the first section of the file (“Identifiers”), there’s an item called “hackers.”  Inside that is an array with an IP address in it.  The one that’s in there is an example (and one that should never request and can be replaced with something else.  Add a quoted, comma-separated list of single IPv4 or IPv6 addresses (e.g.,1.2.3.4 or dead:beef:1234) or CIDR blocks (e.g., 1.2.3.0/24 or dead:beef/32) and any requests for tests involving that host will be denied.
  • Write the file out and exit the editor.
  • As root, run the command “pscheduler validate-limits” to make sure what you wrote didn’t contain any errors.
  • The system will begin enforcing the new limits within 15 seconds of a valid file being written.

 

 

The full documentation on the limit system is here:  https://docs.perfsonar.net/config_pscheduler_limits.html   It’s more reference than tutorial; at some point in the future one of us will be conducting a webinar on how all of this works.

 

--Mark

 




--
Kate Adams ()
Cyberinfrastructure Technologist
Great Plains Network



Archive powered by MHonArc 2.6.19.

Top of Page