Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xinetd i proftpd
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
Treiks
Tux's lil' helper
Tux's lil' helper


Joined: 15 Apr 2004
Posts: 82

PostPosted: Thu May 13, 2004 11:52 pm    Post subject: xinetd i proftpd Reply with quote

xinetd-2.3.12
proftpd-1.2.9-r2 (USE=+ssl +tcpd +pam)

Proftpd ma byc odpalane przez xinetda. W hosts.deny ALL:ALL w hosts.allow prodtpd wpuszczane (to było wyłšczane jakby co ALL:ALL).
W configu od pro inetd ustawiony *reszta konfigu Ok chyba bo na tym samym komputerze ale standalone działa).
/etc/xinetd.d/proftpd
service ftp
{
flags = REUSE
socket_type = stream
instances = 30
wait = no
user = root
server = /usr/sbin/proftpd
# server = /usr/sbin/in.proftpd

log_on_success = HOST PID DURATION USERID
log_on_failure = HOST PID
disable = no

}


I nie wiedzieć czemu niezaleznie co wpisze w hostdeny/allow dostaje polaczenie odrzucone w logu:
May 14 01:29:10 nix xinetd[28785]: START: ftp pid=28853 from=192.168.1.2
May 14 01:29:10 nix xinetd[28853]: FAIL: ftp address from=192.168.1.2
May 14 01:29:10 nix xinetd[28785]: EXIT: ftp pid=28853 duration=0(sec)

Dokładnie taki sam konfig pro i xinetd na RedHacie idzie bez problemu. Pisze tutaj bo skonczyly mi sie pomysly.
Back to top
View user's profile Send private message
Treiks
Tux's lil' helper
Tux's lil' helper


Joined: 15 Apr 2004
Posts: 82

PostPosted: Fri May 14, 2004 12:08 am    Post subject: Reply with quote

W /etc/xinetd.conf
trzeba zakomentowac:

defaults
{
# only_from = localhost
...


Tylko jeszcze nie bardzo rozumiem dlaczego pro pluje do logu:
Unable to open group file /etc/group for reading: Permission denied
no such group 'ftp'
(600 jest na /etc/group)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) 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