Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Witam!
Chciałbym skonfigurować squida tak aby nie zapisywał - buforował żadnych plików na dysku!
Chce aby je "przepuszczał" i nic więcej. Najlepiej gdyby ich nawet nie ładował do pamięci RAM.
Chodzi mi o jak najszybsze jego działanie. Aby strony nie wczytywały sie w nieskończoność.
Po co ?
Chodzi o blokowanie wybranych stron i gromadzenie statystyk odnośnie ruchu.
Siedze przy tym już już 10 godz i mam dość :/
===============================================================
cache deny all acl block_www url_regex "/etc/squid3/block_www.acl" http_access deny block_www acl manager proto cache_object acl localhost src 127.0.0.1/32 ::1 acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1 acl localnet src 192.168.4.0/22 # RFC1918 possible internal network acl SSL_ports port 443 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # https acl Safe_ports port 70 # gopher acl Safe_ports port 210 # wais acl Safe_ports port 1025-65535 # unregistered ports acl Safe_ports port 280 # http-mgmt acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http acl CONNECT method CONNECT http_access allow manager localhost http_access deny manager http_access deny !Safe_ports http_access deny CONNECT !SSL_ports http_access allow localnet http_access deny all http_port 3128 intercept cache_mem 4024 MB maximum_object_size_in_memory 0 KB memory_replacement_policy heap GDSF cache_replacement_policy heap LFUDA minimum_object_size 0 KB maximum_object_size 0 MB cache_swap_low 80 cache_swap_high 90 access_log /var/log/squid3/access.log squid cache_store_log /var/log/squid3/store.log cache_log /var/log/squid3/cache.log coredump_dir /dev/null coredump_dir /var/spool/squid3 request_body_max_size 2 MB half_closed_clients off shutdown_lifetime 10 seconds cache_effective_user proxy dns_defnames on dns_nameservers 8.8.8.8 ipcache_size 16384 ipcache_low 90 ipcache_high 97 fqdncache_size 0 memory_pools on memory_pools_limit 100 MB
Ostatnio edytowany przez rafalkobex (2014-10-23 13:20:39)
Offline
Time (s) | Query |
---|---|
0.00009 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00089 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.144.43.194' WHERE u.id=1 |
0.00065 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.144.43.194', 1732808822) |
0.00048 | SELECT * FROM punbb_online WHERE logged<1732808522 |
0.00060 | SELECT topic_id FROM punbb_posts WHERE id=277946 |
0.00073 | SELECT id FROM punbb_posts WHERE topic_id=26599 ORDER BY posted |
0.00086 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=26599 AND t.moved_to IS NULL |
0.00007 | SELECT search_for, replace_with FROM punbb_censoring |
0.00095 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=26599 ORDER BY p.id LIMIT 0,25 |
0.00071 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=26599 |
Total query time: 0.00607 s |