User Ip Connection
Hi, In our use case of tigase, we need to log the IP address that each user connects to the server (when user authenticates) into a database,
is there any automatic way to do this?
if not, how can I add this feature and which part of tigase should be modified?
Added by Artur Hefczyc over 3 years ago
There is no out of the box solution to this. The best option would be to write a plugin for Tigase which intercepts certain packet, such as resource bind for example, so you know the user is successfully authenticated and then parse user's IP address from the connectionID string and store it in DB.