ipset -R

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

 



When I execute 'ipset -R < some_file' ipset ignores lines with the '-D' option specified. Is that intentional?

I am trying to execute a script file creating 'pinholes' in (previously built) ipsets, but, as it stands, I have to execute a shell script containing 'ipset -D' for every pinhole/range I am interested in, which isn't very convenient. Ideally I'd like for ipset to honour the '-D' option in a restore file.

The reason I need this is because I am defining ipset ranges coming from the geoip database and later, with the '-D' option in a script, I am trying to create the pinholes - more convenient since ipset has a very nice feature to re-adjust the ipset ranges automatically after delete, instead of me using endless '-A' statements adding the resulting ipset sub-ranges.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux