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 |
---|
| authentication |
---|
| authentication |
---|
|
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 |
---|
| access-controls |
---|
|
ACCESS CONTROLS
Anchor |
---|
| x-forward-for |
---|
| x-forward-for |
---|
|
OPTIONS FOR X-Forwarded-For
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 |
---|
| network-options |
---|
|
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 |
---|
| neighbor-algorithm |
---|
| neighbor-algorithm |
---|
|
OPTIONS WHICH AFFECT THE NEIGHBOR SELECTION ALGORITHM
MEMORY CACHE OPTIONS
DISK CACHE OPTIONS
Anchor |
---|
| logfile-options |
---|
| logfile-options |
---|
|
LOGFILE OPTIONS
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 |
---|
| external-programs |
---|
| external-programs |
---|
|
OPTIONS FOR EXTERNAL SUPPORT PROGRAMS
Anchor |
---|
| url-rewriting |
---|
| url-rewriting |
---|
|
OPTIONS FOR URL REWRITING
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
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
- anchortoc_upgrade_http0.9 http://www.squid-cache.org/Versions/v2/2.7/cfgman/upgrade_http0.9.html - n/a
- 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
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
ADMINISTRATIVE PARAMETERS
OPTIONS FOR THE CACHE REGISTRATION SERVICE
HTTPD-ACCELERATOR OPTIONS
DELAY POOL PARAMETERS
Anchor |
---|
| wccpv1-2-config |
---|
| wccpv1-2-config |
---|
|
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-conx |
---|
| persistent-conx |
---|
|
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
CACHE DIGEST OPTIONS
SNMP OPTIONS
ICP OPTIONS
MULTICAST ICP OPTIONS
Anchor |
---|
| internal-icon |
---|
| internal-icon |
---|
|
INTERNAL ICON OPTIONS
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 |
---|
| request-forwarding |
---|
| request-forwarding |
---|
|
OPTIONS INFLUENCING REQUEST FORWARDING
Anchor |
---|
| advanced-networking |
---|
| advanced-networking |
---|
|
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
DNS OPTIONS
MISCELLANEOUS