Am 26. September 2014 19:18:57 MESZ, schrieb Arturo Borrero Gonzalez <arturo.borrero.glez@xxxxxxxxx>: >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? It sounds like the right solution and shouldn't be too hard :) Not within readline though, IIRC we do non-blocking I/O anyways, so it should be relatively easy. > >regards. -- 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