Correction, I had to put in my machines actual network address. Localhost did not work. Not loving that because I'll have to update it as I move around. Any workarounds? On Jul 7, 2010, at 1:47 PM, M. Robert Spryn wrote: > Disregard. > > I finally figured out it was udp_outgoing_address, not udp_outgoing_addr > > Setting that to localhost fixed the problem. Not sure why. > > Best, > Bob > > > On Jul 7, 2010, at 12:30 PM, M. Robert Spryn wrote: > >> Hey guys, >> >> On a mac here. Installed squid from homebrew. On 3.1.3. My apache server is on the same computer. >> >> Keep getting this error: >> >> 2010/07/07 12:25:50| comm_udp_sendto: FD 4, (family=2) 10.2.0.10:53: (22) Invalid argument >> 2010/07/07 12:25:50| idnsSendQuery: FD 4: sendto: (22) Invalid argument >> >> That's the only error I get. >> >> Cannot figure it out for the life of me. There is something in the FAQ about using udp_outgoing_addr in a 'jailed' environment, but squid recognize it when I put it in the config. >> >> Full config below: >> >> http_port 3128 >> >> acl everyone src all >> acl manager proto cache_object >> acl localhost src 127.0.0.1/32 >> acl localhost src ::1/128 >> acl our_network src 10.2.0.0/16 >> >> acl SSL_ports port 443 >> acl Safe_ports port 80 # http >> acl Safe_ports port 443 # https >> 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 our_network >> >> http_access allow localhost >> http_access deny everyone >> http_reply_access allow everyone >> icp_access deny everyone >> ident_lookup_access deny everyone >> >> hierarchy_stoplist cgi-bin ? >> >> cache_mem 128 MB >> >> cache_dir ufs /var/spool/squid 512 16 32 >> >> minimum_object_size 0 KB >> maximum_object_size 4096 KB >> >> cache_swap_low 90 >> cache_swap_high 95 >> >> logformat combined %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %>Hs %<st "%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh >> access_log /var/log/squid/access.log combined >> cache_log /var/log/squid/cache.log >> cache_store_log /var/log/squid/store.log >> #pid_filename /var/run/squid.pid >> >> strip_query_terms on >> >> acl QUERY urlpath_regex cgi-bin \? >> cache deny QUERY >> >> refresh_pattern ^ftp: 1440 20% 10080 >> refresh_pattern ^gopher: 1440 0% 1440 >> refresh_pattern . 0 20% 4320 >> >> acl apache rep_header Server ^Apache >> >> forward_timeout 4 minutes >> connect_timeout 1 minute >> read_timeout 15 minutes >> request_timeout 5 minutes >> persistent_request_timeout 2 minutes >> client_lifetime 1 day >> >> half_closed_clients off >> pconn_timeout 1 minute >> >> httpd_suppress_version_string on >> visible_hostname myhostname >> >> detect_broken_pconn on >> >> icp_port 0 >> ignore_unknown_nameservers on >> forwarded_for off >> client_db on >> retry_on_error on >> uri_whitespace strip >> coredump_dir /var/spool/squid >> pipeline_prefetch on >> >> >