How to open port (ie 139 ) for specific software when you don’t use the Suse firewall and when nmap show that the port is not open ?
LINUX-SRV:~ # nmap -p 1-65535 127.0.0.1
Starting Nmap 4.20 ( Insecure.Org - Nmap Free Security Scanner, Tools & Hacking resources ) at 2008-07-18 19:43 CEST
Interesting ports on localhost (127.0.0.1):
Not shown: 65528 closed ports
PORT STATE SERVICE
22/tcp open ssh
23/tcp open telnet
25/tcp open smtp
80/tcp open http
111/tcp open rpcbind
631/tcp open ipp
901/tcp open samba-swat
Nmap finished: 1 IP address (1 host up) scanned in 6.014 seconds
LINUX-SRV:~ #
Yast: Security and Users: Firewall: Allowed Services: add whatever you
need: Next: Finish.
Good luck.
jcdole wrote:
| How to open port (ie 139 ) for specific software when you don’t use the
| Suse firewall and when nmap show that the port is not open ?
|
| LINUX-SRV:~ # nmap -p 1-65535 127.0.0.1
|
| Starting Nmap 4.20 ( ‘Insecure.Org - Nmap Free Security Scanner, Tools
| & Hacking resources’ (http://insecure.org) ) at 2008-07-18 19:43 CEST
| Interesting ports on localhost (127.0.0.1):
| Not shown: 65528 closed ports
| PORT STATE SERVICE
| 22/tcp open ssh
| 23/tcp open telnet
| 25/tcp open smtp
| 80/tcp open http
| 111/tcp open rpcbind
| 631/tcp open ipp
| 901/tcp open samba-swat
|
| Nmap finished: 1 IP address (1 host up) scanned in 6.014 seconds
| LINUX-SRV:~ #
|
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
The problem is why port are closed, and how to open them. I never had this problem before with suse 10.0 on x86 processor.
This time I use suse 10.3 on X64 processor.
I don’t want to use the firewall.
I have install an other small linux on a new partition on the same PC ( with no firewall, no SAMBA, nothing but the minimum ).
I am unable to telnet on any port.
I think that the problem is to open port when not using the firewall. Isn’t it ?
jcdole wrote:
| Hi.
|
| The problem is not configuring samba.
|
| The problem is why port are closed, and how to open them. I never had
| this problem before with suse 10.0 on x86 processor.
| This time I use suse 10.3 on X64 processor.
|
| I don’t want to use the firewall.
|
| I have install an other small linux on a new partition on the same PC (
| with no firewall, no SAMBA, nothing but the minimum ).
| I am unable to telnet on any port.
|
| I think that the problem is to open port when not using the firewall.
| Isn’t it ?
|
| I need help please .
|
|
|
| LINUX-SRV:~ # echo “hello” | telnet localhost 110
| Trying 127.0.0.1…
| telnet: connect to address 127.0.0.1: Connection refused
| Trying ::1…
| LINUX-SRV:~ #
|
|
| LINUX-SRV:~ # echo “hello” | telnet localhost
| Trying 127.0.0.1…
| Connected to localhost.
| Escape character is ‘^]’.
| Connection closed by foreign host.
| LINUX-SRV:~ #
|
| LINUX-SRV:~ # echo “hello” | telnet localhost 139
| Trying 127.0.0.1…
| telnet: connect to address 127.0.0.1: Connection refused
| Trying ::1…
| LINUX-SRV:~ #
|
|
| LINUX-SRV:~ # echo “hello” | telnet localhost
| Trying 127.0.0.1…
| Connected to localhost.
| Escape character is ‘^]’.
| Connection closed by foreign host.
| LINUX-SRV:~ #
| Reply With Quote
|
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
Looks like you aren’t even running samba since 139 doesn’t even show up on a scan of localhost. BTW, it’s pointless to scan localhost to see what ports other hosts can see since some services only run on localhost and the scan gives a false impression that they are public. You should scan your own IP address (private or public, just not an address from the 127.x.x.x range).
Following samba documentation, it is said to test it by netstat and telnet.
Netstat does not show port 137, 138, 139, 445.
And telnet show an error on port 139