Ϫf\dZddlmZddlmZddlmZGddejZdZy) z? I am a support module for making SOCKSv4 servers with twistd. )internet)socks)usageceZdZdZgdgdgdgZej ejdejdZ dZ y ) Optionsz([-i ] [-p ] [-l ]) interfacei 127.0.0.1z"local interface to which we listen)portpi8zPort on which to listen)loglNzfile to log connection data toz*.log)r r) optActionszMakes a SOCKSv4 server.N) __name__ __module__ __qualname__synopsis optParametersr Completions CompleteFilesCompleteNetInterfacescompDatalongdesc3/usr/lib/python3/dist-packages/twisted/tap/socks.pyrrsU9HM6<M !u  &5&&w/4446 H)Hrrc|ddk7r@ttdtdtdtdttj|d}t|d}t j |||d S) Nrr zWARNING:z5 You have chosen to listen on a non-local interface.z7 This may allow intruders to access your local networkz if you run this on a firewall.r r )r)printrSOCKSv4Factoryintr TCPServer)configtportnos r makeServicer% sx kk)  j EF GH 01  VE]+A  F   fa6+3F GGrN) __doc__twisted.applicationrtwisted.protocolsrtwisted.pythonrrr%rrrr*s+ )# )emm)$ Hr