Search squid archive

Re: Fwd: squid-3.2.0.6 - make issue on OpenBSD 4.8 - 64 bit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
> The problem is that netinet/in.h must be included before arpa/inet.h in
> include/util.h (at least for 3.1.11). Just add
> #include <netinet/in.h> before the #include <arpa/inet.h> line in this
> file. At least that fixed the same problem with Squid 3.1.11 on OpenBSD 4.9.

Thanks for your help. Sorry for the delay in replying.

As said, I added the below 2 lines to include/util.h file

#include <netinet/in.h>
#include <arpa/inet.h>

then. configure with below options


Squid Cache: Version 3.2.0.6

configure options:  '--datadir=/usr/local/share/squid'
'--enable-arp-acl' '--enable-basic-auth-helpers=NCSA'
'--enable-digest-auth-helpers=password' '--enable-delay-pools'
'--enable-external-acl-helpers=ip_user' '--enable-forw-via-db'
'--enable-negotiate-auth-helpers=squid_kerb_auth'
'--enable-pf-transparent' '--enable-removal-policies=lru'
'--enable-ssl' '--enable-storeio=aufs' '--with-pthreads'
'--localstatedir=/var/squid' '--prefix=/usr/local'
'--sysconfdir=/etc/squid' '--mandir=/usr/local/man'
'--infodir=/usr/local/info' --enable-ltdl-convenience

then, did make and make install. it went fine.

I added below line to squid.conf file


http_port 3129 intercept

cache_mem 256 MB

cache_effective_user    _squid
cache_effective_group   _squid

# Define the access log format
logformat squid  %ts.%03tu %6tr %>a %Ss/%03>Hs %<st %rm %ru %un %Sh/%<A %mt

# Log client request activities ('squid' is the name of the log format to use)
access_log       /var/squid/logs/access.log squid

# Log information about the cache's behavior
cache_log        /var/squid/logs/cache.log

# Log the activities of the storage manager
cache_store_log  /var/squid/logs/store.log


We can access with squid. But , I get the below error


# tail -f /var/squid/logs/cache.log
2011/04/08 18:07:26 kid1| Intercept.cc(305) PfInterception: PF open
failed: (13) Permission denied
2011/04/08 18:07:35 kid1| Intercept.cc(305) PfInterception: PF open
failed: (13) Permission denied
2011/04/08 18:07:35 kid1| Intercept.cc(305) PfInterception: PF open
failed: (13) Permission denied


any idea?  shall we solve ?

permision of  /dev/pf

crw-------  1 root  wheel   73,   0 Apr  1 19:30 /dev/pf







-- 
Thank you
Indunil Jayasooriya


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux