Код: Выделить всё
bash-4.2$ cat /etc/system-release
RFRemix release 17 (Beefy Miracle)
Код: Выделить всё
$ systemctl status xinetd.service
xinetd.service - Xinetd A Powerful Replacement For Inetd
Loaded: loaded (/usr/lib/systemd/system/xinetd.service; enabled)
Active: active (running) since Mon, 22 Oct 2012 14:46:17 +0300; 34min ago
Process: 705 ExecStart=/usr/sbin/xinetd -stayalive -pidfile /var/run/xinetd.pid $EXTRAOPTIONS (code=exited, status=0/SUCCESS) Main PID: 709 (xinetd)
CGroup: name=systemd:/system/xinetd.service
└ 709 /usr/sbin/xinetd -stayalive -pidfile /var/run/xinetd.pid
Код: Выделить всё
olej@atom:~$ ftp 192.168.1.5
Connected to 192.168.1.5.
421 Service not available, remote server has closed connection
ftp> quit
- протокол показывает, что на 192.168.1.5 xinetd поднимал FTP, но он тут же рухнул
Код: Выделить всё
bash-4.2$ sudo cat /var/log/messages | tail -n10
Oct 24 18:18:16 notebook gnome-keyring-daemon[1068]: unsupported key algorithm in certificate: 1.2.840.10045.2.1
Oct 24 18:18:16 notebook gnome-keyring-daemon[1068]: unsupported key algorithm in certificate: 1.2.840.10045.2.1
Oct 24 18:18:16 notebook gnome-keyring-daemon[1068]: unsupported key algorithm in certificate: 1.2.840.10045.2.1
Oct 24 18:18:43 notebook xinetd[734]: START: ftp pid=3925 from=::ffff:192.168.1.7
Oct 24 18:18:47 notebook proftpd[3926]: 192.168.1.5 - Failed binding to ::, port 21: Адрес уже используется
Oct 24 18:18:47 notebook proftpd[3926]: 192.168.1.5 - Check the ServerType directive to ensure you are configured correctly.
Oct 24 18:18:47 notebook proftpd[3926]: 192.168.1.5 - Unable to start proftpd; check logs for more details
Oct 24 18:18:47 notebook xinetd[734]: EXIT: ftp status=0 pid=3925 duration=4(sec)
Код: Выделить всё
bash-4.2$ cat /etc/xinetd.d/xproftpd
# default: off
# description: The ProFTPD FTP server
service ftp
{
disable = no
# disable = yes
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.proftpd
log_on_success += DURATION
log_on_failure += USERID
nice = 10
}
Код: Выделить всё
bash-4.2$ cat /etc/services | grep ^ftp
ftp-data 20/tcp
ftp-data 20/udp
ftp 21/tcp
ftp 21/udp fsp fspd
ftp-data 20/sctp # FTP
ftp 21/sctp # FTP
ftp-agent 574/tcp # FTP Software Agent System
ftp-agent 574/udp # FTP Software Agent System
ftps-data 989/tcp # ftp protocol, data, over TLS/SSL
ftps-data 989/udp # ftp protocol, data, over TLS/SSL
ftps 990/tcp # ftp protocol, control, over TLS/SSL
ftps 990/udp # ftp protocol, control, over TLS/SSL
Код: Выделить всё
bash-4.2$ getenforce
Disabled
Есть такие варианты "почему?", на что можно грешить:
1. В связи с переходом Fedora 17 на инициализацию systemd вместо sysinit.
(я специально позже покажу почему и чем xinetd sysint связаны, по документации)
Ведь в предыдущих Fedora 14, 15 и ранее - никаких таких проблем не было? ... да и Debian, Ubuntu - то с чем я пересекался...
2. Что-та нахомутали майнтейнеры при сборке Fedora 17 ... запихнули туда конфигурации Fedora 14 не задумываясь ... да и не понимая особенно
3. Как-то связано с IPv6 ? ... Не нравятся мне адреса в протоколе в /var/log/messages
4. Как-то связано с настройками прав и полномочий ... доступ к $HOME, аутентификация (не похоже)...
Файлы: /etc/hosts.allow & /etc/hosts.deny ?