kristian_gr
asked on
Solaris 10 x86 ftp JASS URGENT
Hi.
I've hardened my Solaris 10 using JASS, but I need to start the ftp server from time.
I've tried svcam enable network/ftp and this seames to start the ftp server?
using NETSTAT -a | grep LISTEN it now listen on the .ftp
I've added ftpd: ALL to /etc/hosts.allow.
And I've disabled ipfilter, while I'm trying to be shure.
ftp localhost gives me:
ftp: connect to address ::1: Network is unreachable
Trying 127.0.0.1...
Connected to localhost.
421 Service not available, remote server has closed connection
and ftp from a remote host gives me theese messages in /var/adm/messages:
Apr 4 17:33:08 webserver inetd[238]: [ID 317013 daemon.notice] ftp[713] from 192.168.10.151 3084
Apr 4 17:33:08 webserver in.ftpd[713]: [ID 808958 daemon.warning] refused connect from 192.168.10.151 (access denied)
Any ide what I'm missing?
I've hardened my Solaris 10 using JASS, but I need to start the ftp server from time.
I've tried svcam enable network/ftp and this seames to start the ftp server?
using NETSTAT -a | grep LISTEN it now listen on the .ftp
I've added ftpd: ALL to /etc/hosts.allow.
And I've disabled ipfilter, while I'm trying to be shure.
ftp localhost gives me:
ftp: connect to address ::1: Network is unreachable
Trying 127.0.0.1...
Connected to localhost.
421 Service not available, remote server has closed connection
and ftp from a remote host gives me theese messages in /var/adm/messages:
Apr 4 17:33:08 webserver inetd[238]: [ID 317013 daemon.notice] ftp[713] from 192.168.10.151 3084
Apr 4 17:33:08 webserver in.ftpd[713]: [ID 808958 daemon.warning] refused connect from 192.168.10.151 (access denied)
Any ide what I'm missing?
are you using the ipf that's installed with solaris? or did you isntall afterwards? did you disable or just allow FTP? if you allowed FTP, re-HUP the fw process....not being able to connect via localhost on the box itself points to the service not being started on the box....
ipf has nothing to do with this.
I'm suspect of the /etc/ftpd/ftpaccess file. Run the following:
# inetadm -l ftp | grep exec
exec="/usr/sbin/in.ftpd -a"
Notice the -a is set. Man page for in.ftpd says:
-a Enables use of the ftpaccess(4) file.
Man page for ftpaccess has the following entry:
deny addrglob [message_file]
Deny access to host(s) that match addrglob and display
message_file. If the value of addrglob is !nameserved
access to sites without a working nameservers is denied.
message_file may contain magic cookies. See message for
more details.
Check your /etc/ftpd/ftpaccess file for a "deny" statement.
I'm suspect of the /etc/ftpd/ftpaccess file. Run the following:
# inetadm -l ftp | grep exec
exec="/usr/sbin/in.ftpd -a"
Notice the -a is set. Man page for in.ftpd says:
-a Enables use of the ftpaccess(4) file.
Man page for ftpaccess has the following entry:
deny addrglob [message_file]
Deny access to host(s) that match addrglob and display
message_file. If the value of addrglob is !nameserved
access to sites without a working nameservers is denied.
message_file may contain magic cookies. See message for
more details.
Check your /etc/ftpd/ftpaccess file for a "deny" statement.
ASKER
# inetadm -l ftp | grep exec
gives me:
exec="/usr/sbin/in.ftpd -l -a"
-l should just be logging
ftpaccess has no deny statement
ftphost: allow ftp *
gives me:
exec="/usr/sbin/in.ftpd -l -a"
-l should just be logging
ftpaccess has no deny statement
ftphost: allow ftp *
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
I will leave the following recommendation for this question in the Cleanup topic area:
PAQ - refund points
Any objections should be posted here in the next 4 days. After that time, the question will be closed.
-XoF-
EE Cleanup Volunteer
I will leave the following recommendation for this question in the Cleanup topic area:
PAQ - refund points
Any objections should be posted here in the next 4 days. After that time, the question will be closed.
-XoF-
EE Cleanup Volunteer
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Solaris 10 does not support JASS as of yet.
http://www.sun.com/bigadmin/xperts/sessions/17_sol10install/questions2.html#13
http://www.sun.com/bigadmin/xperts/sessions/17_sol10install/questions2.html#13
Consider use secure ftp (sftp comes with openshh) instead od FTP, you can download it from:
http://sunfreeware.com/