• FTP Log File

    From Mojo@1:103/705 to All on Wed Dec 2 22:53:09 2020
    Is there a separate log file generated for just the FTP connections that come in for each connection so you can see who all connects each time?


    Thanks
    Mojo

    ---
    þ Synchronet þ Mojo's World BBS - mojo.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mojo on Wed Dec 2 22:41:32 2020
    Re: FTP Log File
    By: Mojo to All on Wed Dec 02 2020 10:53 pm

    Is there a separate log file generated for just the FTP connections that come in for each connection so you can see who all connects each time?

    The Windows Synchronet Control Panel logs FTP server activity to data/logs/fs<date>.log files.
    --
    digital man

    Rush quote #70:
    He's got a problem with his power, with weapons on patrol .. New World Man Norco, CA WX: 59.8øF, 17.0% humidity, 0 mph SW wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nelgin@1:103/705 to Mojo on Thu Dec 3 00:36:58 2020
    Mojo wrote:
    Is there a separate log file generated for just the FTP connections that come in for each connection so you can see who all connects each time?



    You don't say if you're using Linux or not. If so then you can use syslog to filter out those messages into a separate file. I actually use the following:

    bbs@bbs:~$ cat /etc/rsyslog.d/40-synchronet.conf
    if $programname == 'synchronet' then {
    if $msg startswith ' web ' then {
    action(type="omfile" file="/var/log/sbbs/web.sbbs.log" fileOwner="bbs" fileGroup="bbs")
    } else if $msg startswith ' mail ' then {
    action(type="omfile" file="/var/log/sbbs/mail.sbbs.log" fileOwner="bbs" fileGroup="bbs")
    } else if $msg startswith ' srvc ' then {
    action(type="omfile" file="/var/log/sbbs/service.sbbs.log" fileOwner="bbs" fileGroup="bbs")
    } else if $msg startswith ' evnt BINK' then {
    action(type="omfile" file="/var/log/sbbs/binkit.sbbs.log" fileOwner="bbs" fileGroup="bbs")
    } else if $msg startswith ' evnt ' then {
    action(type="omfile" file="/var/log/sbbs/event.sbbs.log" fileOwner="bbs" fileGroup="bbs")
    } else if $msg startswith ' term ' then {
    action(type="omfile" file="/var/log/sbbs/term.sbbs.log" fileOwner="bbs" fileGroup="bbs")
    } else if $msg startswith ' ftp ' then {
    action(type="omfile" file="/var/log/sbbs/ftp.sbbs.log" fileOwner="bbs" fileGroup="bbs")
    } else
    {
    action(type="omfile" file="/var/log/sbbs/sbbs.log" fileOwner="bbs" fileGroup="bbs")
    }
    stop
    }


    Don't forget to set the log facility in sbbs.ini. I have /var/log/sbbs chmod 770 and run my BBS under bbs user. If you just wanted ftp separate then you could just use the last entry.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mojo@1:103/705 to Digital Man on Thu Dec 3 11:37:43 2020
    Re: FTP Log File
    By: Digital Man to Mojo on Wed Dec 02 2020 10:41 pm

    The Windows Synchronet Control Panel logs FTP server activity to data/logs/fs<date>.log files.


    Cool thanks for the help in finding this.

    Mojo

    ---
    þ Synchronet þ Mojo's World BBS - mojo.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)