feature request: list elements of table for scripting

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

 



Hi there,

for the purpose of a brute-forcers script, I'd like to get a list of
elements of a table.

The best I get so far is: "nft list set sshd_blacklist sshd_blacklist"

Which produces the whole table, with entries like
"xxx.xxx.103.115-xxx.xxx.103.116, xxx.xxx.103.118/31" which are very nice
for human readability, but rather clumsy for scripting.

Therefore, my feature request: please add an option to produce the elements
of a list one by one. Something like:

nft -e list set sshd_blacklist sshd_blacklist
xxx.xxx.103.115
xxx.xxx.103.116
xxx.xxx.103.118
xxx.xxx.103.119


Thanks
Han




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux