linuxserver / docker-swag

Nginx webserver and reverse proxy with php support and a built-in Certbot (Let's Encrypt) client. It also contains fail2ban for intrusion prevention.
https://docs.linuxserver.io/general/swag
GNU General Public License v3.0
2.66k stars 231 forks source link

[BUG] No ASN stats #457

Closed Meldrak closed 1 month ago

Meldrak commented 4 months ago

Is there an existing issue for this?

Current Behavior

On dashboard there's ASN stats, but I only have "unknow" Geo Location is working well with Maxmind on my configuration

So is ASN a working feature? and is it possible to auth or block by ASN?

Expected Behavior

No response

Steps To Reproduce

all config with MaxMind

Environment

- OS: Unraid

CPU architecture

x86-64

Docker creation

docker run
  -d
  --name='swag'
  --net='br0'
  --ip='192.168.1.7'
  -e TZ="Europe/Paris"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="MNAS"
  -e HOST_CONTAINERNAME="swag"
  -e 'TCP_PORT_443'='443'
  -e 'TCP_PORT_80'='80'
  -e 'URL'='fqdn.com'
  -e 'VALIDATION'='dns'
  -e 'SUBDOMAINS'='sub1,sub2'
  -e 'CERTPROVIDER'='zerossl'
  -e 'DNSPLUGIN'='cloudflare'
  -e 'PROPAGATION'=''
  -e 'EMAIL'='mymail'
  -e 'ONLY_SUBDOMAINS'='false'
  -e 'EXTRA_DOMAINS'=''
  -e 'STAGING'='false'
  -e 'DOCKER_MODS'='linuxserver/mods:swag-maxmind|linuxserver/mods:swag-dashboard'
  -e 'MAXMINDDB_LICENSE_KEY'='xxxxxxx'
  -e 'PUID'='99'
  -e 'PGID'='100'
  -e 'UMASK'='022'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.icon='https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver-ls-logo.png'
  -v '/mnt/cache/appdata/letsencrypt/':'/config':'rw'
  --cap-add=NET_ADMIN
  --memory=2gb 'lscr.io/linuxserver/swag'

Container logs

**** Applying the SWAG dashboard mod... ****
**** adding libmaxminddb to package install list ****
**** Adding goaccess to package install list ****
**** libmaxminddb already installed, skipping ****
**** Applied the SWAG dashboard mod ****
[mod-init] **** Installing all mod packages ****
fetch http://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz
(1/2) Installing goaccess (1.8.1-r0)
(2/2) Installing libmaxminddb (1.7.1-r2)
Executing busybox-1.36.1-r15.trigger
OK: 202 MiB in 217 packages
Applying the maxmind mod...
Applied the maxmind mod
[custom-init] No custom files found, skipping...
[ls.io-init] done.
Server ready
github-actions[bot] commented 4 months ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

LinuxServer-CI commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 1 week ago

This issue is locked due to inactivity