si es necesario :(
Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
Menú Mostrar Mensajes[global]
workgroup = WORKGROUP #este parametro tienes que poner el nombre del grupo de trabajo
server string = Servidor de Archivos
dns proxy = no
security = user
passdb backend = tdbsam
cups options = raw
socket options = TCP_NODELAY
usershare allow guests = yes
map to guest = Bad User
username map = /etc/samba/smbusers # esto es para que cualquiera pueda entrar sin autenticacion
guest ok = yes
log file = /var/log/samba/log.%m
max log size = 100
syslog = 0
name resolve order = lmhosts host wins bcast
time server = yes
interfaces = lo eth0 192.168.10.0/24
hosts allow = 127. 192.168.2.
# veto files = /*.inf/*.bat/*.scr/*.lnk/*.cmd/
# delete veto files = yes
########## Printing ##########
load printers = yes
printing = cups
printcap name = cups
usershare max shares = 100
encrypt passwords = true
guest account = nobody
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = yes
read only = yes
use client driver = Yes
# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = yes
##################
Carpetas compartidas
##################
[Documentos] # Nombre del recurso compartido
path = /home/servidor/Documentos # Ubicacion de la carpeta a compartir
writeable = yes # permisos de escritura
browseable = yes # permisos de lectura
guest ok = yes # permisos de invitados sin autenticacion
#include <vector>
#include "../utils.cpp"
// use this line to compile
// g++ -I. -fPIC -shared -g -o minedu.gob.pe.so minedu.gob.pe.cpp
//regex
// http.*\.minedu\.gob\.pe.*(\.swf|\.jpg|\.png|\.gif|\.exe|\.rar|\.flv|\.pdf|\.zip)
string dominiotxt="minedu";
string get_filename(string url) {
vector<string> resultado;
if (url.find("?") != string::npos) {
stringexplode(url, "?", &resultado);
stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
return resultado.at(resultado.size()-4) + "_" + resultado.at(resultado.size()-3) + "_" + resultado.at(resultado.size()-2) + "_" +resultado.at(resultado.size()-1);
} else {
stringexplode(url, "/", &resultado);
return resultado.at(resultado.size()-4) + "_" + resultado.at(resultado.size()-3) + "_" + resultado.at(resultado.size()-2) + "_" +resultado.at(resultado.size()-1); ;
}
}
extern "C" resposta getmatch(const string url) {
resposta r;
if ( (url.find("sistemas10") != string::npos)
) {
dominiotxt="minedu_siagie";
}
if ( (url.find(".minedu.gob.pe") != string::npos)
) {
r.file = get_filename(url);
if (!r.file.empty()) {
r.match = true;
r.domain = dominiotxt;
} else {
r.match = false;
}
} else {
r.match = false;
}
return r;
}
#include <iostream>
#include <cstring>
#include <vector>
#include "../utils.cpp"
// use this line to compile
// g++ -I. -fPIC -shared -g -o perueduca.pe.so perueduca.pe.cpp
// regex
// http.*\.perueduca\.pe.*(\.swf|\.jpg|\.png|\.gif|\.exe|\.rar|\.flv|\.pdf|\.zip)
string get_filename(string url) {
vector<string> resultado;
if (url.find("?") != string::npos) {
stringexplode(url, "?", &resultado);
stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
return resultado.at(resultado.size()-3)+"_"+resultado.at(resultado.size()-2)+"_"+resultado.at(resultado.size()-1);
} else {
stringexplode(url, "/", &resultado);
return resultado.at(resultado.size()-3)+"_"+resultado.at(resultado.size()-2)+"_"+resultado.at(resultado.size()-1);
}
}
extern "C" resposta getmatch(const string url) {
resposta r;
if ( (url.find(".perueduca.pe/") != string::npos)
) {
r.file = get_filename(url);
if (!r.file.empty()) {
r.match = true;
r.domain = "MINEDU-PeruEduca";
} else {
r.match = false;
}
} else {
r.match = false;
}
return r;
}
Cita de: rifranco202325 en Noviembre 15, 2013, 12:01:53 AM
probando y probando me sale esto y se supone q debe ser en gb pero me sale mb nose porq me sale asi alguien me puede ayudar con esto gracias
y por otro lado esta bien q salga como 3 disco si apenas tengo 2 uno q esta en el sistema q es de 500gb y para cache q lo tengo de 1tra
Cita de: Miguekos1233 en Septiembre 19, 2013, 12:25:09 PM
Disculpen amigos una pregunta.. tengo tiempo leyendo el foro y me parece bastante interesante todo..
Les planteo la duda Juegan bien el Dota 2 y sus clientes con el Thunder? No les genera mas lag tener el thunder?
por lo poco que pude apreciar si conecto el thunder es casi imposible ya que el lag aumenta si lo desconecto juego mucho mejor..
#include <iostream>
#include <cstring>
#include <vector>
#include "../utils.cpp"
// use this line to compile
// g++ -I. -fPIC -shared -g -o steampowered.com.so steampowered.com.cpp
//by delfpc
//regex
// http.*\.steampowered\.com.*
string dominiotxt="steampowered";
string get_filename(string url) {
vector<string> resultado;
if (url.find("?") != string::npos) {
stringexplode(url, "?", &resultado);
stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
return resultado.at(resultado.size()-4) + "_" + resultado.at(resultado.size()-3) + "_" + resultado.at(resultado.size()-2) + "_" +resultado.at(resultado.size()-1);
} else {
stringexplode(url, "/", &resultado);
return resultado.at(resultado.size()-4) + "_" + resultado.at(resultado.size()-3) + "_" + resultado.at(resultado.size()-2) + "_" +resultado.at(resultado.size()-1); ;
}
}
extern "C" resposta getmatch(const string url) {
resposta r;
if ( (url.find("/depot/") != string::npos)
) {
dominiotxt="steampowered_actualiz";
}
if ( (url.find("/public/") != string::npos)
) {
dominiotxt="steampowered_louncher";
}
if ( (url.find("/apps/") != string::npos)
) {
dominiotxt="steampowered_tienda";
}
if ( (url.find(".steampowered.com") != string::npos)
) {
r.file = get_filename(url);
if (!r.file.empty()) {
r.match = true;
r.domain = dominiotxt;
} else {
r.match = false;
}
} else {
r.match = false;
}
return r;
}
#include <iostream>
#include <cstring>
#include <vector>
#include "../utils.cpp"
// use this line to compile
// g++ -I. -fPIC -shared -g -o dota2.com.so dota2.com.cpp
//by delfpc
// regex
// http.*\.dota2\.com.*(\.exe|\.flv|\.swf|\.gif|\.png|\.jpg|\.rar)
string get_filename(string url) {
vector<string> resultado;
if (url.find("?") != string::npos) {
stringexplode(url, "?", &resultado);
stringexplode(resultado.at(resultado.size()-2), "/", &resultado);
return resultado.at(resultado.size()-3)+"_"+resultado.at(resultado.size()-2)+"_"+resultado.at(resultado.size()-1);
} else {
stringexplode(url, "/", &resultado);
return resultado.at(resultado.size()-3)+"_"+resultado.at(resultado.size()-2)+"_"+resultado.at(resultado.size()-1);
}
}
extern "C" resposta getmatch(const string url) {
resposta r;
if ( (url.find("dota2.com") != string::npos) and
(url.find(".exe") != string::npos) or
(url.find(".flv") != string::npos) or
(url.find(".swf") != string::npos) or
(url.find(".gif") != string::npos) or
(url.find(".png") != string::npos) or
(url.find(".jpg") != string::npos) or
(url.find(".rar") != string::npos)
) {
r.file = get_filename(url);
if (!r.file.empty()) {
r.match = true;
r.domain = "steampowered_Dota2/Web";
} else {
r.match = false;
}
} else {
r.match = false;
}
return r;
}
#----------------------------------------------------------------------
# Sitios que se les niega el cache
#----------------------------------------------------------------------
acl nocache dstdomain .4shared.com .steampowered.com .youtube.com .windowsupdate.com .gl$
no_cache deny nocache
1368337969.375 2604 192.168.2.20 TCP_MISS/206 262595 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/208.51.92.25 text/plain
1368337969.985 5218 192.168.2.20 TCP_MISS/206 262646 GET http://llnw.blizzard.com/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/68.142.101.254 application/octet-stream
1368337970.049 8252 192.168.2.20 TCP_MISS/206 262595 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/208.51.92.25 text/plain
1368337971.399 3629 192.168.2.20 TCP_MISS/206 524788 GET http://llnw.blizzard.com/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Swarm.SC2Campaign/Base.SC2Assets - DIRECT/68.142.101.254 application/octet-stream
1368337973.425 3647 192.168.2.20 TCP_MISS/206 262593 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Swarm.SC2Campaign/Base.SC2Assets - DIRECT/208.51.92.25 text/plain
1368337974.132 3337 192.168.2.20 TCP_MISS/206 262595 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/208.51.92.25 text/plain
1368337974.762 3968 192.168.2.20 TCP_MISS/206 524788 GET http://llnw.blizzard.com/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Swarm.SC2Campaign/Base.SC2Assets - DIRECT/68.142.101.254 application/octet-stream
1368337974.886 3084 192.168.2.20 TCP_MISS/206 213492 GET http://llnw.blizzard.com/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/68.142.101.254 application/octet-stream
1368337975.939 2148 192.168.2.20 TCP_MISS/206 262593 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Swarm.SC2Campaign/Base.SC2Assets - DIRECT/208.51.92.25 text/plain
1368337977.431 2642 192.168.2.20 TCP_MISS/206 262595 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/208.51.92.25 text/plain
1368337979.493 3678 192.168.2.20 TCP_MISS/206 262646 GET http://llnw.blizzard.com/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/68.142.101.254 application/octet-stream
1368337980.839 5024 192.168.2.20 TCP_MISS/206 1049079 GET http://llnw.blizzard.com/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/68.142.101.254 application/octet-stream
1368337981.079 3275 192.168.2.20 TCP_MISS/206 262595 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/208.51.92.25 text/plain
1368337981.223 4420 192.168.2.20 TCP_MISS/206 262595 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/208.51.92.25 text/plain
1368337982.281 2473 192.168.2.20 TCP_MISS/206 524790 GET http://llnw.blizzard.com/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/68.142.101.254 application/octet-stream
1368337984.291 2453 192.168.2.20 TCP_MISS/206 262593 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Swarm.SC2Campaign/Base.SC2Assets - DIRECT/208.51.92.25 text/plain
1368337984.321 2473 192.168.2.20 TCP_MISS/206 262595 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/208.51.92.25 text/plain
1368337984.859 3010 192.168.2.20 TCP_MISS/206 524790 GET http://llnw.blizzard.com/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/68.142.101.254 application/octet-stream
1368337988.127 3301 192.168.2.20 TCP_MISS/206 262595 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/208.51.92.25 text/plain
1368337989.700 4872 192.168.2.20 TCP_MISS/206 262595 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/208.51.92.25 text/plain
1368337990.620 7802 192.168.2.20 TCP_MISS/206 1049077 GET http://llnw.blizzard.com/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/68.142.101.254 application/octet-stream
1368337991.153 5325 192.168.2.20 TCP_MISS/206 524788 GET http://llnw.blizzard.com/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Swarm.SC2Campaign/Base.SC2Assets - DIRECT/68.142.101.254 application/octet-stream
1368337992.051 1190 192.168.2.20 TCP_MISS/206 197110 GET http://llnw.blizzard.com/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/68.142.101.254 application/octet-stream
1368337992.495 2641 192.168.2.20 TCP_MISS/206 262593 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Swarm.SC2Campaign/Base.SC2Assets - DIRECT/208.51.92.25 text/plain
1368337993.335 1477 192.168.2.20 TCP_MISS/206 262644 GET http://llnw.blizzard.com/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/68.142.101.254 application/octet-stream
1368337993.763 891 192.168.2.20 TCP_MISS/206 82421 GET http://llnw.blizzard.com/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/68.142.101.254 application/octet-stream
1368337761.594 6441 192.168.2.20 TCP_MISS/206 262593 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Swarm.SC2Campaign/Base.SC2Assets - DIRECT/200.60.136.24 text/plain
1368337763.650 4488 192.168.2.20 TCP_MISS/206 262595 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/200.60.136.24 text/plain
1368337763.713 1531 192.168.2.20 TCP_MISS/206 262595 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/200.60.136.24 text/plain
1368337764.725 9573 192.168.2.20 TCP_MISS/206 524788 GET http://llnw.blizzard.com/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Swarm.SC2Campaign/Base.SC2Assets - DIRECT/68.142.101.254 application/octet-stream
1368337765.985 1812 192.168.2.20 TCP_MISS/206 262593 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Swarm.SC2Campaign/Base.SC2Assets - DIRECT/200.60.136.24 text/plain
1368337766.309 2135 192.168.2.20 TCP_MISS/206 262595 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/200.60.136.24 text/plain
1368337766.905 729 192.168.2.20 TCP_MISS/206 262595 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/200.60.136.24 text/plain
1368337768.211 1020 192.168.2.20 TCP_MISS/206 262595 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/200.60.136.24 text/plain
1368337768.553 1360 192.168.2.20 TCP_MISS/206 262595 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/200.60.136.24 text/plain
1368337771.075 5910 192.168.2.20 TCP_MISS/206 786934 GET http://llnw.blizzard.com/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/68.142.101.254 application/octet-stream
1368337771.985 2777 192.168.2.20 TCP_MISS/206 262595 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/200.60.136.24 text/plain
1368337772.424 10251 192.168.2.20 TCP_MISS/206 524790 GET http://llnw.blizzard.com/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/68.142.101.254 application/octet-stream
1368337773.725 1521 192.168.2.20 TCP_MISS/206 262593 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/200.60.136.24 text/plain
1368337773.813 4605 192.168.2.20 TCP_MISS/206 262593 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Swarm.SC2Campaign/Base.SC2Assets - DIRECT/200.60.136.24 text/plain
1368337773.953 2748 192.168.2.20 TCP_MISS/206 246262 GET http://llnw.blizzard.com/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/68.142.101.254 application/octet-stream
1368337775.543 1311 192.168.2.20 TCP_MISS/206 262595 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/200.60.136.24 text/plain
1368337775.651 1419 192.168.2.20 TCP_MISS/206 262593 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/200.60.136.24 text/plain
1368337776.003 1774 192.168.2.20 TCP_MISS/206 262644 GET http://llnw.blizzard.com/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/68.142.101.254 application/octet-stream
1368337777.724 1504 192.168.2.20 TCP_MISS/206 262593 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Swarm.SC2Campaign/Base.SC2Assets - DIRECT/200.60.136.18 text/plain
1368337777.844 1624 192.168.2.20 TCP_MISS/206 262593 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/200.60.136.18 text/plain
1368337779.854 1633 192.168.2.20 TCP_MISS/206 262593 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/200.60.136.18 text/plain
1368337780.206 3000 192.168.2.20 TCP_MISS/206 524790 GET http://llnw.blizzard.com/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/68.142.101.254 application/octet-stream
1368337781.202 981 192.168.2.20 TCP_MISS/206 262595 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/200.60.136.18 text/plain
1368337782.089 3869 192.168.2.20 TCP_MISS/206 262595 GET http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Liberty.SC2Campaign/Base.SC2Assets - DIRECT/200.60.136.18 text/plain
1368337782.270 9064 192.168.2.20 TCP_MISS/206 1049077 GET http://llnw.blizzard.com/sc2-pod-retail/AF11CD00/NA/24621.direct/Campaigns/Swarm.SC2Campaign/Base.SC2Assets - DIRECT/68.142.101.254 application/octet-stream