Source: pam-geoip Severity: normal -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
Dear Maintainer, I installed libpam-geoip and use it with the GeoIp databases from the package geoip-database. This results in a nasty error message written to stdout: Invalid database type GeoIP Country Edition, expected GeoIP City Edition, Rev 1 It comes from libgeoip: https://github.com/maxmind/geoip-api-c/blob/master/libGeoIP/GeoIPCity.c#L190 This breaks Git over SSH: $ git push fatal: protocol error: bad line length character: Inva This seems to be a known issue but geoip-api-c is in maintainance mode and superseded by libmaxminddb. https://github.com/maxmind/geoip-api-c/issues/67 There is a port of pam-geoip to the libmaxminddb API which should be a drop-in-replacement: https://github.com/amishmm/pam_geoip Would you consider switching to this new port which uses a library that does not write arbitrary messages to stdout? Kind regards, Michael - -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: armhf Kernel: Linux 5.4.0-2-amd64 (SMP w/2 CPU cores) Kernel taint flags: TAINT_WARN Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled -----BEGIN PGP SIGNATURE----- iQFFBAEBCgAvFiEEqVSlRXW87UkkCnJc/9PIi5l90WoFAl5n9rYRHGZsYWRpQGRl Ymlhbi5vcmcACgkQ/9PIi5l90WpwVggAubfX+2PZ32BniqmET52VZc/3gduDiNic 2xAvXgi22sBbIeYtG83MPi4Z5xmus7S1E8Df2DVBlkD4RFI0LANqpWQkqNB/X23X Hj9dJXqTLLdfeg6oZgcHnmz1eW4BZdIKJDguFWQw8QZzZajwq9I+is2Hllktzbbi 0FWMWu8kUvx/Cj4ZoHjqZ091UaU/VfyReQUPnALC1Vh4lr2UnRjuWiCzR2ILwpPN orPQnEIvZL3i+PZVzwupOkZSDKIr4myNi1GIMJ+lrb5qlnq/915qSgncKUyFAFyy hbwtuLEWliYzo8WGwtaWWes4ZoU6QP9t3DdsT7dREtY/MMgsZXR8MA== =GRTW -----END PGP SIGNATURE-----