Object
PacketThief implementation that does apply any firewall rules. Furthermore, Manual.original_dest will always return a pre-configured destination address.
Returns the [port, host] for the original destination of sock.
The Manual implementation only returns a preconfigured original destination. Making it only good for testing clients that only talk to a single remote host.
# File lib/packetthief/impl/manual.rb, line 45 def self.original_dest(sock) raise "You must call .set_dest(host,port) to set the original_dest in the Manual PacketThief implementation!" if @dest_host == nil or @dest_port == nil return [ @dest_port, @dest_host ] end
Generated with the Darkfish Rdoc Generator 2.