Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TC vs Proxy - WebDav & FTP (SSH Tunneling)

 
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) Printable version
View previous topic :: View next topic  
Author Message
seb-
Member
Member


Joined: 15 Nov 2011
Posts: 106
Location: DE\BN

PostPosted: Mon Jun 04, 2012 4:36 am    Post subject: TC vs Proxy - WebDav & FTP (SSH Tunneling) Reply with quote

Hi all,

for security reasons while travelling i just configured Putty to act as a Proxy and tunnel traffic from my laptop to my SSH server at home.

I noticed a few things

a) WebDav Plugin
It seems the WebDAV plugin only works when i explicitly configure the Ports, i.e. when trying to Connect to my NetworkAttachedStorage using WebDav (that runs on Port 5006) i need to setup the WebDav connection to connect to localhost:9999 and configure Putty to forward requests on Port :9999 to NAS_Internal_IP:5006

Connecting to https://NAS_Public_DynDNS:5006 or even https://NAS_Internal_IP:5006 will immediately fail Sad

b) FTP Connections
For FTP Connections the Proxy Handling seems far more advanced as it is even possible to setup multiple proxies.

It seems that tunneling is working okay, but DNS Requests are still sent to the default DNS outside of the tunnel, i.e. i can Capture them with wireshark.

Firefox has an extra configuration (about:config) to use DNS via Proxy: network.proxy.socks_remote_dns

Any chance - at least for b) - to be improved?
I can live with a) Wink

A option to configure Proxy Usage for complete Totalcommander would be very convenient.

Anyone using SSH tunneling in combination with TC as well and can share Experiences?

br
sebastian
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 24590
Location: Switzerland

PostPosted: Mon Jun 04, 2012 8:47 am    Post subject: Reply with quote

TC just uses the operating system DNS calls using getaddrinfo. You need to define a http proxy within the WebDAV plugin, then TC will just send the URL to that proxy, and the proxy will resolve it.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
seb-
Member
Member


Joined: 15 Nov 2011
Posts: 106
Location: DE\BN

PostPosted: Tue Jun 05, 2012 2:53 am    Post subject: Reply with quote

Thanks for the Quick Reply.

What about b)? Any possibility to force routing of DNS Requests through the given Proxy?
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 24590
Location: Switzerland

PostPosted: Thu Jun 07, 2012 4:37 am    Post subject: Reply with quote

I'm not aware of any DNS proxy. DNS uses UDP, and there are no UDP proxies (or are there?).
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
seb-
Member
Member


Joined: 15 Nov 2011
Posts: 106
Location: DE\BN

PostPosted: Thu Jun 07, 2012 11:08 am    Post subject: Reply with quote

I dont exactly know how it works, but not tunneling DNS requests kind of decreases the "security experience".
Firefox also needs a hidden switch (as i wrote above) for it...
Back to top
View user's profile Send private message
Sob
Power Member
Power Member


Joined: 19 Jan 2005
Posts: 626

PostPosted: Thu Jun 07, 2012 12:56 pm    Post subject: Reply with quote

@seb-: TC can do that too. Just use SOCKS5 server for FTP and then TC won't resolve the hostnames locally, but will let proxy server to resolve them.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group