Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Synchronet Synchronet
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 224
    • Issues 224
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

This GitLab instance has migrated as of Nov-5-2022 to a new server: hardware, OS, SSH key

The v3.20a development branch has now been merged to the master branch. Sysops upgrading from earlier versions must run 'jsexec update'

  • MainMain
  • SynchronetSynchronet
  • Issues
  • #288
Closed
Open
Issue created Sep 18, 2021 by Fernando Toledo@Ragnarok

ftp alias fail (segfault)

ftp alias does not work

If i use midnight commander, i see the not found error at sbbs log

9/18 00:14:56 ftp  0078 <Ragnarok> file (/ds_file_browser.js) not found for RETR command

if i use far2l (Far Manager Linux Port), then i get a segfault:

image

9/18 00:12:16 ftp  0077 <Ragnarok> DATA Transfer successful: 1154 bytes sent in 0 seconds (2308 cps)
[Threads: 16  Sockets: 65  Clients: 2  Served: 3  Errors: 0] (?=Help): [Thread 0x7fffb1ffe700 (LWP 32044) exited]
[Threads: 16  Sockets: 66  Clients: 2  Served: 3  Errors: 0] (?=Help): [New Thread 0x7fffb1ffe700 (LWP 32046)]
[Threads: 17  Sockets: 66  Clients: 3  Served: 4  Errors: 0] (?=Help): [New Thread 0x7fffb0dff700 (LWP 32047)]
[Threads: 16  Sockets: 65  Clients: 2  Served: 4  Errors: 0] (?=Help): [Thread 0x7fffb0dff700 (LWP 32047) exited]
[Thread 0x7fffb1ffe700 (LWP 32046) exited]
9/18 00:12:22 ftp  0077 <Ragnarok> detailed listing: root in passive mode
[Threads: 16  Sockets: 66  Clients: 2  Served: 4  Errors: 0] (?=Help): [New Thread 0x7fffb1ffe700 (LWP 32048)]
9/18 00:12:22 ftp  0077 <Ragnarok> DATA Transfer successful: 1703 bytes sent in 0 seconds (3406 cps)
[Threads: 16  Sockets: 65  Clients: 2  Served: 4  Errors: 0] (?=Help): [Thread 0x7fffb1ffe700 (LWP 32048) exited]

Thread 28 "sbbs/ftpControl" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffb17fd700 (LWP 32038)]
0x00007ffff65b3085 in parsepath (pp=0x7fffb17fca78, user=0x7fffb17f3eb0, 
    client=0x7fffb17f3cd0, curlib=0x7fffb17f43a4, curdir=0x7fffb17f43a0)
    at ftpsrvr.c:1603
1603                                            lib = scfg.dir[dir]->lib;
(gdb) bt
#0  0x00007ffff65b3085 in parsepath (pp=0x7fffb17fca78, user=0x7fffb17f3eb0, 
    client=0x7fffb17f3cd0, curlib=0x7fffb17f43a4, curdir=0x7fffb17f43a0)
    at ftpsrvr.c:1603
#1  0x00007ffff65bbd31 in ctrl_thread (arg=0x7fffd80017c0) at ftpsrvr.c:3530
#2  0x00007ffff5d084a4 in start_thread (arg=0x7fffb17fd700)
    at pthread_create.c:456
#3  0x00007ffff4fa9d0f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
(gdb) 

my ctrl/ftpalias.cfg

LEEME-CARAJO.txt /sbbs/data/LEEME-CARAJO.txt Archivo que tenes que leer si o si                                                                             
dsmailer.js /sbbs/mods/dsmailer.js DSMAILER v1.0 - Transfer Protocol for SBBS                                                                               
ds_file_browser.js /sbbs/mods/ds_file_browser.js DS_FILE_BROWSER v1.0 - Alternate library browser for SBBS                                                  
sbbs.conf /etc/fail2ban/jail.d/sbbs.conf FAIL2BAN - Synchronet Rules                                                                                        
sbbs-hack.conf /etc/fail2ban/filter.d/sbbs-hack.conf FAIL2BAN - hack.log filter                                                                             
sbbs-main.conf /etc/fail2ban/filter.d/sbbs-main.conf FAIL2BAN - mail log filter                                                                             
sbbs.smtp.conf /etc/fail2ban/filter.d/sbbs-smtp.conf FAIL2BAN - smtp log filter                                                                             
sbbs-spam.conf /etc/fail2ban/filter.d/sbbs-spam.conf FAIL2BAN - spam log filter       
Edited Sep 18, 2021 by Fernando Toledo
Assignee
Assign to
Time tracking