ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] подземный стук в ovz
@ 2007-04-06  8:55 Anton Farygin
  0 siblings, 0 replies; only message in thread
From: Anton Farygin @ 2007-04-06  8:55 UTC (permalink / raw)
  To: sisyphus

Всем привет.

имеется хост с ovz ядром (alt12).

Внутри поднято два контейнера.

Смотрим в одном из контейнеров, кто на каких портах висит:
# netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address 
     State
tcp        0      0 0.0.0.0:5280                0.0.0.0:* 
     LISTEN
tcp        0      0 0.0.0.0:5222                0.0.0.0:* 
     LISTEN
tcp        0      0 0.0.0.0:2987                0.0.0.0:* 
     LISTEN
tcp        0      0 127.0.0.1:3216              0.0.0.0:* 
     LISTEN
tcp        0      0 0.0.0.0:4369                0.0.0.0:* 
     LISTEN
tcp        0      0 0.0.0.0:5269                0.0.0.0:* 
     LISTEN
tcp        0      0 0.0.0.0:22                  0.0.0.0:* 
     LISTEN
tcp        0      0 127.0.0.1:4680              127.0.0.1:4369 
     ESTABLISHED
tcp        0      0 127.0.0.1:4369              127.0.0.1:4680 
     ESTABLISHED


А вот nmap на этот хост показывает что-то совсем другое:
Interesting ports on jabber.local (192.168.0.5):
Not shown: 1677 closed ports
PORT     STATE    SERVICE
21/tcp   open     ftp
22/tcp   open     ssh
1720/tcp filtered H.323/Q.931

Nmap finished: 1 IP address (1 host up) scanned in 1.737 seconds

Вопрос - откуда взялся 21-й порт и почему нет всех остальных ?

никаких файрволлов не поднято, снаружи я хожу на 5280 без проблем.

Rgds,
Rider



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-06  8:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-06  8:55 [sisyphus] подземный стук в ovz Anton Farygin

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git