Squid web proxy started with 2 errors

Hi everybody,

I’m on Ipfire core update 139.
My Internet connection is via PPPoe.
Squid is in transparent mode.

When I restart Squid from the command line, I noticed 2 errors:

[root@myipfire]# /etc/init.d/squid restart
Stopping Squid Proxy Server (this may take up to a few minutes)....                                                                                            [  OK  ]
Creating Squid swap directories...                                                                                                                             [  OK  ]
Starting Squid Proxy Server...
2020/01/29 10:53:53| WARNING: BCP 177 violation. Detected non-functional IPv6 loopback.                                                                        [  OK  ]
cat: /var/ipfire/red/local-ipaddress: No such file or directory
Couldn't read local-ipaddress
[root@myipfire]#

How can I fix these errors ?

Many thanks

The BCP warning is showing up because IPFire has no IPv6. You can ignore that.

The second one is probably because the system was not online, but it should not show up really.

Hi Michael,

OK for BCP warning.

For “/var/ipfire/red/local-ipaddress: No such file or directory” error…the problem has been fixed after a full reboot of Ipfire…it seems that you have to reboot after the FIRST PPPoe connection if you want to have the file “/var/ipfire/red/local-ipaddress” filled in…is it normal or is it a small bug ?

Many thanks

That file should be written whenever RED is up. Potentially it wasn’t up when the proxy was started.