Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to access from work ( Windows machine ) my server
from my home ( Linux server ).
I want to be able to map a network drive from home to my office only i
don't know how. I've been told that samba is not secure across internet so i don't know how to do this otherwise. I don't want to use ftp or ssh because i want to be able to open files directly from the mapped network drive without downloading them first. What should i install or use on my linux machine so that i can map a network drive from work to home secure?
I use a program called webmin http://www.webmin.com/, this will allow you to administer your system, get to a console, and upload , download, delete and pretty much do all of your file operations. You will how ever need to setup a dynamic dns of some sort so you can get a connection to your home machine,and also Im sure you work is blocking all open ports. DynDns allows you to have a static ip address for your dhcp address you get from your isp. here is a link to the site http://www.dyndns.org/
You will have to install the dyndns client on your linux box, install webmin, make sure you dont have it blocked by a firewall, at home and at work, and then you should be able to user your box like you were in front of it almost! I use it alot, its kinda slow, but I can still get to my files!
Now granted its https, and its web-based, so you couldnt really mount it.. sorry. I dont know maybe someday SuSe/Novell will come out with a Ifolder client for linux. I will look that up. Ifolder is a novell tool that allows you to access your files over the net and mount them like share drives.
Samba is the only way I know of that will work as a windows share. You should be able to setup a connection over stunnel. I have not looked into doing that for Samba yet although it should not be a problem.
The other option would be Samba-ssl which is basically the same thing.
Since the only way SAMBA passwords could be sniffed was if a machine either at your office or your home has been compromised and is running an active dissector. You can't very well sniff the internet.
In this event, you are already screwed, since FTP and SSH passwords can be sniffed over the LAN just as easily as SAMBA, or hell, telnet.
I'm not so sure you are saying what I'm hearing or not, but you can't compare ssh or ssl to ftp or telnet. Anything can be sniffed, snorted, or whatever you want to do with it by connecting something like netcat to vunerable open ports on a server or on a LAN by listening on the network. Then there are ways to impersonate a site, etc, etc...
The major difference I am aware of is some logins are encrypted where some are not. The ones that are not are obsolete, have encrypted replacements, and should never be used except for simplicity on a LAN where there is no outside connection, no untrusted person can access any machine, and you don't care about any of your stuff.
The secure site will present a certificate that may be accepted or rejected. It may also be saved and tagged for the site you are downloading it from so you are aware of a certificate if it changes. If you are certain that the site you are connected to is genuine then you give your password which is sent over the encrypted connection and even though it is easily sniffed it is useless, unless it can be deciphered. Depending on the level of encryption it could be virtually impossible to decipher or fairly easy. Everytime another bit is added to the encryption the possibilities double. Banks, Stock Markets, Stores etc., trust 128 bit encryption as safe as long as your password is changed periodically. They almost all disable or lock your account if you try two or three times and get the wrong password. That is mainly for the people who will never change their password, thus making it secure. SSH is 768 bit which is probably comparible to the number of grains of sand on the earth or stars in the universe. (Could be slightly exagerated).
You can't compare this to a plain text password.
You should always check your browser address bar to be sure your using https on your browser and the address is correct and was typed in by you, never from a link in email or other site when you enter your password.
Last edited by DavidPhillips; 04-12-2004 at 11:03 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.