Rocket.chat: Using integrations to log the IP address of a user somehow

Created on 23 Jul 2018  路  5Comments  路  Source: RocketChat/Rocket.Chat

Is your feature request related to a problem? Please describe.
I do not have IP information of a logged in user.

Describe the solution you'd like
Of course I would like to have IP info in the profile of a user (visible for the admin).

Describe alternatives you've considered
If not possible I would like to have a few tips how I can use webhook scripts to capture the IP address of a user when they log in. I can post this information together with the username in a private group (incoming webhook). I would also be interested to post this to for example a database of my own (outgoing webhook). Can anybody please point me in the right direction. Even the example that is in the backend of Rocket chat gives a syntax error...

Any help is greatly appreciated.

Regards,

Stef

All 5 comments

"I do not have IP information of a logged in user."

Your not suppose to.
We want rocketchat to protect users privacy.
If a user is abusing your community, ban them, and set registrations to require approval, or set rooms to private.
IP banning doesnt work because dynamic IPs, VPNs, Proxies etc

i would like this as well, "set registrations to require approval" dose not really work for us with vary large community's where new accs are 200-1000 a day, and in a lot of chat services most bans are both email and ip

@NameTheJew What I am supposed to want is up to me. Obviously a lot of users want to be able to ban people. How this will be done I don't care, but I am now willing to program it myself using integrations.

The privacy of the user is not a problem if you store an IP address. IP banning works also with dynamic IP's. A lot of people do not know what an IP address is, so who cares if it is dynamic. Most dynamic IP addresses are in fact almost dedicated because of the high TTL that the ISP uses. You can switch off your router and reboot but you will still get the same IP address.

If you talk about protecting the privacy of your users than you should be pleased with every possible way that you can use to ban people. Or would you like loads of hackers logging in and download personal data from your users? Now that is a real privacy issue.

And if you don't like to use IP banning for whatever reason, then simply don't use it. They could add a setting that switches the saving of the IP address on and off. Everybody happy.

A chatbox without banning options will never gain a large marketshare. Rocket chat might have started as a good Slack alternative but Slack is colaboration software and not chat software. I was very pleased to have finally found a solid professional looking chat environment and I have the impression that the Rocket Chat developers are also willing to offer the chat community everything they need.

And if not, then please help me with some pointers in how I can use integrations to capture the IP address of a user when they connect.

This seems to be a NFR rather than a bug.
Please follow this up in the forums where feature requests should be posted.
You can also see if anyone is prepared to give you some pointers.

@rocket-cat close

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lunitic picture lunitic  路  3Comments

Buzzele picture Buzzele  路  3Comments

zeigerpuppy picture zeigerpuppy  路  3Comments

amayer5125 picture amayer5125  路  3Comments

karlprieb picture karlprieb  路  3Comments