I agree that something needs to be done about the update scripts that are
inadvertently downloading the full rulebase all the time. I didn't even
know it but we were doing this until I went through our update script again
this morning and found it didn't have the -N option in Wget, so we were
Why do you not use a program alias and only download when you receive
notification that a new rule base is available? If everyone used gzip and
only downloaded when notified the bandwidth could be controlled by
staggering the notifications.
Woody Fussell
Wilbur Smith Associates
-Original
Does anyone have some simple instructions on how to setup to use a program
alias?
I'm using Bill Landry's script, have not had the time to look in to using a
program alias to download upon receipt of notifications.
Thanks,
Brian Gregory
President
Network Innovations Inc.
(913) 780-0494 x104
Brian Gregory wrote:
Does anyone have some simple instructions on how to setup to use a program
alias?
I'm using Bill Landry's script, have not had the time to look in to using a
program alias to download upon receipt of notifications.
I just setup a program alias about 2 weeks ago using this as
On Tuesday, December 28, 2004, 12:49:21 PM, Jim wrote:
JM I agree that something needs to be done about the update scripts that are
JM inadvertently downloading the full rulebase all the time. I didn't even
JM know it but we were doing this until I went through our update script again
JM this
So far it seems to be working, at least it doesn't seem to be downloading
the rulebase yet, I'll have to see if it does later when there is an updated
rulebase. My script uses a copy at the end rather than a move. It's listed
below for reference. Do you see any issues?
wget -N
Update, I just launched my script and it is downloading just fine. In my
case it was as simple as adding the -N option.
Jim Matuska Jr.
Computer Tech2, CCNA
Nez Perce Tribe
Information Systems
[EMAIL PROTECTED]
- Original Message -
From: Pete McNeil [EMAIL PROTECTED]
To: Jim Matuska
Quick question if when you have a sucessful download if abcdef.new is
renamed than what is wget comparing on the next run of the script?
Darrell
Jim Matuska writes:
So far it seems to be working, at least it doesn't seem to be downloading
the rulebase yet, I'll have to see if it does later
While the output file is named .new, it IS comparing the file named in
the URL, in his case fp0o4jye.snf against a file with the same name in the
current directory. The output (-o) option only comes into play IF an
download is actually occurring (after the timestamp condition).
With CURL things
As far as I understand it wget is comparing the date stamp on the file in
the local directory to the date stamp on the file at sortmonster.net, if its
not don't download the file, if it is do download it.
Jim Matuska Jr.
Computer Tech2, CCNA
Nez Perce Tribe
Information Systems
[EMAIL PROTECTED]
Good point... I don't know why I didn't think of that... As soon as I
get in in the morning, I'm gonna change that... That's also one of the
reasons I posted to the list :) I'm always trying to make things harder
for myself ;)
Thanks,
Russ
Landry William wrote:
Russ, why go through all of
rename abcdefg.snf abcdefg.old
rename abcdefg.tst abcdefg.snf
copy /V /Y abcdefg.snf C:\sniffer\abcdefg.snf
:Done
I would use
copy /V /Y abcdefg.snf C:\sniffer\abcdefg.new
Rename C:\sniffer\abcdefg.snf abcdefg.old
Rename C:\sniffer\abcdefg.new abcdefg.snf
C:\sniffer\abcdefg.exe reload
-
rem this script is used to update sniffer rulbase
rem most of this was ibased on / inspired by what other users posted on this
list, I thanks everybody for their inputs
rem it calls wget, fgrep, imail1, gzip, snf2check
rem it checks for new files, and can be used by both alias trigger or
Attached is an updated instructions file to fix some typos and missed
information. I'll send out another update after receiving feedback from
others.
Bill
---
This message and any included attachments are from
Matt, you think too much.
;)
(From one who needs to implement better
scripts, including a triggered script for Sniffer.)
John Tolmachoff
Engineer/Consultant/Owner
eServices For You
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf
Title: Message
Thanks
for all of the suggestions, Matt. See my comments
below:
-Original Message-From: Matt
[mailto:[EMAIL PROTECTED] Sent: Tuesday, December 28, 2004 10:17
PMTo: sniffer@SortMonster.comSubject: Re: [sniffer]
Triggered rulebase update instructionsBill,I
Title: Message
John,
since you have not implemented a trigger program alias yet, would you be willing
to test the setup instructions and provide feedback?
Bill
-Original Message-From:
John Tolmachoff (Lists) [mailto:[EMAIL PROTECTED] Sent:
Tuesday, December 28, 2004 10:30 PMTo:
17 matches
Mail list logo