FTP log only shows FTP LOGIN FROM entry?


 
Thread Tools Search this Thread
Operating Systems Solaris FTP log only shows FTP LOGIN FROM entry?
# 1  
Old 12-07-2012
Oracle FTP log only shows FTP LOGIN FROM entry?

OS: Solaris 9
Configuration /etc/syslog.conf
daemon.debug

/etc/inetd.conf
ftp stream tcp6 nowait root /usr/sbin/in.ftpd in.ftpd -A -l -d

Found the ftp.log only generate those entries from other servers/hosts.

Can we trace on all ftp entries either from/to the server?

Please advice. Thanks.
# 2  
Old 12-07-2012
Entries would be logins or file transfers? Localhost should log just like remote host,
# 3  
Old 12-10-2012
Hi, Thanks for your response.
The ftp log configuration was done at host A.
FTP from host B to host A - entries shows in ftp.log @ host A.
But when FTP from host A to host B - no information shows in ftp.log @ host A.
If we want to see all ftp entries from/to host A, how can we do that?
Please advice.
Thank you.
# 4  
Old 12-12-2012
Since no one else has taken a crack at answering for you, I'll try..

the logs you are viewing on "host A" are generated by the in.ftpd daemon/service. in.ftpd is reporting on inbound connections that it answers (connections come in on the port it is listening to). inftpd is not in any way associated with outbound connections from "host A". the outbound connections could be generated using many different tools.. not only the traditional 'ftp' program.

to log the outbound ftp connections would require some software very much like a software firewall that can intercept/inspect the outbound packets, searching for those that match the ftp protocol and report the src/dest for you.
# 5  
Old 12-13-2012
Yes, the ftp client 'ftp' runs as the user and is not in a good position to log locally for you, but it is logged where the server 'ftpd' receives the client's connection.

You could detect ftp activity with firewall software, but perhaps with less detail unless you find a tool that logs packet innards not just the header stuff. You could even provide ftp as a wrapper that logs and then calls the real ftp. However, sometimes the details are not arguments but in the stdin stream.
# 6  
Old 12-14-2012
Hi Yeaboem,

Thanks for your kind response.
Do you mean without the software, we are not able to configure the outbound ftp connection?

---------- Post updated at 12:00 PM ---------- Previous update was at 11:01 AM ----------

Hi,

I could see 'outbound' is set in the /etc/ftpd/ftpaccess; but only inbound activities are recorded in ftp.log.

log transfers real,guest,anonymous inbound,outbound
# 7  
Old 12-14-2012
The client app is not associated with any server, it is just a bit of code that can connect a tcp/ip socket on a random high port to the ftp port of some server socket bound tothe ftp command port somewhere and talk the ftp protocol on that, including supporting the session with either passive out or traditional incoming secondary, data connections. FTP has been written in many languages and many sorts of apps and APIs. If you can socket, you can FTP. Asking the server about the clients is like asking a free hotspot owner about all the transactions done on the router. Now, a firewall or other packet snooper might record some level of detail, but not much about https. It feels like a mainframe mindset, that there is only one client facility that logs everything centrally, but no, there are many users, processes, sockets, protocols, applications.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Ftp login commands

Hello, I am using ftp on command line. The problem is getting bumped off after 15 minutes of no activity.. I have two options: quit ftp and use the command history of my shell, or stay in ftp and use 'open' command, where I can use the command history saved in the ftp program. Either option... (1 Reply)
Discussion started by: Allasso
1 Replies

2. IP Networking

I can't login to any new FTP accounts

I have a website that I use sftp to connect to the root account. I am able to connect to it with sftp root@domainHowever, when I create a new user, and try to login with this account, it says permission is denied. I have already checked with my provider, and tech support said they can login... (9 Replies)
Discussion started by: trevthefatty
9 Replies

3. UNIX for Dummies Questions & Answers

FTP that works correctly in command prompt and shows issue in UNIX server

Hi All, FTP ports opens with the given user name and password and allows to download file through COMMAND PROMPT. Code as below: H:\>ftp ftpxxxxx Connected to entvc2ft07-pub.xxxxx.com. 220 Microsoft FTP Service User (entvc2ft07-pub.xxxxx.com:(none)): userxxxxx 331 User name okay, need... (1 Reply)
Discussion started by: vijayalakshmi.r
1 Replies

4. Shell Programming and Scripting

FTP script to login and list files to log file

Hi Guys I did a forum search for "ftp scripts" Looked at 8 pages and didnt see anything that would help. Most seem to be logging into a ftp server and transfering files. What I need to do is login to a FTP server. Goto a folder and list it so it showes newest files first. It would be nice to... (4 Replies)
Discussion started by: voorhees1979
4 Replies

5. Cybersecurity

FTP logfile shows strange activity at login

Has anyone seen or know what is causing this FTP log file line-item? 3 times when I successfully logged into FTP today, the log file shows a server response of a wrong password (530) to an IP address that is not mine... Below are FTP Log-file entries. I have removed my username & IP address: ... (2 Replies)
Discussion started by: bricolage
2 Replies

6. Solaris

FTP login failed.

Hi guys, Can you please help me. I have SUN V100 server running solaris 8. I also have a Redhat Linux 6.2 machine and a windows XP machine on the network. I'm trying to copy files from the Linux and XP machines to the V100 server. When I try to ftp to the solaris machine, I'm challenged... (2 Replies)
Discussion started by: Stin
2 Replies

7. UNIX for Dummies Questions & Answers

FTP & login

Folks; Is there a way in UNIX to do the following: When users use FTP to login to a mounted drive on Solaris server, if that was their first time login a home directory for that user will be created & if the home directory exists it won't create a home directory (user should not have a login... (6 Replies)
Discussion started by: Katkota
6 Replies

8. Red Hat

limit non login id for ftp

Hi All, How can I limit a userid (/bin/false) to have access only to ftp service? On redhat ent 4. Thanks! (1 Reply)
Discussion started by: itik
1 Replies

9. UNIX for Advanced & Expert Users

FTP login problem

I've just configured a server to my network (setting the ip, netmask, host file, etc...) and the server doesn't have any problem pinging another computer on the network. however when i try to connect to the server via ftp the root account can't log in, i made another account (a standard one that... (2 Replies)
Discussion started by: pasalagua
2 Replies

10. UNIX for Dummies Questions & Answers

FTP login failing

Please help. I am running Solaris 8 trying to get my FTP to work. When I try to access the FTP server from another computer on the network, it connects and prompts for a password. The username and password I set up do not work as well as my root account. Neither of the accounts are set up in the... (3 Replies)
Discussion started by: zbis12
3 Replies
Login or Register to Ask a Question