Creación de Repositorios de actualizaciones de Kaspersky Antivirus.
Mié, 03/09/2011 - 03:27 --- yrjc2004
Hola el presente tutorial o How-To es para crear un repositorio de
actualización de Kaspersky Antivirus.
Primeramente procedemos a bajarnos la utilidad [1]
wget
http://utils.kaspersky.com/updater/retranslator_5.0.0.9/Linux/retranslator-5.0.0-9.tar.gz
autoseguido lo descompactamos donde desee yo siempre lo pongo en etc
tar-zxvf retranslator-5.0.0-9.tar.gz
Para los que usan sistemas basados en 64bit instalar este paquete
aptitude install ia32-libs
Ahora debemos saber que versiones de kas hay en nuestra red corriendo en
mi caso pongo el 6.0.4.1424 y de acuerdo a los componentes que nos
ofrece la siguiente tabla conformamos nuestra config para las
actualizaciones. wget
http://utils.kaspersky.com/updater/Update_components.pdf
ejemplo de la config del fichero
retranslator.conf
[path]
#
# Location of retranslated files.
# Lugar onde se guardaran las actualizaciones
RetranslationPath=/var/www/ftp/kav2010/
# Directory where to create and use temporary files.
#
TempPath=/tmp
[locale]
#
# Date formatting string. See date(1) man page for available formatting
options.
#
DateFormat=%d-%m-%Y
# Time formatting string. See date(1) man page for available formatting
options.
#
TimeFormat=%H:%M:%S
[updater.path]
#
# Path for backup of previous version of retranslated files.
#
BackUpPath=./backup/
# Path for store runing PID info. This file is used for prevent creation
of another program's instances.
#
PidFile=/var/run/kav-retranslator.pid
[updater.options]
#
# Optional specification of components to be retranslated.
# Estos son los componentes segun nuestra version de kas
RetranslateComponentsList=Updater, KDB, ARK, ADBU, AH, APU, AS, BB2,
CORE, BLST2, KAV2006EXEC, RM, WMUF, WA, EMU, PAS, ASTRM
# Optional specification of OS filter.
# Ojo no habilitar el filtro es un bug que hay en estos momentos
#os2=Win;Mac;Linux
#os2=Win
#
# Optional specification of instruction set filter.
# Solo activo 32bit ya que se queda en 70 a 90 las actualizaciones y
funciona perfecto con el server como con los clientes
#instrset=kernel:i386,x64;user:i386;
instrset=kernel:i386;user:i386;
#
# Optional specification of application filter.
#
#application=WKS 6.0.4.1424;
# Optional specification of build filter.
#
#build=1424
# Specifies the main update index.
# Note: You should not modify this option unless so advised
# by your customer support or expert user.
#
Index=u0607g.xml
# Specifies the root update path.
# Note: You should not modify this option unless so advised
# by your customer support or expert user.
#
IndexRelativeServerPath=index
# When set to "yes", keepup2date tries to perform an update from the
specified
# UpdateServerUrl. If that fails, then it uses the default list of servers.
#
UseUpdateServerUrl=no
# If UpdateServerUrl is used, but the update fails, the updater continues by
# trying the servers in its default list. If this setting is set to
"yes" (the
# (value assumed if not otherwise specified), keepup2date will not
fall-back if
# UpdateServerUrl is not usable, and stop trying other servers.
#
UseUpdateServerUrlOnly=no
# Specifies a custom URL from where to download the updates.
# URL ca be:
# http://location/ - to use HTTP protocol;
# ftp://location/ - to use FTP protocol;
# /local/path - to use a local path.
#
UpdateServerUrl=
# When the updater uses its default list of server, this setting can select
# a preferred region, and the servers from that region will be tried first.
# The region is entered as two letter country code, e.g. am, ar, at, az, be,
# bg, br, by, ca, cl, cn, cs, cz, de, ee, es, fr, gb, ge, gr, hk, hu,
it, jp,
# kg, kr, kz, lt, lv, md, mx, nl, pl, ro, ru, th, tj, tm, tr, tw, ua,
uk, us, uz.
#
# To obtain a list of the latest valid servers and region codes run
'keepup2date -s'.
#
RegionSettings=ru
# Network timeout setting, in seconds.
#
ConnectTimeout=20
# When set to "yes", updater does not display any information on operation
# progress.
#
KeepSilent=no
# When set to "yes" the updater will work only through the proxy, configured
# by ProxyAddress option, or from http_proxy or HTTP_PROXY environment vars.
# If this option is missing, the updater will try to find a proxy and use it
# or otherwise try to download directly.
#
UseProxy=no
# Specifies a proxy to be used for downloads, using the syntax:
# http://[username:password@]url:port/
#
ProxyAddress=http://proxy.midominio.cu:3128/
# Whether or not to use passive ftp (you may need to turn it on
# if you are behind a firewall).
#
PassiveFtp=no
#
# Command to be executed when an retranslate completes successfully.
# The commands must return 0 (SUCCESS) or 1 (FAIL). If command is not
successful, then
# it is logged as error.
#
PostRetranslateCmd=
[updater.report]
#
# When logging to file, defines whether to append new records
# to the report or overwrite the report at each session.
#
Append=no
# Report file name.
#
ReportFileName=./retranslator.log
# Defines how detailed the report entries should be.
# Detail levels are:
# 0 - Report only fatal errors. Only the errors, which result in program
# termination, or failure to start, are reported; for example, if a
# component failed to load a license file. Fatal errors have the 'F'
# mark in the log file.
# 1 - Report all errors. Reports not only fatal errors, but also any error,
# which affects program behavior, but not causing the component to
# terminate. Non-fatal errors have the 'E' mark in the log file.
# 2 - Report all errors and warnings. Also reports important information,
# which affects the component productivity, or may affect component ability
# to work in future; for example, if the license is about to be expired.
# Warnings have the 'W' mark in the log file.
# 3 - Report everything above, including the important information about the
# component life cycle. This includes information about the component
startup
# and shutdown, the expiration date of the license, the last update date
and so.
# Informational messages have the 'I' mark in the log file.
# 4 - Report everything above, including the information about the current
# component activity. Activity messages have the 'A' mark in the log file.
# Note that the total amount of activity information may be quite large.
# 9 - Report everything above, including the debugging information.
Please use
# this level if you are reporting bugs in the product. Do not forget to turn
# it off afterwords. Debug messages have 'D' mark in the log file.
#
ReportLevel=9
espero que les resulte
El 8/13/2013 11:53 AM, låzaro escribió:
y el que no pueda acceder a las actualziaciones de rimed
osea.. de donde se abaja el karpersky normalmente??
Thread name: "Re: [Gutl-l] script para actualizar Kasp"
Mail number: 2
Date: Tue, Aug 13, 2013
In reply to: José Alfredo Batista
bueno yo utilizo este scrip y hasta el momento me funciona perfecto
debes de instalar rsync
#!/bin/bash
# Replica de la actualización de Kaspersky
# desde rsync.ho.rimed.cu por Anibal...
####### Origen de actulización #######
rsyncurl="rsync://rsync.ho.rimed.cu/update/kaspersky/update/"
####### Destino de actulización #######
pathdown="/home/ftp/Antivirus/Actualizacion/kaspersky"
test -d $pathdown/update || mkdir -p $pathdown/update/
cd $pathdown
rsync -qa $pathdown/update/ $pathdown/.tmp/
rsync -qaz --delete $rsyncurl $pathdown/.tmp/
if [ $? -ne 0 ]; then
echo $(date "+%Y-%m-%d %H:%M") - Error descargando >> $pathdown/update.log
exit 1
fi
rsync -qa --delete $pathdown/.tmp/ $pathdown/update/
rm -R $pathdown/.tmp/
find $pathdown/ -type f -name "update_*.zip" -delete
zip -q -r update_$(date "+%Y-%m-%d").zip update/
echo $(date "+%Y-%m-%d %H:%M") - Actualizado >> $pathdown/update.log
exit 0
necesito un script para Debian para download las actualizaciones de
Kasperky antivirus y que el mismo las compacte diariamente
saludos
--
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que está limpio.
______________________________________________________________________
Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba.
Gutl-l@jovenclub.cu
https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l
--
**************************************************
* Lic. José Alfredo Batista *
* Administrador de la red *
* Dirección Municipal Educación Cacocum *
* Teléfono: 327-414 *
* Móvil: 53-407868 *
* Correo: j...@ca.ho.rimed.cu *
**************************************************
--
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que está limpio.
______________________________________________________________________
Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba.
Gutl-l@jovenclub.cu
https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l
--
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que está limpio.
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL:
<http://listas.jovenclub.cu/pipermail/gutl-l/attachments/20130813/abc51b80/attachment.html>
______________________________________________________________________
Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba.
Gutl-l@jovenclub.cu
https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l