openbsd-ports/www/goaccess/patches/patch-src_browsers_c
sthen ba41f70f8c goaccess tweaks, ok kirby@ (maintainer)
- unbreak fallback from ~/.goaccessrc to global config
- new user-agents: lftp, openbsd ftp(1)

- use maxminddb instead of geoip legacy; the legacy databases have
not been updated since last April. patch sample config to include the
correct paths for this.

- use upstream's install target rather than handrolling

- add examples for httpd(8)'s slightly nonstandard log formats to the
default config

N.B. If you are currently using geoip/geolite1 databases, you will need to
change the path in your config file to the correct one for geoip2/geolite2
otherwise country will show as 'unknown'. Specifically you want one or other
of these lines:

geoip-database /var/db/GeoIP/GeoLite2-City.mmdb
geoip-database /var/db/GeoIP/GeoLite2-Country.mmdb
2019-01-20 13:36:51 +00:00

25 lines
684 B
Plaintext

$OpenBSD: patch-src_browsers_c,v 1.1 2019/01/20 13:36:51 sthen Exp $
https://github.com/allinurl/goaccess/pull/1350
Index: src/browsers.c
--- src/browsers.c.orig
+++ src/browsers.c
@@ -116,6 +116,8 @@ static const char *browsers[][2] = {
{"MicroMessenger", "Others"},
{"Apache", "Others"},
{"JOSM", "Others"},
+ {"OpenBSD ftp", "Others"},
+ {"lftp", "Others"},
/* Feed-reader-as-a-service */
{"AppleNewsBot", "Feeds"},
@@ -183,6 +185,7 @@ static const char *browsers[][2] = {
{"Python", "Crawlers"},
{"LinkedIn", "Crawlers"},
{"Microsoft-WebDAV", "Crawlers"},
+ {"The Knowledge AI", "Crawlers"},
/* Podcast fetchers */
{"Downcast", "Podcasts"},