[nft] using `nft -i' as user shell

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

 



Hi!

I've playing with the use of `nft -i' as user shell.
This would be handy to let some users log just to manage the nftables ruleset.

In some situations, the CLI may block (or takes long time to return),
and the only way to kill the running command is hitting CTRL+C, which
also kills the interactive mode, which logs out the user of the
system.

Cases with this issue:
 * massive listings.
 * listings with lots of DNS queries
 * monitor.

A possible solution would be to implement a signal handler, somehow
integrated with libreadline. However i'm totally ignorant if this is
possible and/or how to do it.

What do you think?

regards.
-- 
Arturo Borrero González
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux