Squid Configuration Translation
This is a list of Squid 2.7 configuration directives, with their equivalent (when available) Traffic Server directives.
Note that there isn't a 1:1 relationship between the directives; rather, this list should be used to find the appropriate part of TS configuration to use.
Contents
- OPTIONS FOR AUTHENTICATION
- ACCESS CONTROLS
- OPTIONS FOR X-Forwarded-For
- SSL OPTIONS
- NETWORK OPTIONS
- OPTIONS WHICH AFFECT THE NEIGHBOR SELECTION ALGORITHM
- MEMORY CACHE OPTIONS
- DISK CACHE OPTIONS
- LOGFILE OPTIONS
- OPTIONS FOR FTP GATEWAYING
- OPTIONS FOR EXTERNAL SUPPORT PROGRAMS
- OPTIONS FOR URL REWRITING
- OPTIONS FOR TUNING THE CACHE
- HTTP OPTIONS
- TIMEOUTS
- ADMINISTRATIVE PARAMETERS
- OPTIONS FOR THE CACHE REGISTRATION SERVICE
- HTTPD-ACCELERATOR OPTIONS
- DELAY POOL PARAMETERS
- WCCPv1 AND WCCPv2 CONFIGURATION OPTIONS
- PERSISTENT CONNECTION HANDLING
- CACHE DIGEST OPTIONS
- SNMP OPTIONS
- ICP OPTIONS
- MULTICAST ICP OPTIONS
- INTERNAL ICON OPTIONS
- ERROR PAGE OPTIONS
- OPTIONS INFLUENCING REQUEST FORWARDING
- ADVANCED NETWORKING OPTIONS
- DNS OPTIONS
- MISCELLANEOUS
Anchor | ||||
---|---|---|---|---|
|
OPTIONS FOR AUTHENTICATION
- auth_param - records.config (proxy.config.proxy.authenticate.basic.realm, proxy.config.ldap.*, proxy.config.radius.*, proxy.config.ntlm.*), filter.config
- authenticate_cache_garbage_interval - n/a
- authenticate_ttl - records.config (proxy.config.*.auth.ttl_value)
- authenticate_ip_ttl - n/a
- authenticate_ip_shortcircuit_ttl - n/a
Anchor | ||||
---|---|---|---|---|
|
ACCESS CONTROLS
- external_acl_type - n/a
- acl - n/a
- http_access - ip_allow.config, filter.config
- http_access2 - n/a
- http_reply_access - n/a
- icp_access - ???
- htcp_access - n/a
- htcp_clr_access - n/a
- miss_access - n/a
- ident_lookup_access - n/a
- reply_body_max_size - n/a
- authenticate_ip_shortcircuit_access - ip_allow.config, filter.config
Anchor | ||||
---|---|---|---|---|
|
OPTIONS FOR X-Forwarded-For
- follow_x_forwarded_for - n/a
- acl_uses_indirect_client - n/a
- delay_pool_uses_indirect_client - n/a
- log_uses_indirect_client - n/a
Anchor | ||||
---|---|---|---|---|
|
SSL OPTIONS
- ssl_unclean_shutdown - n/a
- ssl_engine - records.config (proxy.config.ssl.accelerator.type, proxy.config.ssl.*.lib.path)
- sslproxy_client_certificate - records.config (proxy.config.ssl.client.cert.path, proxy.config.ssl.client.cert.filename)
- sslproxy_client_key - records.config (proxy.config.ssl.client.private_key.path, proxy.config.ssl.client.private_key.filename)
- sslproxy_version - n/a
- sslproxy_options - n/a
- sslproxy_cipher - n/a
- sslproxy_cafile - records.config (proxy.config.ssl.client.CA.cert.filename)
- sslproxy_capath - records.config (proxy.config.ssl.client.CA.cert.path)
- sslproxy_flags - n/a
- sslpassword_program - n/a
Anchor | ||||
---|---|---|---|---|
|
NETWORK OPTIONS
- http_port - records.config (proxy.config.http.server_port, proxy.config.http_server_other_ports, proxy.config.http.server_port_attr, proxy.config.reverse_proxy.enabled, proxy.config.arm.enabled)
- https_port - records.config (proxy.config.ssl.server_port, proxy.config.ssl.server.*)
- tcp_outgoing_tos - n/a
- tcp_outgoing_address - n/a
- zph_mode - n/a
- zph_local - n/a
- zph_sibling - n/a
- zph_parent - n/a
- zph_option - n/a
Anchor | ||||
---|---|---|---|---|
|
OPTIONS WHICH AFFECT THE NEIGHBOR SELECTION ALGORITHM
- cache_peer - parent.config, icp.config, remap.config ssl_multicert.config, records.config (proxy.config.http.parent_proxy.*)
- cache_peer_domain - parent.config, remap.config
- cache_peer_access - parent.config, remap.config
- neighbor_type_domain - n/a
- dead_peer_timeout - n/a
- hierarchy_stoplist - parent.config
Anchor | ||||
---|---|---|---|---|
|
MEMORY CACHE OPTIONS
- cache_mem - records.config (proxy.config.cache.ram_cache.size)
- maximum_object_size_in_memory - n/a
- memory_replacement_policy - n/a
Anchor | ||||
---|---|---|---|---|
|
DISK CACHE OPTIONS
- cache_replacement_policy - n/a
- cache_dir - storage.config
- store_dir_select_algorithm - n/a
- max_open_disk_fds - n/a
- minimum_object_size - n/a
- maximum_object_size - records.config (proxy.config.cache.max_doc_size)
- cache_swap_low - n/a
- cache_swap_high - n/a
- update_headers - n/a
Anchor | ||||
---|---|---|---|---|
|
LOGFILE OPTIONS
- logformat - logs_xml.config
- access_log - logs_xml.config
- log_access - logs_xml.config
- logfile_daemon - n/a
- cache_log - records.config (proxy.cnofig.output.logfile, proxy.config.syslog_facility)
- cache_store_log - n/a
- cache_swap_state - n/a
- logfile_rotate - logs_xml.config
- emulate_httpd_log - logs_xml.config
- log_ip_on_direct - logs_xml.config
- mime_table - n/a
- log_mime_hdrs - logs_xml.config
- useragent_log - logs_xml.config
- referer_log - logs_xml.config
- pid_filename - n/a
- debug_options - n/a
- log_fqdn - logs_xml.config
- client_netmask - n/a
- forward_log - logs_xml.config
- strip_query_terms
- buffered_logs - n/a
- netdb_filename - n/a
Anchor | ||||
---|---|---|---|---|
|
OPTIONS FOR FTP GATEWAYING
- ftp_user - records.config (proxy.config.http.ftp.anonymous_passwd)
- ftp_list_width - n/a
- ftp_passive - records.config (proxy.config.ftp.data_connection_mode)
- ftp_sanitycheck - n/a
- ftp_telnet_protocol - n/a
Anchor | ||||
---|---|---|---|---|
|
OPTIONS FOR EXTERNAL SUPPORT PROGRAMS
- diskd_program - n/a
- unlinkd_program - n/a
- pinger_program - n/a
Anchor | ||||
---|---|---|---|---|
|
OPTIONS FOR URL REWRITING
- storeurl_rewrite_program - n/a
- storeurl_rewrite_children - n/a
- storeurl_rewrite_concurrency - n/a
- url_rewrite_program - remap.config
- url_rewrite_children - n/a
- url_rewrite_concurrency - n/a
- url_rewrite_host_header - n/a
- url_rewrite_access - n/a
- storeurl_access - n/a
- redirector_bypass - n/a
- location_rewrite_program - remap.config
- location_rewrite_children - n/a
- location_rewrite_concurrency - n/a
- location_rewrite_access - n/a
Anchor | ||||
---|---|---|---|---|
|
OPTIONS FOR TUNING THE CACHE
- cache - cache.config
- max_stale - records.config (proxy.config.http.cache.max_stale_age)
- refresh_pattern - records.config (proxy.config.http.cache.ignore_client_no_cache, proxy.config.http.cache.ims_on_client_no_cache, proxy.config.http.cache.ignore_server_no_cache, proxy.config.http.cache.ignore_authentication, proxy.config.http.cache.when_to_revalidate, proxy.config.http.cache.required_headers, proxy.config.http.cache.heuriatic_min_lifetime, proxy.config.http.heuristic_max_lifetime, proxy.config.http.cache.heuristic_lm_factor), cache.config
- quick_abort_min - n/a
- quick_abort_max - records.config (proxy.config.http.background_fill_active_timeout)
- quick_abort_pct - records.config (proxy.config.http.background_fill_completed_threshold)
- read_ahead_gap - n/a
- negative_ttl - records.config (proxy.config.http.negative_caching_enabled, proxy.config.http.negative_caching_lifetime)
- positive_dns_ttl - records.config (proxy.config.hostdb.ttl_mode, proxy.config.hostdb.timeout)
- negative_dns_ttl - records.config (proxy.config.hostdb.ttl_mode, proxy.config.hostdb.timeout)
- range_offset_limit - records.config (proxy.config.http.cache.range.lookup)
- minimum_expiry_time - n/a
- store_avg_object_size - n/a
- store_objects_per_bucket - n/a
Anchor | ||||
---|---|---|---|---|
|
HTTP OPTIONS
- request_header_max_size - records.config (proxy.config.http.request_header_max_size)
- reply_header_max_size - records.config (proxy.config.http.response_header_max_size)
- request_body_max_size - n/a
- broken_posts - n/a
upgrade_http0.9 http://www.squid-cache.org/Versions/v2/2.7/cfgman/upgrade_http0.9.html - n/aAnchor toc_upgrade_http0.9 toc_upgrade_http0.9 - via - records.config (proxy.config.http.insert_request_via_str, proxy.config.http.insert_response_via_str)
- cache_vary - records.config (proxy.confg.cache.limits.http.max_alts)
- broken_vary_encoding - n/a
- collapsed_forwarding - records.config (proxy.config.connection_collapsing.*)
- refresh_stale_hit - records.config (proxy.config.http.cache.fuzz.time, proxy.config.http.cache.fuzz.probability)
- ie_refresh - records.config (proxy.config.http.cache.when_to_add_no_cache_to_msie_requests)
- vary_ignore_expire - n/a
- extension_methods - n/a
- request_entities - n/a
- header_access - records.config (proxy.config.http.anonymize_*), filter.config
- header_replace - n/a
- relaxed_header_parser
- server_http11 - records.config (proxy.config.http.send_http11_requests)
- ignore_expect_100 - n/a
- external_refresh_check
Anchor | ||||
---|---|---|---|---|
|
TIMEOUTS
- forward_timeout - n/a
- connect_timeout - records.config (proxy.config.http.connect_attempts_timeout)
- peer_connect_timeout - records.config (proxy.config.http.parent_proxy.connect_attempts_timeout)
- read_timeout - records.config (proxy.config.http.transaction_no_activity_timeout_out, proxy.config.http.transaction_no_activity_timeout_out)
- request_timeout - n/a
- persistent_request_timeout - records.config (proxy.config.http.keep_alive_no_activity_timeout_out)
- client_lifetime - records.config (proxy.config.http.transaction_active_timeout_in)
- half_closed_clients - n/a
- pconn_timeout - records.config (proxy.config.http.keep_alive_no_activity_timeout_in)
- ident_timeout - n/a
- shutdown_lifetime - n/a
Anchor | ||||
---|---|---|---|---|
|
ADMINISTRATIVE PARAMETERS
- cache_mgr - records.config (proxy.config.alarm_email)
- mail_from - n/a
- mail_program - n/a
- cache_effective_user - records.config (proxy.config.admin.user_id)
- cache_effective_group - n/a
- httpd_suppress_version_string - n/a
- visible_hostname - records.config (proxy.config.proxy_name)
- unique_hostname - records.config (proxy.config.proxy_name)
- hostname_aliases - n/a
- umask - n/a
Anchor | ||||
---|---|---|---|---|
|
OPTIONS FOR THE CACHE REGISTRATION SERVICE
- announce_period - n/a
- announce_host - n/a
- announce_file - n/a
- announce_port - n/a
Anchor | ||||
---|---|---|---|---|
|
HTTPD-ACCELERATOR OPTIONS
- httpd_accel_no_pmtu_disc - n/a
Anchor | ||||
---|---|---|---|---|
|
DELAY POOL PARAMETERS
- delay_pools - n/a
- delay_class - n/a
- delay_access - n/a
- delay_parameters - n/a
- delay_initial_bucket_level - n/a
Anchor | ||||
---|---|---|---|---|
|
WCCPv1 AND WCCPv2 CONFIGURATION OPTIONS
- wccp_router - records.config (proxy.config.wccp.enabled, proxy.config.wccp.router_ip)
- wccp2_router - records.config (proxy.config.wccp.enabled, proxy.config.wccp.router_ip)
- wccp_version - records.config (proxy.config.wccp.version)
- wccp2_rebuild_wait - n/a
- wccp2_forwarding_method - wccp_config.xml
- wccp2_return_method - wccp_config.xml
- wccp2_assignment_method - wccp_config.xml
- wccp2_service - wccp_config.xml
- wccp2_service_info - wccp_config.xml
- wccp2_weight - n/a
- wccp_address - wccp_config.xml
- wccp2_address - wccp_config.xml
Anchor | ||||
---|---|---|---|---|
|
PERSISTENT CONNECTION HANDLING
- client_persistent_connections - records.config (proxy.config.http.keep_alive_enabled, proxy.config.http.chunking_enabled)
- server_persistent_connections - records.config (proxy.config.http.keep_alive_enabled, proxy.config.http.chunking_enabled)
- persistent_connection_after_error - n/a
- detect_broken_pconn - n/a
Anchor | ||||
---|---|---|---|---|
|
CACHE DIGEST OPTIONS
- digest_generation - n/a
- digest_bits_per_entry - n/a
- digest_rebuild_period - n/a
- digest_rewrite_period - n/a
- digest_swapout_chunk_size - n/a
- digest_rebuild_chunk_percentage - n/a
Anchor | ||||
---|---|---|---|---|
|
SNMP OPTIONS
- snmp_port - snmpd.cnf
- snmp_access - snmpd.cnf
- snmp_incoming_address - n/a
- snmp_outgoing_address - n/a
Anchor | ||||
---|---|---|---|---|
|
ICP OPTIONS
- icp_port - records.config (proxy.config.icp.icp_interface, proxy.config.icp.icp_port, proxy.config.icp.multicast_enabled)
- htcp_port - n/a
- log_icp_queries - logs_xml.config
- udp_incoming_address - n/a
- udp_outgoing_address - n/a
- icp_hit_stale - n/a
- minimum_direct_hops - n/a
- minimum_direct_rtt - n/a
- netdb_low - n/a
- netdb_high - n/a
- netdb_ping_period - n/a
- query_icmp - n/a
- test_reachability - n/a
- icp_query_timeout - records.config (proxy.config.icp.query_timeout)
- maximum_icp_query_timeout - n/a
- minimum_icp_query_timeout - n/a
Anchor | ||||
---|---|---|---|---|
|
MULTICAST ICP OPTIONS
- mcast_groups - n/a
- mcast_miss_addr - n/a
- mcast_miss_ttl - n/a
- mcast_miss_port - n/a
- mcast_miss_encode_key - n/a
- mcast_icp_query_timeout - n/a
Anchor | ||||
---|---|---|---|---|
|
INTERNAL ICON OPTIONS
- icon_directory - n/a
- global_internal_static - n/a
- short_icon_urls - n/a
Anchor | ||||
---|---|---|---|---|
|
ERROR PAGE OPTIONS
- error_directory - records.config (proxy.config.body_factory.*)
- error_map - records.config (proxy.config.body_factory.*)
- err_html_text - records.config (proxy.config.body_factory.*)
- deny_info - records.config (proxy.config.body_factory.*)
Anchor | ||||
---|---|---|---|---|
|
OPTIONS INFLUENCING REQUEST FORWARDING
- nonhierarchical_direct - parents.config
- prefer_direct - n/a
- ignore_ims_on_miss - n/a
- always_direct - parents.config
- never_direct - n/a
Anchor | ||||
---|---|---|---|---|
|
ADVANCED NETWORKING OPTIONS
- max_filedescriptors - n/a
- accept_filter - n/a
- tcp_recv_bufsize - records.config (proxy.config.net.sock_recv_buffer_size_in, proxy.config.net.sock_recv_buffer_size_out)
- incoming_rate - n/a
Anchor | ||||
---|---|---|---|---|
|
DNS OPTIONS
- check_hostnames - n/a
- allow_underscore - n/a
- cache_dns_program - n/a
- dns_children - n/a
- dns_retransmit_interval - n/a
- dns_timeout - n/a
- dns_defnames - records.config (proxy.config.dns.search_default_domains)
- dns_nameservers - records.config (proxy.config.dns.nameservers)
- hosts_file - n/a
- dns_testnames - n/a
- append_domain - records.config (proxy.config.http.enable_url_expandomatic, proxy.config.dns.url_expansions)
- ignore_unknown_nameservers - n/a
- ipcache_size - records.config (proxy.cnfig.hostdb.size)
- ipcache_low - n/a
- ipcache_high - n/a
- fqdncache_size - n/a
Anchor | ||||
---|---|---|---|---|
|
MISCELLANEOUS
- memory_pools - n/a
- memory_pools_limit - n/a
- forwarded_for - records.config (proxy.config.http.insert_squid_x_forwarded_for)
- cachemgr_passwd - records.config (proxy.config.admin.admin_user, proxy.config.admin.admin_password)
- client_db - n/a
- reload_into_ims - records.config (proxy.config.http.cache.ims_on_client_no_cache)
- maximum_single_addr_tries - records.config (proxy.config.http.connect_attempts_max_retries)
- retry_on_error - n/a
- as_whois_server - n/a
- offline_mode - n/a
- uri_whitespace - n/a
- coredump_dir - n/a
- chroot - n/a
- balance_on_multiple_ip
- pipeline_prefetch - n/a
- high_response_time_warning - n/a
- high_page_fault_warning - n/a
- high_memory_warning - n/a
- sleep_after_fork - n/a
- zero_buffers - n/a
- windows_ipaddrchangemonitor - n/a