Just did some tests again and re-checked /var/log/messages
. I noticed that HAProxy now writes proper logs into the syslog file.
Don’t ask me how this happened, I do not know. I did not change anything on my side, not even restarted IPFire, HAproxy or anything else.
An entry in messages
now looks like. You should notice that localhost.localdomain
disappeared and now reads localhost
.
Sep 19 19:30:55 localhost haproxy[13742]: 100.20.194.139:46494 http_https~ collab_server/collab01 207 1821 --VN “PROPFI
ND /dav.php/calendars/family/holiday/ HTTP/1.1”
Wait a minute: I’ve written here that the file /etc/hosts looks like:
127.0.0.1 localhost.localdomain localhost
172.17.0.1 gateway
I had a look again and now there is a totally different content!
127.0.0.1 localhost
192.168.0.1 ipfire.ourhome ipfire
172.17.0.1 gateway
So how on earth did this content found it’s way into this file?
Ah!!! A few days ago I’ve edited the hosts list in WebIf, inserted one single host. I assume that this action did re-write the file /etc/hosts
, too. Presumably with the correct content! I do not know, so devs please check this yourself if necessary.
But why has there been some unusual content before?