port forwarding really really slow
Matt Johnston
matt at ucc.asn.au
Mon Dec 8 10:43:09 WST 2008
On Fri, 5 Dec 2008 23:12:33 +0000 (UTC), GeorgeM <id0_316118 at yahoo.com>
wrote:
> i'm using dropbear for dynamic port forwarding. i've noticed that if i
> instruct the socks clients to do dns lookups via tunnel the connection
> becomes unusably slow. for example trying to open youtube, or other
> reasonably
> complex site will timeout during page load. my question is: does dropbear
> do dns lookups asynchroneously? does it cache recent queries? is there
> an option i've missed out?
Hi,
Currently Dropbear doesn't do anything clever with DNS, it just calls get
getaddrinfo() synchronously. I'll take a look at how hard it would be to do
asynchronous lookups. I'm not sure that caching really belongs in
individual apps - if anything it should be the socks client doing caching?
Matt
More information about the Dropbear
mailing list