[squid-users] Squid 3.5.13 transparent compiling fails with ubuntu 14.04 server

Hardik Dangar hardikdangar+squid at gmail.com
Fri Jan 29 13:05:31 UTC 2016


Hello,

I am trying to build squid 3.5.13 with following options on ubuntu 14.04
freshly installed server,

# apt-get update

# apt-get build-dep squid3

# apt-get install build-essential sharutils ccze libzip-dev libssl-dev

# ./configure
--prefix=/usr
--exec-prefix=/usr
--includedir=/usr/include
--datadir=${prefix}/share/squid
--libdir=/usr/lib64
--libexecdir=${prefix}/lib/squid
--localstatedir=/var
--sysconfdir=/etc/squid
--sharedstatedir=/var/lib
--with-logdir=/var/log/squid
--with-pidfile=/var/run/squid.pid
--with-default-user=squid
--with-openssl
--enable-silent-rules
--enable-dependency-tracking
--enable-linux-netfilter
--enable-icmp
--enable-delay-pools
--enable-useragent-log
--enable-esi
--enable-follow-x-forwarded-for
--enable-ipf-transparent
--enable-ssl
--enable-ssl-crtd
--enable-auth

I want to build https transparent proxy so i have enabled enable ipf
transparent and ssl options in config.

configure fails with option,
configure: error: unable to make IPFilter work with netinet/ headers

$ cat config.log | grep netinet    reveals,
conftest.cpp:326:25: fatal error: netinet/ipl.h: No such file or directory

i did check iptables are installed ( $ which iptables) so netfilter should
be installed too.

article at, https://www.smoothnet.org/squid-v3-5-proxy-with-ssl-bump/ says
i need to use hack,
#define USE_SOLARIS_IPFILTER_MINOR_T_HACK 0

but after changing that line also result is same. i found very old squid
2.5 threads related to IPFilter compiling issue but couldn't find the code
they ask to hack.

Anyone else has faced this issue? what's the solution for this ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160129/8c2ca202/attachment.html>


More information about the squid-users mailing list