Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X server no listen
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Greek
View previous topic :: View next topic  
Author Message
bld
l33t
l33t


Joined: 26 Mar 2003
Posts: 759
Location: Outter Space

PostPosted: Fri Mar 05, 2004 2:07 pm    Post subject: X server no listen Reply with quote

Kalhmera

Exw ena provlima me ton X server. Apo tote pou evala to "xdm" sto startup gia na beno kateuthian se grafiko perivalwn (kdm), paratiro oti to port 6000 einai anixto. Akolouthisa to "securigy guide" tou gentoo:

Quote:

oxygen /root# cat /etc/X11/xdm/Xservers|grep -v #
:0 local /usr/X11R6/bin/X -nolisten tcp


Alla kai pali otan jekinaei o X server, to port 6000 einai anixto. Jerei kaneis pou borei na exw kanei lathos?

Sto /etc/rc.conf exw kanei uncomment mono to:
Quote:

DISPLAYMANAGER="kdm"


alla an kanw ena scan sto internal ip mou:
Quote:

oxygen /root# nmap -sS xxx.xxx.xxx.xxx

Starting nmap 3.50 ( http://www.insecure.org/nmap/ ) at 2004-03-05 15:09 UTC
Interesting ports on localhost (xxx.xxx.xxx.xxx):
(The 1656 ports scanned but not shown below are in state: closed)
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
6000/tcp open X11

Nmap run completed -- 1 IP address (1 host up) scanned in 2.947 seconds


thnx
_________________
A happy GNU/Linux user!!
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Sun Mar 07, 2004 12:34 am    Post subject: Reply with quote

Ma egw den vlepw tipota lathos... afti einai i kanoniki simperifora: gi'afto onomazete X server. To socket einai ipoxreotiko TCP, apla ama pernas to parameter -nolisten tcp, ama den kanw lathos, apo to localhost panta tha mporeis na sindetheis, ala oxi apo ali mixani... prospathise na sou kanei kapios alos ena scan gia na diaveveoseis ama doulevei sosta i oxi.
Back to top
View user's profile Send private message
bld
l33t
l33t


Joined: 26 Mar 2003
Posts: 759
Location: Outter Space

PostPosted: Tue Mar 16, 2004 4:08 pm    Post subject: Reply with quote

Deathwing00 wrote:
Ma egw den vlepw tipota lathos... afti einai i kanoniki simperifora: gi'afto onomazete X server. To socket einai ipoxreotiko TCP, apla ama pernas to parameter -nolisten tcp, ama den kanw lathos, apo to localhost panta tha mporeis na sindetheis, ala oxi apo ali mixani... prospathise na sou kanei kapios alos ena scan gia na diaveveoseis ama doulevei sosta i oxi.


to scan ginete se internal ip, opote ta paketa pernane apo to gateway kai sto antistixo ip, den ginete sto localhost aka 127.0.0.1.

Egw exw anixto kai postfix localy, giati den to vlepeis? :)

Quote:

[12:56:21 ~ ]> nmap -sT 127.0.0.1

Starting nmap 3.50 ( http://www.insecure.org/nmap/ ) at 2004-03-16 17:08 UTC
Interesting ports on oxygen.insaneminds.biz (127.0.0.1):
(The 1655 ports scanned but not shown below are in state: closed)
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
6000/tcp open X11

Nmap run completed -- 1 IP address (1 host up) scanned in 0.449 seconds
[17:08:40 ~ ]> nmap -sT xxx.xxx.xxx.xxx

Starting nmap 3.50 ( http://www.insecure.org/nmap/ ) at 2004-03-16 17:08 UTC
Interesting ports on localhost (1.114.242.106):
(The 1656 ports scanned but not shown below are in state: closed)
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
6000/tcp open X11

Nmap run completed -- 1 IP address (1 host up) scanned in 0.372 seconds


Kanontas traceroute sto internal ip perasa apo 5 hops. Opote den einai to idio. Ki epita auto to provilma to exw apo tote pou evala "kde" me to fluxbox den to eixa kathos to option no listen eftane.. edw malwn prepei na peraso kai mia akoma parametro.. kapou allou.
_________________
A happy GNU/Linux user!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Greek All times are GMT
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