cancel
Showing results for 
Search instead for 
Did you mean: 
Create a Post
Highlighted
walrung
Ivory

How to use scripts from IPSO in Gaia as well

Hi all

The scripts used by IPSO can't be used as they have been moved to Gaia. Is there a problem with scripts?

open 10.1.25.243
user admin
passwd
as
prompt
cd /var/log
lcd c:\usffw_accesslog\krsefw05
mget *messages*
mget *wtmp*
disconnect
as
prompt
quit

It aims to import logs using ftp every night. 

 

 

0 Kudos
4 Replies
Admin
Admin

Re: How to use scripts from IPSO in Gaia as well

IPSO and Gaia are different operating systems.
IPSO is based on FreeBSD, Gaia is based on Linux.
Both have different userspace utilities.

However this looks like a script executed on the client side.
What is executing this script and what output do you get when you try to execute it?

If this is done via expect, it is not supported.
Expect did work prior to R80, doesn't work in R80.x, and requires an RFE to fix.
0 Kudos
walrung
Ivory

Re: How to use scripts from IPSO in Gaia as well

In short, I want to download /var/log/messages file to FTP server every night. This script was used for this purpose.

0 Kudos
Admin
Admin

Re: How to use scripts from IPSO in Gaia as well

I understand why you want to run the script.
I'm trying to understand what mechanism is supposed to trigger it.
Please show me precisely where you have configured this script and what the output is when it is executed against a Gaia platform.
0 Kudos
Wolfgang
Gold

Re: How to use scripts from IPSO in Gaia as well

As I can see in your script you run this script on a Windows host and did a FTP connection to your GAiA appliance.

The script does not look like running on the gateway itself ( not under IPSO or GAiA ).

Maybee on your old IPSO gateway you did run a FTP server ?

Under GAiA you can connect via SCP to your gateway and receive the requested files. You have to change your script to use SCP.

Another thing to know, you can send all your messages from the gateway to the SMS (Firewall-Management) via syslog and view them in Smartconsole.

 
0 Kudos