Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Is there a syslog file somewhere on the DNS by default? The only mods I have on mine are Fonz's ful_plug, and the lightppd thing....
In an effort to get FTP logging working, I killed the FTP process, and restarted it with "ftpd -L -i -o -S".
Per http://www.wu-ftpd.org/man/ftpd.html, the info should get logged in /var/log/xferlog, or to the syslog if -X is used. Well, after the process was restarted, I wasn't getting anything new in the xferlog, except for the inbound/outbound files and associated info.... Am I perhaps doing this wrong, or is there something else that needs to be done in order to have this work? I tried to look around for the syslog, but was unsuccessful.... also, since I am a linux N00b, I am not familiar (yet) with how to use the grep command to locate files or words in files...
Thanks all!!
Last edited by Ethereal_Dragon (2007-10-15 07:50:11)
Offline
Right now I'm playing with this ftp logging features.
Here is my solution for the ftp log :
first command :
syslogd -O /web/hi_mom.log
and after this, start the pure-ftpd service :
pure-ftpd -H
The best thing -> you can access this log on the webpage of the DNS-323 : http://dns323_ipaddress/hi_mom.log
Offline
And here is the result :
Oct 15 18:30:14 TEST323 syslog.info syslogd started: BusyBox v1.6.1 Oct 15 18:30:21 TEST323 ftp.info pure-ftpd: (?@192.168.2.178) [INFO] New connection from 192.168.2.178 Oct 15 18:30:21 TEST323 ftp.info pure-ftpd: (?@192.168.2.178) [INFO] pelikant is now logged in Oct 15 18:30:54 TEST323 ftp.notice pure-ftpd: (pelikant@192.168.2.178) [NOTICE] //mnt/HD_a2/ftplog/DLINKEu_DNS323.1.04b50.zip uploaded (7767359 bytes, 8163.68KB/sec) Oct 15 18:31:27 TEST323 ftp.notice pure-ftpd: (pelikant@192.168.2.178) [NOTICE] File successfully renamed or moved: [photo]->[dns313] Oct 15 18:31:30 TEST323 ftp.notice pure-ftpd: (pelikant@192.168.2.178) [NOTICE] //mnt/HD_a2/ftplog/dns313/DNS-313_A1_Manual_100_(E).pdf uploaded (1453336 bytes, 7467.54KB/sec) Oct 15 18:31:34 TEST323 ftp.notice pure-ftpd: (pelikant@192.168.2.178) [NOTICE] //mnt/HD_a2/ftplog/dns313/DNS-313_A1_QIG_100_(E).pdf uploaded (1000476 bytes, 7584.97KB/sec) Oct 15 18:31:39 TEST323 ftp.info pure-ftpd: (pelikant@192.168.2.178) [INFO] Logout.
Offline
Thanks for the quick reply craft!!
I got the hi_mom.log file started....
/web #
Oct 15 12:54:48 NAS syslog.info syslogd started: BusyBox v1.5.0
but I get this...
/ # pure-ftpd -H
/mnt/HD_a2/fun_plug.d/bin/sh: pure-ftpd: not found
is there something additional I have to set up for pure-ftpd?
Offline
I'm using the 1.04b50 firmware - and in this firmware the pure-ftpd is the ftp server.
I think you are using some older firmware version with ftpd.
Forget the my pure-ftpd command, use your command ftpd command - or start the ftp server over the webpage - I hope it's working with the syslogd.
Offline
And it's working with the 1.04b43 firmware too.
Offline
Yeah, sorry, forgot to mention in my initial post that I am running with 1.03 firmware.... can't upgrade till tomorrow, cause I am at work right now, remote'd into the box.
I ran the kill process for the FTPD, kill -9 [ftpd pid]
and then ran "ftpd -L -i -o -S -X"
I then FTP'd to the box, uploaded some files, downloaded some, renamed some, deleted some.... and not output of it in the var/log/xferlog or web/hi_mom.log (other than the upload/download being logged in xferlog)...
Will I have to get the chroot Debian sarge (or etch) running on the box to accomplish this?? (no idea where to get started on that.... lol)
Offline
Also, can you give me a link to the 1.04 beta firmware?? I can't seem to find it on the D-Link page....
http://www.dlink.com/products/support.a … 0#firmware
http://support.dlink.com/products/view. … =DNS%2D323
Offline
craft wrote:
Right now I'm playing with this ftp logging features.
Here is my solution for the ftp log :
first command :
syslogd -O /web/hi_mom.log
and after this, start the pure-ftpd service :
pure-ftpd -H
The best thing -> you can access this log on the webpage of the DNS-323 : http://dns323_ipaddress/hi_mom.log
hmmmmm... a couple of observations/questions:
1) if I open the log file via web-browser, a notepad window opens up and shows it without any line breaks (due to Unix-style line breaks)
2) What other logs will be captured by this? I run my fun_plug off USB, and I am wondering if I should try and put these logs on the USB stick too. But then, if I did that it would be more difficult to access since I'd have to use telnet to get to the files. Is there a way to setup a link on the /web/ directory that points to the USB directory, such that I can still load it up via the web-browser? But then I'd still get the run-on sentence version....
hmmmmmm
Offline