I have a Couple Solaris 8 Sparc Servers with FTP enable on OS.
I am trying to log all ftp traffic on one server like the other servers are doing. But for some reason it wont log on the new server correctly.
I have the following configurations setup on the new server as well.
/etc/syslog.conf - daemon.debug /var/adm/ftp_log
/etc/init.d/inetsvc - /usr/sbin/inetd -s -t &
Here is what i am trying to get logged on one of my servers.
Aug 30 09:00:32 server1 in.ftpd[17725]: [ID 373804 daemon.info] connection from ipaddress at Thu Aug 30 09
:00:32 2007
Aug 30 09:00:32 server1 in.ftpd[17725]: [ID 988435 daemon.debug] <--- 220
Aug 30 09:00:32 server1 in.ftpd[17725]: [ID 738965 daemon.debug] server1 FTP server (SunOS 5.8) ready.
Aug 30 09:00:32 server1 in.ftpd[17725]: [ID 577562 daemon.debug] command: USER username^M
Aug 30 09:00:32 server1 in.ftpd[17725]: [ID 988435 daemon.debug] <--- 331
Aug 30 09:00:32 server1 in.ftpd[17725]: [ID 337738 daemon.debug] Password required for username.
Aug 30 09:00:32 server1 in.ftpd[17725]: [ID 416587 daemon.debug] command: PASS <passwd>
Aug 30 09:00:33 server1 in.ftpd[17725]: [ID 988435 daemon.debug] <--- 230
Aug 30 09:00:33 server1 in.ftpd[17725]: [ID 636382 daemon.debug] User username logged in.
Aug 30 09:00:33 server1 in.ftpd[17725]: [ID 577562 daemon.debug] command: TYPE I^M
Aug 30 09:00:33 server1 in.ftpd[17725]: [ID 988435 daemon.debug] <--- 200
Aug 30 09:00:33 server1 in.ftpd[17725]: [ID 800213 daemon.debug] Type set to I.
Aug 30 09:00:33 server1 in.ftpd[17725]: [ID 577562 daemon.debug] command: CWD /opt/WebSphere5/AppServer
But all i get logged is the following.
Aug 29 18:11:18 server2 inetd[25323]: [ID 317013 daemon.notice] telnet[25335] from ipaddress 3774
Aug 29 18:11:33 server2 inetd[25323]: [ID 317013 daemon.notice] ftp[25346] from ipaddress 2087
Aug 29 18:11:43 server2 inetd[25323]: [ID 317013 daemon.notice] ftp[25347] from ipaddress 2091
Aug 29 18:12:05 server2 inetd[25323]: [ID 317013 daemon.notice] telnet[25421] from ipaddress 4331
Aug 29 18:12:07 server2 inetd[25323]: [ID 317013 daemon.notice] ftp[25430] from ipaddress 2099
I am trying to log all ftp traffic on one server like the other servers are doing. But for some reason it wont log on the new server correctly.
I have the following configurations setup on the new server as well.
/etc/syslog.conf - daemon.debug /var/adm/ftp_log
/etc/init.d/inetsvc - /usr/sbin/inetd -s -t &
Here is what i am trying to get logged on one of my servers.
Aug 30 09:00:32 server1 in.ftpd[17725]: [ID 373804 daemon.info] connection from ipaddress at Thu Aug 30 09
:00:32 2007
Aug 30 09:00:32 server1 in.ftpd[17725]: [ID 988435 daemon.debug] <--- 220
Aug 30 09:00:32 server1 in.ftpd[17725]: [ID 738965 daemon.debug] server1 FTP server (SunOS 5.8) ready.
Aug 30 09:00:32 server1 in.ftpd[17725]: [ID 577562 daemon.debug] command: USER username^M
Aug 30 09:00:32 server1 in.ftpd[17725]: [ID 988435 daemon.debug] <--- 331
Aug 30 09:00:32 server1 in.ftpd[17725]: [ID 337738 daemon.debug] Password required for username.
Aug 30 09:00:32 server1 in.ftpd[17725]: [ID 416587 daemon.debug] command: PASS <passwd>
Aug 30 09:00:33 server1 in.ftpd[17725]: [ID 988435 daemon.debug] <--- 230
Aug 30 09:00:33 server1 in.ftpd[17725]: [ID 636382 daemon.debug] User username logged in.
Aug 30 09:00:33 server1 in.ftpd[17725]: [ID 577562 daemon.debug] command: TYPE I^M
Aug 30 09:00:33 server1 in.ftpd[17725]: [ID 988435 daemon.debug] <--- 200
Aug 30 09:00:33 server1 in.ftpd[17725]: [ID 800213 daemon.debug] Type set to I.
Aug 30 09:00:33 server1 in.ftpd[17725]: [ID 577562 daemon.debug] command: CWD /opt/WebSphere5/AppServer
But all i get logged is the following.
Aug 29 18:11:18 server2 inetd[25323]: [ID 317013 daemon.notice] telnet[25335] from ipaddress 3774
Aug 29 18:11:33 server2 inetd[25323]: [ID 317013 daemon.notice] ftp[25346] from ipaddress 2087
Aug 29 18:11:43 server2 inetd[25323]: [ID 317013 daemon.notice] ftp[25347] from ipaddress 2091
Aug 29 18:12:05 server2 inetd[25323]: [ID 317013 daemon.notice] telnet[25421] from ipaddress 4331
Aug 29 18:12:07 server2 inetd[25323]: [ID 317013 daemon.notice] ftp[25430] from ipaddress 2099