Incomplete FTP command set in AOS

Post Reply
sir_hiss

Incomplete FTP command set in AOS

Post by sir_hiss »

Yes I know, Windows Filezilla does work for Alcatel-Lucent Omniswitches but I have to connect from a linux machine and don't get a directory listet. Weather in binary or ASCII-Mode the LIST command is executed:

Code: Select all

425 Can't build data connection
426 Data connection error
BTW: This behaviour is the same for MacOS FTP-clients and some other Windows Clients

PS: I ask this because scp doesn't work in both directions. It seems for me that early AOS Switches crash for transferring files from remote server and actually AOS Switches doesn't accept incoming scp transfers:

Code: Select all

scp K2os.img admin@[Omniswitch-IP]:/flash/working/
admin’s password for keyboard-interactive method: 
 
Received disconnect from [Omniswitch-IP]: 2: ssh + command not available
lost connection
results in:
MON MAR 07 19:01:05 2011            SSH    info Session 8 New SSH Connection from [remote-server] port 52820
MON MAR 07 19:01:13 2011         SYSTEM    info memPartRealloc: invalid block 0x651d800 in partition 0x4b6b14.
MON MAR 07 19:01:13 2011            SSH   error [SSH 8] xrealloc: out of memory (new_size 32768 bytes)
MON MAR 07 19:01:14 2011    CSM-CHASSIS    info == CSM == CS excep handler: exception 768 in task 0x652d570 
MON MAR 07 19:01:14 2011    CSM-CHASSIS    info == CSM == Excep in task: sshd_ct2 PC : 0x31fe34 
MON MAR 07 19:01:15 2011    CSM-CHASSIS    info === CS === 1) 32357c vxTaskEntry    +5c : sshd_ct ()
MON MAR 07 19:01:15 2011    CSM-CHASSIS    info === CS === 2) 154a9b8 sshd_ct        +1c4: do_authentication2 ()
MON MAR 07 19:01:15 2011    CSM-CHASSIS    info === CS === 3) 154d9bc do_authentication2+8c : do_authenticated ()
MON MAR 07 19:01:15 2011    CSM-CHASSIS    info === CS === 4) 1567120 do_authenticated2+48 : server_loop2 ()
MON MAR 07 19:01:15 2011    CSM-CHASSIS    info === CS === 5) 15645d0 server_loop2   +dc : process_buffered_input_packets (
MON MAR 07 19:01:15 2011    CSM-CHASSIS    info == CSM == ) 
MON MAR 07 19:01:15 2011    CSM-CHASSIS    info === CS === 6) 156447c process_buffered_input_packets+24 : dispatch_run ()
MON MAR 07 19:01:15 2011    CSM-CHASSIS    info === CS === 7) 1557b18 dispatch_run   +108: server_input_channel_req ()
MON MAR 07 19:01:15 2011    CSM-CHASSIS    info === CS === 8) 1564bc4 server_input_channel_req+cc : packet_put_int ()
MON MAR 07 19:01:15 2011    CSM-CHASSIS    info === CS === 9) 1560c04 packet_put_int +20 : buffer_put_int ()
MON MAR 07 19:01:15 2011    CSM-CHASSIS    info === CS === 10) 154ffe4 buffer_put_int +2c : buffer_append ()
MON MAR 07 19:01:15 2011    CSM-CHASSIS    info === CS === 11) 357464 memcpy         +20 : bcopy ()
MON MAR 07 19:01:15 2011    CSM-CHASSIS   alarm ****************  STR  ****************
MON MAR 07 19:01:15 2011    CSM-CHASSIS   alarm Level                    : ERROR DETECTED - APPLICATION FATAL
MON MAR 07 19:01:15 2011    CSM-CHASSIS   alarm Not an application managed by Chassis Supervision
MON MAR 07 19:01:15 2011    CSM-CHASSIS   alarm Not an application managed by Chassis Supervision
taskId                   : 0X
MON MAR 07 19:01:15 2011    CSM-CHASSIS   alarm Source file name         : ??????
MON MAR 07 19:01:15 2011    CSM-CHASSIS   alarm Line number in the file  : 0
MON MAR 07 19:01:15 2011    CSM-CHASSIS   alarm Error number             : 0X00000300
MON MAR 07 19:01:15 2011    CSM-CHASSIS   alarm Comments    : exception in task 0x652d570  
MON MAR 07 19:01:15 2011    CSM-CHASSIS   alarm Data Size                : 00000040
MON MAR 07 19:01:15 2011    CSM-CHASSIS   alarm Not an application managed by Chassis Supervision
taskId                   : 0X
MON MAR 07 19:01:15 2011    CSM-CHASSIS    info == CSM == !!! REBOOT STACK !!! 
MON MAR 07 19:01:44 2011         SYSTEM    info Switch Logging device ‚/flash/swlog2.log‘ enabled for output
MON MAR 07 19:01:44 2011         SYSTEM    info Switch Logging device ‚/flash/swlog1.log‘ enabled for output
MON MAR 07 19:01:58 2011         SYSTEM    info Switch Logging device ‚/dev/console‘ enabled for output
MON MAR 07 19:01:58 2011    CSM-CHASSIS    info == CSM == === Chassis Supervision Starting Up ===
AOS 6.4.4.342.R01

Code: Select all

scp [some.file] admin@[remote-server]:/flash/
admin's password for keyboard-interactive method: 
 
exec request failed on channel 0
lost connection 
sir_hiss

Re: Incomplete FTP command set in AOS

Post by sir_hiss »

Ok. :( I see - I'm totally wrong and all of you guys have no problems with the AOS-FTP-Implementation. Right? (wondering) :?
TelluR

Re: Incomplete FTP command set in AOS

Post by TelluR »

Hi
Can you post your Config, please?
Did you use these commands?

ip service ftp
aaa authentication ftp "local"

TelluR
sir_hiss

Re: Incomplete FTP command set in AOS

Post by sir_hiss »

TelluR wrote:Hi
Can you post your Config, please?
Did you use these commands?

ip service ftp
aaa authentication ftp "local"

TelluR
I don't see how this could help because I CAN successfully login and execute FTP-commands (but get no correct LIST-response)?

Code: Select all

aaa authentication ftp "local" 
aaa authentication http "local" 
aaa authentication snmp "local" 
aaa authentication ssh "local" 
ip service all
devnull

Re: Incomplete FTP command set in AOS

Post by devnull »

I guess you are having the typical active/passive ftp Problem

try "pasv" as ftp command on your linux box.
sir_hiss

Re: Incomplete FTP command set in AOS

Post by sir_hiss »

devnull wrote:I guess you are having the typical active/passive ftp Problem

try "pasv" as ftp command on your linux box.
You are totally right with passive ftp-syndrom :?
I guessed it too but when I tried this first I didn't list the available commands. You have to use "passive on" instead of 'PASV'! 8)
Post Reply

Return to “OmniSwitch 6850 / 6850E”