I have fixed with the following in squid.conf http_port 0.0.0.0:3128 transparent
Sorry On 15.06.2015 10:42, basti wrote: > Hello, > > last weekend I have try to run squid3 on my raspberry. > Squid3 listen to IPv6 only even if IPv6 is disabled. > > I have found this bug-report which is marked as fixed: > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584223 > > > How can i fix this, that squid3 also listen on IPv4? > Thanks a lot for any help. > > root@raspberrypi:~# grep "port" /etc/squid3/squid.conf > # ports allow > acl SSL_ports port 443 > acl Safe_ports port 80 # http > acl Safe_ports port 21 # ftp > acl Safe_ports port 443 # https > acl Safe_ports port 70 # gopher > acl Safe_ports port 210 # wais > acl Safe_ports port 1025-65535 # unregistered ports > acl Safe_ports port 280 # http-mgmt > acl Safe_ports port 488 # gss-http > acl Safe_ports port 591 # filemaker > acl Safe_ports port 777 # multiling http > http_port 3128 transparent > root@raspberrypi:~# > > root@raspberrypi:~# netstat -nlt | grep 3128 > tcp6 0 0 :::3128 :::* > LISTEN > > root@raspberrypi:~# squid3 -v > Squid Cache: Version 3.4.8 > linux > configure options: '--build=arm-linux-gnueabihf' '--prefix=/usr' > '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' > '--infodir=${prefix}/share/info' '--sysconfdir=/etc' > '--localstatedir=/var' '--libexecdir=${prefix}/lib/squid3' '--srcdir=.' > '--disable-maintainer-mode' '--disable-dependency-tracking' > '--disable-silent-rules' '--datadir=/usr/share/squid3' > '--sysconfdir=/etc/squid3' '--mandir=/usr/share/man' '--enable-inline' > '--disable-arch-native' '--enable-async-io=8' > '--enable-storeio=ufs,aufs,diskd,rock' > '--enable-removal-policies=lru,heap' '--enable-delay-pools' > '--enable-cache-digests' '--enable-icap-client' > '--enable-follow-x-forwarded-for' > '--enable-auth-basic=DB,fake,getpwnam,LDAP,MSNT,MSNT-multi-domain,NCSA,NIS,PAM,POP3,RADIUS,SASL,SMB' > '--enable-auth-digest=file,LDAP' > '--enable-auth-negotiate=kerberos,wrapper' > '--enable-auth-ntlm=fake,smb_lm' > '--enable-external-acl-helpers=file_userip,kerberos_ldap_group,LDAP_group,session,SQL_session,unix_group,wbinfo_group' > '--enable-url-rewrite-helpers=fake' '--enable-eui' '--enable-esi' > '--enable-icmp' '--enable-zph-qos' '--enable-ecap' > '--disable-translation' '--with-swapdir=/var/spool/squid3' > '--with-logdir=/var/log/squid3' '--with-pidfile=/var/run/squid3.pid' > '--with-filedescriptors=65536' '--with-large-files' > '--with-default-user=proxy' '--enable-build-info= linux' > '--enable-linux-netfilter' 'build_alias=arm-linux-gnueabihf' 'CFLAGS=-g > -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat > -Werror=format-security -Wall' 'LDFLAGS=-fPIE -pie -Wl,-z,relro > -Wl,-z,now' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fPIE > -fstack-protector --param=ssp-buffer-size=4 -Wformat > -Werror=format-security' > > root@raspberrypi:~# ip a > 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 > inet 127.0.0.1/8 scope host lo > valid_lft forever preferred_lft forever > 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast > state UP qlen 1000 > link/ether b8:27:eb:96:a7:e6 brd ff:ff:ff:ff:ff:ff > inet 192.168.178.1/24 brd 192.168.178.255 scope global eth0 > valid_lft forever preferred_lft forever > 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc cbq state UP > qlen 1000 > link/ether 00:50:b6:14:34:f3 brd ff:ff:ff:ff:ff:ff > inet 192.168.30.2/24 brd 192.168.30.255 scope global eth1 > valid_lft forever preferred_lft forever > root@raspberrypi:~# > > Regards, > Basti > > > -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/557e9137.5090...@arcor.de