e86ca56dd1
Implement a check for self.cid.nil? in Meterpreter's Channel class in the :closed? method for compatibility with the Socket's :closed? Touch up the Rex DNS server's stop method using this method on pivot sockets. Add SOL_SOCKET and SO_REUSEADDR options to the Rex UDP sockets created by the DNS components - the server socket, as well as the client abstraction socket.