Uutiset:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu
Advertisement:

Removing IPs

Aloittaja Krashsite, lokakuu 20, 2013, 04:37:15 IP

« edellinen - seuraava »

Sir Osis of Liver


How to prevent SMF from detecting member IPs?

How to prevent IPs being saved to database?

When in Emor, do as the Snamors.
                              - D. Lister

Arantor

Um, why?

Easiest way to prevent them is just to neuter the stuff in QueryString.php by setting $_SERVER['REMOTE_ADDR'] and $_SERVER['X_FORWARDED_FOR'] to '0.0.0.0' before going into the rest of the detection code.

As for cleaning house on what's there already, you'll need to clean out the poster_ip column of posts, empty the error log and also clean the member_ip and member_ip2 columns from the member table.
Holder of controversial views, all of which my own.


Sir Osis of Liver


Been asked to look into using SMF for a secure messaging service, i.e., no tracking info, messages read once then auto-delete, something like that.  Just taking a first look.

When in Emor, do as the Snamors.
                              - D. Lister

Arantor

It's really not designed to be used that way.
Holder of controversial views, all of which my own.


Sir Osis of Liver


Thinking about adding something like this to the forum, and remove any trackable info from SMF database.

When in Emor, do as the Snamors.
                              - D. Lister

SwedishMarch1964

Well, if the IP is removed that means that their accounts are removed, unless they move to a new IP address.
Go to http://photobucket.com

The easy way to upload your avatar. Just click the direct link.

Arantor

Lainaus käyttäjältä: SwedishMarch1964 - lokakuu 20, 2013, 06:44:42 IP
Well, if the IP is removed that means that their accounts are removed, unless they move to a new IP address.

No it doesn't.
Holder of controversial views, all of which my own.


emanuele

Lainaus käyttäjältä: Arantor - lokakuu 20, 2013, 04:42:00 IP
Easiest way to prevent them is just to neuter the stuff in QueryString.php by setting $_SERVER['REMOTE_ADDR'] and $_SERVER['X_FORWARDED_FOR'] to '0.0.0.0' before going into the rest of the detection code.
* emanuele feels this wouldn't cope too well with the spam protection...(posting time)


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Arantor

It wouldn't, but I figure that's mostly a non issue ;)
Holder of controversial views, all of which my own.


SwedishMarch1964

Lainaus käyttäjältä: Arantor - lokakuu 20, 2013, 06:50:28 IP
Lainaus käyttäjältä: SwedishMarch1964 - lokakuu 20, 2013, 06:44:42 IP
Well, if the IP is removed that means that their accounts are removed, unless they move to a new IP address.

No it doesn't.

It doesn't?

Well,

What happens?
Go to http://photobucket.com

The easy way to upload your avatar. Just click the direct link.

Arantor

Um... nothing? Since IPs are not tied to accounts...
Holder of controversial views, all of which my own.


SwedishMarch1964

Even if there is more than one account on that IP address?
Go to http://photobucket.com

The easy way to upload your avatar. Just click the direct link.

Arantor

-sigh- Yes.

IPs are not accounts and accounts are not IPs and we're not talking about banning or deleting anything.
Holder of controversial views, all of which my own.


Burke ♞ Knight

SwedishMarch1964,

Before you try to help, and we do appreciate that fact that you are trying, please learn about what you are talking about, before you post.
You have been giving some advice that not only is wrong, but some will as above, do nothing at all.
Others, can cause more harm than what the person is originally having for an issue.

Sir Osis of Liver

Haven't had time to work on this, but Arantor's fix in QueryString.php works as advertised.  Prevents forum from detecting IPs and saving them to database.  IPs are displayed in Profile and posts as '0.0.0.0', and saved as such.

The basic idea here is to allow members to use the forum anonomously (sp?), so that if the database is breached, or seized by a fascist government agency by order of a 'secret court' , there's no way to identify the members short of actually hacking the board and intercepting the traffic.

When in Emor, do as the Snamors.
                              - D. Lister

Arantor

I have yet to understand the fascination with anonymously using forums.
Holder of controversial views, all of which my own.


Sir Osis of Liver


You don't live in the US.

When in Emor, do as the Snamors.
                              - D. Lister

margarett

Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

LainaaOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Arantor

Lainaus käyttäjältä: Krash. - lokakuu 21, 2013, 02:09:56 IP

You don't live in the US.

No, I live in the UK which is probably worse.
Holder of controversial views, all of which my own.


Sir Osis of Liver

Lainaus käyttäjältä: margarett - lokakuu 21, 2013, 02:24:03 IP
That's not a problem for the US of A :P
http://www.france24.com/en/20131021-usa-spy-agency-nsa-recorded-millions-french-phone-calls

Off-topic, sorry...

Actually, that's what US intelligence (?) agencies are supposed to do, spy on other countries.  Unfortunately, they've been spending a great deal of their time spying on the American people, hence the increased interest in secure email, anonymous forums, etc.

When in Emor, do as the Snamors.
                              - D. Lister

Advertisement: