check clnt_stat before unmarshalling arguments. when the proxy receives an EOF from a client, it should close all the fds open with those modules. KILL signal would be even more effective at cleaning up modules but might wipe out data that module is still writing to a socket. therefore, it should be the modules responsibility to clean itself up when it gets an EOF. need to write a preexit function in REX client that checks for pending port forwarding connections, etc. and has an option for "background" operation like ssh We hava a verbose mode--the most important types of messages that should be reported are the events that rex is waiting for. for example, "waiting for agent (sfscd) file descriptor" ideally ptyd should calculate the host from which a rex connection comes and that's what should be logged into the utmp, etc. fix readcb IO errors when you close a channel/connection add verbosity option so we don't see log messages all of the time. also, can we get the messages that sfssd spits out on error; they're often more useful the agent should clean up it's state if sfssd is killed and restarted by the system administrator fix the problem of rex not exited b/c it doesn't receive all of the appropriate exit signals sometimes when a command isn't found rex will refuse to shutdown and reset the terminal, requiring a kill from another window: rex -x /shome/shakespeare sdfljaslkd (for example) (same problem as above I think) put escape seq. stuff in for exec channel also & add command-line option use SRP to get hostname if no self-certifying pathname is available audit trail view of /sfs directory should be there same on all machines rex'ed to?