Sha256: d1a2ebf2d70d5b454b23850c281fc4f166d916a63ecd806d47feff0cc9087591
Contents?: true
Size: 363 Bytes
Versions: 2
Compression:
Stored size: 363 Bytes
Contents
# -*- coding: utf-8 -*- module Dcmgr module VNet module Tasks # Drop all incoming IP layer traffic class DropIpFromAnywhere < Task include Dcmgr::VNet::Netfilter def initialize super() self.rules << IptablesRule.new(:filter,:forward,nil,:incoming,"-j DROP") end end end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
wakame-vdc-agents-11.12.0 | lib/dcmgr/vnet/tasks/drop_ip_from_anywhere.rb |
wakame-vdc-dcmgr-11.12.0 | lib/dcmgr/vnet/tasks/drop_ip_from_anywhere.rb |