Phillip Pi
2006-Aug-26 06:56 UTC
[Samba] Did a recent Samba upgrade change something to lose connection with iptables enabled?
Hello, I am still a newbie to Linux, but I can find my ways around as long as I have help. For some reason if I leave my iptables enabled, I will lose my Samba share connection after a few minutes. Of course, then iptables disabled, I have no problems. I am using Debian with Kernel 2.6.14-K7. Is this normal? Thank you in advance. :) -- "Ever watch ants just crawling around? They walk in that single straight line, a long, a long, long mile of ants. Sometimes they will walk over and pick up their dead friends and carry those around. I'm pretty sure it's because they can get in the carpool lane and pass up that line." --Ellen DeGeneres /\___/\ / /\ /\ \ Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site) | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net \ _ / E-mail: philpi@earthlink.net or ant@zimage.com ( )
Phillip Pi
2006-Aug-28 08:59 UTC
[Samba] Re: Did a recent Samba upgrade change something to lose connection with iptables enabled?
On Fri, Aug 25, 2006 at 11:32:40PM -0700, Phillip Pi wrote:> Hello, > > I am still a newbie to Linux, but I can find my ways around as long as I have help. For some > reason if I leave my iptables enabled, I will lose my Samba share connection after a few > minutes. Of course, then iptables disabled, I have no problems. I am using Debian with Kernel > 2.6.14-K7. > > Is this normal? Thank you in advance. :)Anyone? :( -- "Ever watch ants just crawling around? They walk in that single straight line, a long, a long, long mile of ants. Sometimes they will walk over and pick up their dead friends and carry those around. I'm pretty sure it's because they can get in the carpool lane and pass up that line." --Ellen DeGeneres /\___/\ / /\ /\ \ Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site) | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net \ _ / E-mail: philpi@earthlink.net or ant@zimage.com ( )
Felipe Augusto van de Wiel
2006-Aug-28 16:22 UTC
[Samba] Re: Did a recent Samba upgrade change something to lose connection with iptables enabled?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 08/28/2006 05:58 AM, Phillip Pi escreveu:> On Fri, Aug 25, 2006 at 11:32:40PM -0700, Phillip Pi wrote: > >>Hello, >> >>I am still a newbie to Linux, but I can find my ways around as long as I have help. For some >>reason if I leave my iptables enabled, I will lose my Samba share connection after a few >>minutes. Of course, then iptables disabled, I have no problems. I am using Debian with Kernel >>2.6.14-K7. >> >>Is this normal? Thank you in advance. :) > > Anyone? :(If you are blocking the ports used by Samba then yes, it is normal. Look to the /etc/services and you will find: netbios-ns 137/tcp # NETBIOS Name Service netbios-ns 137/udp netbios-dgm 138/tcp # NETBIOS Datagram Service netbios-dgm 138/udp netbios-ssn 139/tcp # NETBIOS session service netbios-ssn 139/udp microsoft-ds 445/tcp # Microsoft Naked CIFS microsoft-ds 445/udp Kind regards, - -- Felipe Augusto van de Wiel <felipe@paranacidade.org.br> Coordenadoria de Tecnologia da Informa??o (CTI) - SEDU/PARANACIDADE http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFE8xg0Cj65ZxU4gPQRAqqoAJ4kOC4ZMcLxroIBjcEZMc9WNpFcsACeJfjy oXQOp+8PzhLAKa47ZIgIb6Y=Zfed -----END PGP SIGNATURE-----