Allow or Deny from large numbers of hosts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



All,

Is there a way to load a bunch of allow or deny hosts from a file or other data-store? I have several dozen CIDR expressions and they will need to change periodically, so it would be more convenient if I could load them from at least a file on the disk and clean-up my config a bit.

I suppose I could

    Include my-allows.conf
    Include my-denies.conf

And then use awk/sed/whatever to convert the lists of hosts into "Allow from [host]" and "Deny from [host]" but less tooling would be more convenient, of course.

-chris


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux