Support

Admin Tools

#9764 Feature idea: Log user IP address

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by user21438 on Monday, 14 February 2011 06:00 CST

user21438
Hi Nicholas,

I was wondering if it's possible or difficult to log a user's IP address when they log in? One scenario is that I get forum spam, created by fictitious users, usually from the same IPs. Kunena has a feature built in that logs IPs by post, so I used to use that as my source of IP information. I was thinking it would could be useful if ATP could log user's IPs, as not all extensions do this. Maybe even add check boxes next to each IP to do mass blacklisting? I'm just thinking out loud.

What do you think?

Best,

Matt

nicholas
Akeeba Staff
Manager
You mean logging the last IP a user was logged from, or logging all IPs a user has ever logged on from?

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user21438
Hi Nicholas,

Good question. It might be interesting to see all of them to determine if they have a static or dynamic IP, which would be useful when it comes down to determining if/which IP should get banned.

What do you think?

Best,

Matt

nicholas
Akeeba Staff
Manager
I am thinking that this is the best way to flood your database and make your site crawl to a screeching halt :) On this site alone, I have several dozens of logins every day. In this rate, logging all this information per user session would end up chewing off several megabytes of database storage in a dramatically big table that is dead slow to select from. It would be useful on some occasions, yes, but with the average hosting quality I've seen it is a really bad idea. Besides, a clever spammer is always behind a proxy or TOR.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user21438
Hi Nicholas,

That's a great point and why I asked the expert first. Oh well, back to the drawing board.

Best,

Mat

nicholas
Akeeba Staff
Manager
No problem. It was something I had already considered before your post ;)

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user21438
You're always one step ahead of me ;)

Thanks!

Best,

Matt

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!