Считаете, что Ubuntu недостаточно дружелюбна к новичкам? Помогите создать новое Руководство для новичков!
0 Пользователей и 1 Гость просматривают эту тему.
squid -v
Дык мне без разницы главное,чтобы работалПросто squid(2.7) он пустой
http_port 192.168.0.1:3128visible_hostname myicp_port 0cache_dir ufs /var/spool/squid 1000 16 256hierarchy_stoplist cgi-bin ?cache_log /var/log/squid/cache.logicp_query_timeout 0maximum_icp_query_timeout 0mcast_icp_query_timeout 0dead_peer_timeout 0 secondsforward_timeout 0 minutesconnect_timeout 0 minutespeer_connect_timeout 0 secondsread_timeout 0 minutesrequest_timeout 0 minutespersistent_request_timeout 0 minutespconn_timeout 0 secondsident_timeout 0 secondsdns_timeout 0 minutesdns_retransmit_interval 0 secondssnmp_port 0cache_mem 64 MBcache_swap_low 0cache_swap_high 0maximum_object_size 0 KBminimum_object_size 0 KBmaximum_object_size_in_memory 0 KBipcache_size 0ipcache_low 0ipcache_high 0fqdncache_size 0ftp_list_width 0memory_pools_limit 0 MBwais_relay_port 0request_header_max_size 0 KBrequest_body_max_size 0 KBquick_abort_min 0 KBquick_abort_max 0 KBquick_abort_pct 0read_ahead_gap 0 KBnegative_ttl 0 minutespositive_dns_ttl 0 secondsnegative_dns_ttl 0 secondsrange_offset_limit 0 KBrefresh_stale_hit 0client_lifetime 0 dayshutdown_lifetime 0 secondsreply_header_max_size 0 KBannounce_period 0announce_port 0logfile_rotate 10tcp_recv_bufsize 0 bytesminimum_direct_hops 0minimum_direct_rtt 0store_avg_object_size 0 KBstore_objects_per_bucket 0netdb_low 0netdb_high 0netdb_ping_period 0 minutesmaximum_single_addr_tries 0wccp_version 0wccp2_forwarding_method 0wccp2_return_method 0wccp2_assignment_method 0wccp2_service standard 0wccp2_weight 0incoming_icp_average 0incoming_http_average 0incoming_dns_average 0min_icp_poll_cnt 0min_dns_poll_cnt 0min_http_poll_cnt 0max_open_disk_fds 0digest_bits_per_entry 0digest_rebuild_period 0 secondsdigest_rewrite_period 0 secondsdigest_swapout_chunk_size 0 bytesdigest_rebuild_chunk_percentage 0high_response_time_warning 0high_page_fault_warning 0high_memory_warning 0sleep_after_fork 0minimum_expiry_time 0 secondsmax_filedesc 0authenticate_cache_garbage_interval 0 secondsauthenticate_ttl 0 secondsauthenticate_ip_ttl 0check_hostnames offdns_defnames offemulate_httpd_log offlog_ip_on_direct offlog_mime_hdrs offlog_fqdn offftp_passive offftp_sanitycheck offftp_telnet_protocol offallow_underscore offmemory_pools offacl_uses_indirect_client offhalf_closed_clients offhttpd_suppress_version_string offdelay_pool_uses_indirect_client offlog_uses_indirect_client offvia offforwarded_for offlog_icp_queries offhttpd_accel_no_pmtu_disc offclient_db officp_hit_stale offquery_icmp offtest_reachability offbuffered_logs offreload_into_ims offglobal_internal_static offshort_icon_urls offoffline_mode offnonhierarchical_direct offprefer_direct offstrip_query_terms offredirector_bypass offignore_unknown_nameservers offclient_persistent_connections offserver_persistent_connections offpersistent_connection_after_error offdetect_broken_pconn offbalance_on_multiple_ip offpipeline_prefetch offrequest_entities offie_refresh offvary_ignore_expire offrelaxed_header_parser offcache_vary offretry_on_error offcollapsed_forwarding offwccp2_rebuild_wait offdigest_generation offacl localhost src 127.0.0.1/255.255.255.255acl UserNet src 192.168.0.0/255.255.255.0acl all src 0.0.0.0/0.0.0.0acl manager proto cache objectacl SMTP port 25acl SSL_ports port 443 # httpsacl SSL_ports port 563 # snewsacl SSL_ports port 873 # rsyncacl Safe_ports port 80acl Safe_ports port 21acl Safe_ports port 443 563acl Safe_ports port 777acl purge method PURGEacl CONNECT method CONNECThttp_access allow manager localhosthttp_access allow purge localhosthttp_access allow localhosthttp_access allow UserNeticp_access allow UserNethttp_access deny managerhttp_access deny purgehttp_access deny !Safe_portshttp_access deny CONNECT !SSL_portshttp_access deny SMTPhttp_access deny allicp_access deny all
Запускать сквид с консоли squid -NCd1
# TAG: cache_logcache_log /var/log/squid/cache.log
Просто под рутом набрать команду и все?
squid -NCd1
Как сделать,чтобы у пользователей были свои логины и пароли?Мне сказали,что это NCSA авторизация,чтоли?
auth_param basic program /usr/lib/squid/ncsa_auth /usr/etc/passwdauth_param basic children 5auth_param basic realm Squid proxy-caching web serverauth_param basic credentialsttl 2 hoursauth_param basic casesensitive off#Recommended minimum configuration:acl all src allacl manager proto cache_objectacl localhost src 127.0.0.1/32acl to_localhost dst 127.0.0.0/8acl localnet src 192.168.0.0/24http_access allow manager localhosthttp_access deny managerhttp_access allow purge localhosthttp_access deny purgehttp_access deny !Safe_portshttp_access deny CONNECT !SSL_portshttp_access allow localhosthttp_access deny allicp_access allow localneticp_access deny allhttp_port 192.168.0.1:3128
2009/08/10 12:53:27| WARNING: basicauthenticator #1 (FD 7) exited2009/08/10 12:53:27| WARNING: basicauthenticator #2 (FD 8) exited2009/08/10 12:53:27| WARNING: basicauthenticator #3 (FD 9) exited2009/08/10 12:53:27| Too few basicauthenticator processes are runningFATAL: The basicauthenticator helpers are crashing too rapidly, need help!Aborted (core dumped)
при установке самс в *.deb пакетах.Он устанавливает sams and sams_doc, а sams_web не устанавливает.Говорит что не может перезаписать sams.conf(Права давал не помогло)
При запуске он мне выдает...
Страница сгенерирована за 0.018 секунд. Запросов: 19.