Discussion:
[Proftpd-user] geoip on debian wheezy
Matus UHLAR - fantomas
2016-03-22 00:15:52 UTC
Permalink
Hello,

anyone used mod_geopi on debian wheezy?
I have tried to turn it on, but the debug log doesn't show anything about it
working:

LoadModule mod_geoip.c
GeoIPEngine on

GeoIPLog /var/log/proftpd/geoip.log
GeoIPTable /usr/share/GeoIP/GeoIP.dat MemoryCache UTF8
GeoIPAllowFilter CountryCode (SK)

(GeoIPPolicy is not available yet).

whenI log on (SSL) I only see these logs related to geoip:

cloud.zvjs.sk proftpd[19472]: loading 'mod_geoip.c'
...
cloud.zvjs.sk proftpd[19472] cloud.zvjs.sk: GeoIPEngine
cloud.zvjs.sk proftpd[19472] cloud.zvjs.sk: GeoIPLog
cloud.zvjs.sk proftpd[19472] cloud.zvjs.sk: GeoIPTable
cloud.zvjs.sk proftpd[19472] cloud.zvjs.sk: GeoIPAllowFilter
...
cloud.zvjs.sk proftpd[19472] cloud.zvjs.sk: mod_geoip/0.3: loading static GeoIP tables
cloud.zvjs.sk proftpd[19472] cloud.zvjs.sk: ROOT PRIVS at mod_geoip.c:353
cloud.zvjs.sk proftpd[19472] cloud.zvjs.sk: RELINQUISH PRIVS at mod_geoip.c:355
...
connect:
...
cloud.zvjs.sk proftpd[19474] cloud.zvjs.sk (fantomas.fantomas.sk[62.168.95.114]): ROOT PRIVS at mod_geoip.c:1122
cloud.zvjs.sk proftpd[19474] cloud.zvjs.sk (fantomas.fantomas.sk[62.168.95.114]): RELINQUISH PRIVS at mod_geoip.c:1124
cloud.zvjs.sk proftpd[19474] cloud.zvjs.sk (fantomas.fantomas.sk[62.168.95.114]): mod_geoip/0.3: loading session GeoIP tables
...
auth tls, login, pass
...
cloud.zvjs.sk proftpd[19474] cloud.zvjs.sk (fantomas.fantomas.sk[62.168.95.114]): GeoIPEngine
cloud.zvjs.sk proftpd[19474] cloud.zvjs.sk (fantomas.fantomas.sk[62.168.95.114]): GeoIPLog
cloud.zvjs.sk proftpd[19474] cloud.zvjs.sk (fantomas.fantomas.sk[62.168.95.114]): GeoIPTable
cloud.zvjs.sk proftpd[19474] cloud.zvjs.sk (fantomas.fantomas.sk[62.168.95.114]): GeoIPAllowFilter

any idea where could the problem be?
--
Matus UHLAR - fantomas, ***@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
How does cat play with mouse? cat /dev/mouse

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
ProFTPD Users List <proftpd-***@proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
TJ Saunders
2016-03-22 21:55:34 UTC
Permalink
Post by Matus UHLAR - fantomas
I have tried to turn it on, but the debug log doesn't show anything about
On the other hand, the logs provided don't show mod_geoip NOT working,
either.

Could you explain what you think the issue is, exactly? Should some
connection not be allowed, but it is, or ...?

For additional logs, you might also check trace logging, i.e.:

TraceLog /path/to/proftpd-trace.log
Trace geoip:20

Cheers,
TJ

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
ProFTPD Users List <proftpd-***@proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

Loading...