DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2011-02-15 00:50:35

neerav
Member
Registered: 2011-01-16
Posts: 15

Kaspersky update utility on DNS-321

Has anyone tried to run an automatic update program for Kaspersky on their NAS?

Here is what I am trying to do: create a Kaspersky update directory on the NAS which would update once a day which I can then use to update computers in my network.  I install Kaspersky on lots of computers that I repair.  Each time I install, the update is around 85MB and takes 20+ minutes to download. 

However, there are update tools for Windows available (GUI based) and one for Linux available at http://forum.kaspersky.com/index.php?showforum=94  Running the linux version on my Mac gave me a cannot run binary error.  Running the retranslator file (with exec perm) on the NAS gave me this error: "./retranslator.bin: 1: Syntax error: "(" unexpected"

I considered trying an rsync to their update ftp site, ftp://dnl-10.geo.kaspersky.com/  but don't think rsync would work, let alone there are way too many unnecessary directories there and can't be sure which "bases" directory is the right one.

Any ideas on making an update repository on the NAS?


Neerav
DNS-321 • 2 x 2TB WD20EADS in standard mode • ffp 0.5

Offline

 

#2 2011-02-15 20:00:29

shad0wca7
Member
Registered: 2011-01-07
Posts: 13

Re: Kaspersky update utility on DNS-321

Why not just set up a cron job to pull the file from their ftp every night?

Offline

 

#3 2011-02-15 20:37:16

karlrado
Member
Registered: 2009-12-07
Posts: 229

Re: Kaspersky update utility on DNS-321

wget --mirror ftp://dnl-10.geo.kaspersky.com/

would work well.  You can add the --exclude-directories option to prune out parts you don't need.  This will also only download changes that were made since the last download, so you don't d/l the same stuff over and over.

You'd want to run this from a cron job at some interval.

Rsync really would not work unless they were running an rsync server at their site.

The updaters they talk about at that site seem to be precompiled apps that probably are not built for arm and would be a long way from running on the 323.  If I were in your position, I think I'd want a mirror of their download site, if I knew what to do with stuff found there.  The wget command above would give you that.


DNS-323 FW 1.07 : 2 1TB WD Caviar Green SATA : fun_plug: utelnet + optware (no ffp)

Offline

 

#4 2011-02-15 22:49:39

neerav
Member
Registered: 2011-01-16
Posts: 15

Re: Kaspersky update utility on DNS-321

shad0wca7, I plan on creating a cron job.  However, its not just one file to pull.  It's a maze of directories and subdirs, and subsubdirs.  The update utility allows one to choose which product updates to download and uses diff to grab the changes to hundreds of files.

karlrado, the wget method sounds intriguing.  However, practically none of the usual options are available for wget on the NAS. No -x, --exclude-directories, or --mirror

/ffp/bin/wget: invalid option -- x
BusyBox v1.12.1 (2008-09-29 20:38:04 CEST) multi-call binary

Usage: wget [-c|--continue] [-s|--spider] [-q|--quiet] [-O|--output-document file]
    [--header 'header: value'] [-Y|--proxy on/off] [-P DIR]
    [-U|--user-agent agent] url

Retrieve files via HTTP or FTP

Options:
    -s    Spider mode - only check file existence
    -c    Continue retrieval of aborted transfer
    -q    Quiet
    -P    Set directory prefix to DIR
    -O    Save to filename ('-' for stdout)
    -U    Adjust 'User-Agent' field
    -Y    Use proxy ('on' or 'off')

Any other ideas?


Neerav
DNS-321 • 2 x 2TB WD20EADS in standard mode • ffp 0.5

Offline

 

#5 2011-02-16 19:05:39

karlrado
Member
Registered: 2009-12-07
Posts: 229

Re: Kaspersky update utility on DNS-321

Yeah, sorry about that.  This is another reason why I use optware instead of ffp; the optware packages are more up to date.  If you decide to go with wget, you might consider installing optware.  There are docs in the wiki that explain how.


DNS-323 FW 1.07 : 2 1TB WD Caviar Green SATA : fun_plug: utelnet + optware (no ffp)

Offline

 

#6 2011-02-19 18:14:14

neerav
Member
Registered: 2011-01-16
Posts: 15

Re: Kaspersky update utility on DNS-321

I just updated wget package in ffp.  All those options now available.  I'll play around with wget and see if I can accomplish what I need.

By the way, I also have optware installed, but I'd rather have everything in one place.  Still researching the optware vs ffp debate.


Neerav
DNS-321 • 2 x 2TB WD20EADS in standard mode • ffp 0.5

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB