Look at using Expect( http://bmrc.berkeley.edu/people/chaffee/expectnt.html). It's designed for scripting interactive sessions like telnet. Activestate has a commercial version as well.
-Kevin -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of gene Martinez Sent: Friday, February 04, 2005 7:46 PM To: [email protected] Subject: RE: [SA-list] command line options? Thanks. Do you know how to write a script for telnet to do an up-date?? At 11:05 AM 2/4/2005 +0200, you wrote: >Gene, > >What about writing a little app to do a telnet into SA and issue the >UPDATE command (causes a new check cycle to begin according to the documentation). >Wouldn't this achieve what you're after. Maybe Dirk can confirm this... > >Ali > >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Behalf Of Dirk Bulinckx >Sent: 03 February 2005 07:58 >To: [email protected] >Subject: RE: [SA-list] command line options? > > >That would mess up the whole checking logic.... >No it can't be done in v5 and no there are no plans to add this > > >Dirk. > >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On >Behalf Of gene Martinez >Sent: Thursday, February 03, 2005 1:05 AM >To: [email protected] >Subject: RE: [SA-list] command line options? > >Can this be done in version 5?? Or can it be an up-date?? > >At 05:28 PM 2/2/2005 +0100, you wrote: >>This can't be done. >> >> >>Dirk. >> >>-----Original Message----- >>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On >Behalf >>Of gene Martinez >>Sent: Wednesday, February 02, 2005 12:58 PM >>To: [email protected] >>Subject: [SA-list] command line options? >><bold>I running salive 4.1.160 (haven't made the change yet) on a >>win98 box with (3) nics on my home network. I have it check >>Smoothwall, sometime the check fails and you can't even ping the >>firewall from this box. It's not Smoothwall as I can ping and access >>from other boxes on the same network. What I have found is if I do a >>release/ping/renew on the box that checks salive it will then work >>(ping/webpage) check on the next cycle. What I'd like to do is (if >>the check failes) and salive runs the batch file that does the >>release/renew is add a line to have salive start the checks again, >>rather then waiting for the next cycle. Can't you do a salive /update >>to have it restart the checks? I lookded at the doc's and didn't see >>any list of command line options (but I thought) it had some???? >> >></bold> >> >>Thansk >> >>Regards, >> >> >>Gene >> >> [EMAIL PROTECTED] >> >> http://www.eclipse.net/~njkat >>No virus found in this outgoing message. >>Checked by AVG Anti-Virus. >>Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 2/1/2005 >> >> >> >>To unsubscribe from a list, send a mail message to [EMAIL PROTECTED] >>With the following in the body of the message: >> unsubscribe SAlive >> >> >> >>-- >>No virus found in this incoming message. >>Checked by AVG Anti-Virus. >>Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 2/1/2005 >> >> >Regards, > >Gene > [EMAIL PROTECTED] > http://www.eclipse.net/~njkat > > >-- >No virus found in this outgoing message. >Checked by AVG Anti-Virus. >Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 2/1/2005 > >To unsubscribe from a list, send a mail message to [EMAIL PROTECTED] >With the following in the body of the message: > unsubscribe SAlive > > > >To unsubscribe from a list, send a mail message to [EMAIL PROTECTED] >With the following in the body of the message: > unsubscribe SAlive > >To unsubscribe from a list, send a mail message to [EMAIL PROTECTED] >With the following in the body of the message: > unsubscribe SAlive > > > >-- >No virus found in this incoming message. >Checked by AVG Anti-Virus. >Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 2/3/2005 > > Regards, Gene [EMAIL PROTECTED] http://www.eclipse.net/~njkat -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 2/3/2005 To unsubscribe from a list, send a mail message to [EMAIL PROTECTED] With the following in the body of the message: unsubscribe SAlive To unsubscribe from a list, send a mail message to [EMAIL PROTECTED] With the following in the body of the message: unsubscribe SAlive
