Displaying 5 results from an estimated 5 matches for "tunlp".
Did you mean:
tulp
2017 Jul 09
2
[3.6.6] nmbd reachable on 0.0.0.0: Safe?
...ello
I'm running Samba 3.6.6 on a Linux host on a LAN connected to the Net, with
my ADSL modem acting as firewall/router so as to keep local services like
Samba unaccessible from the Net.
Still, I wanted to check if it's safe to have nmbd reachable from 0.0.0.0 on
UDP137/138:
~# netstat -tunlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
PID/Program name
tcp 0 0 127.0.0.1:445 0.0.0.0:* LISTEN
1917/smbd
tcp 0 0 192.168.0.15:445 0.0.0.0:* L...
2017 Jun 18
2
[4.2.14-Debian] Smbd not listening on 192.168.0.x on cold start
Hello,
I noticed a problem when cold-starting a Debian host: smbd doesn't listen on
192.168.0.x. I need to restart it through the Initd script:
Cold start:
========
root at debian:~# netstat -tunlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
PID/Program name
tcp 0 0 127.0.0.1:445 0.0.0.0:* LISTEN
720/smbd
tcp 0 0 127.0.0.1:139 0.0.0.0:* LI...
2017 May 17
2
Upgraded > Samba no longer listening on 192.168.0.x
that init script is ok.
Try adding the following in your smb.conf
Add :
interfaces = 192.168.249.230 127.0.0.1
Or interfaces = eth0 lo
( change eth0 to your interface name)
Check:
systemctl status samba
systemctl status samba-ad-dc
If samba-ad-dc is enable, disable that one, and enable samba.
systemctl disable samba-ad-dc
systemctl enable samba
Greetz,
Louis
>
2017 Jul 09
0
[3.6.6] nmbd reachable on 0.0.0.0: Safe?
...default route, so yes it is
safe, I would be more worried about the fact you are still using a
version of Samba that went EOL quite some time ago ;-)
For more info on 0.0.0.0, see here:
https://www.howtogeek.com/225487/what-is-the-difference-between-127.0.0.1-and-0.0.0.0/
>
> ~# netstat -tunlp
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address Foreign Address
> State PID/Program name
> tcp 0 0 127.0.0.1:445 0.0.0.0:*
> LISTEN 1917/smbd
> tcp 0 0 192.168.0.15:445 0.0.0.0:*
> LISTEN 1917/s...
2017 May 17
0
Upgraded > Samba no longer listening on 192.168.0.x
...nchronizing state for smbd.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d smbd defaults
Executing /usr/sbin/update-rc.d smbd enable
================
The Debian host is listed when I run "c:\>net view" in Windows:
================
root at debian:~# netstat -tunlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
390/sshd
tcp 0 0 0.0.0.0:445 0.0.0.0:* LI...