• Welcome to Simple Machines Community Forum. Please login or sign up.
October 18, 2021, 02:44:14 AM

News:

Follow SMF on Twitter.


Stop Spammer

Started by M-DVD, December 31, 2008, 07:31:43 AM

Previous topic - Next topic

butchs

I translated it in babblefish and WOW!  It does not look easy to do but the system looks strong.  I am going to give it a try!  Nice work...   O:)
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

snoopy_virtual

Quote from: butchs on February 16, 2010, 09:46:14 AM
I translated it in babblefish and WOW!  It does not look easy to do but the system looks strong.  I am going to give it a try!  Nice work...   O:)

You read the spanish version?

I'm doing it in english as well

Find the button saying "Choose your language"

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

butchs

I translated the spanish version.  Besides I know a little from my days in Miami.

I found one simple error in the files.  You need to add "?>" to the end of all php files that start with "<?php ".  I made the changes in my installation.

Installation complete.  Some questions:
1.  I installed the "httpbl" folder and its contents in the same folder as the smf folder (root directory).  Is this the correct location?
2.  Some of the information in the  "httpbl_configuration.php" file seemed redundant vs the data in the mod.  I assume this is no issue?
3.  Not sure if it is working or not.  Will like to know how to test it?
:)


I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

snoopy_virtual

Quote from: butchs on February 16, 2010, 11:29:14 AM
...
I found one simple error in the files.  You need to add "?>" to the end of all php files that start with "<?php ".  I made the changes in my installation.
...

No

If you read the official PHP manual from php.net they actually say that you should leave all your PHP files without the ending ?>

Actually the files with the mistake are the rest of them.

Quote from: butchs on February 16, 2010, 11:29:14 AM
...
Installation complete.  Some questions:
1.  I installed the "httpbl" folder and its contents in the same folder as the smf folder (root directory).  Is this the correct location?
2.  Some of the information in the  "httpbl_configuration.php" file seemed redundant vs the data in the mod.  I assume this is no issue?
3.  Not sure if it is working or not.  Will like to know how to test it?
:)

What "httpbl" folder or "httpbl_configuration.php" file are you talking about?

That was on the version 1.0 I did a year ago.

You need to install the new version 2.1 that I finished yesterday.

It is here:

http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&topic=306.0

And the tutorial for that version is not finished yet, but I have started it here:

http://www.snoopyvirtualstudio.com/tutoriales/index.php?estudio=httpBL_2

I suppose it will be finished tonight or tomorrow.

And be sure you read the english version.

Almost all my pages are in both languages.

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

butchs

"And be sure you read the english version."  Where is the fun in that?   :P
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

butchs

Running for five(5) hours now and two spammers were rejected.  The mod works great!!!   ;D
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

snoopy_virtual

Quote from: butchs on February 16, 2010, 06:24:17 PM
Running for five(5) hours now and two spammers were rejected.  The mod works great!!!   ;D

Glad to hear it.

In one of my forums is rejecting one every couple of ours (see screenshot)

Anyway the Customization Team had just pointed out 2 small problems in my code and I am going to correct them and release a new version 2.2 ASAP

I will keep you informed.

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

madfitz

Hi snoopy. I installed the honey pot mod but the log isn't working as expected.

The date and time are showing but all the other columns (IP, Th. L., L. B. A., S., H., C. and Page) are blank.

Any idea what I did wrong?

snoopy_virtual

Quote from: madfitz on February 17, 2010, 04:26:47 AM
Hi snoopy. I installed the honey pot mod but the log isn't working as expected.

The date and time are showing but all the other columns (IP, Th. L., L. B. A., S., H., C. and Page) are blank.

Any idea what I did wrong?

We are talking too much about mod httpBL here, and this post should be kept only for mod Stop Spammer.

Once the Customization Team approve that mod there will be a proper place to do it, but in the mean time that's why I opened a section in my own forum for questions and answers about mod httpBL. This one:

http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&board=30.0

You can see there is some important information there about it as I have been already answering questions, and by the way, I have also answered your question there with the name "the log isn't working".

Cheers

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

snoopy_virtual

Hopefully this will be the last time we talk about mod httpBL here in this post.

It has been already approved by SMF and you can find it now here:

http://custom.simplemachines.org/mods/index.php?mod=2155

So now it has its own support forum. Any questions about it please go to:

http://www.simplemachines.org/community/index.php?topic=366399.0

Thanks

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

Exsharaen

February 18, 2010, 06:55:46 AM #570 Last Edit: February 18, 2010, 07:11:12 AM by Exsharaen
I've updated the Indonesian translation to include the missing 9 lines as PM-ed to snoopy_virtual:

// MOD Stop Spammer
$txt['stopspammer_error'] = 'Kesalahan dengan basis data Anti SPAM. Hubungan gagal.<br />
Silakan coba lagi nanti, atau hubungi Webmaster.';
$txt['stopspammer_count'] = 'Spammer yang diblokir sampai sekarang';
$txt['stopspammer_title'] = 'Cari info lebih banyak di `Stop Forum Spam`';

$txt['stopspammer_enable'] = 'Nyalakan/Matikan MOD Stop Spammer';
$txt['stopspammer_show01'] = 'Tampilkan tautan "Info lebih banyak" untuk semua anggota';
$txt['stopspammer_show01_sub'] = 'Anda dapat memeriksa anggota manapun kapanpun dengan satu klik saja.';

$txt['stopspammer_faildb'] = 'Jika hubungan ke basis data Anti SPAM gagal...';
$txt['stopspammer_fail01'] = 'Tunjukkan pesan kesalahan dan batalkan pendaftaran';
$txt['stopspammer_fail02'] = 'Izinkan Pendaftaran Langsung';
$txt['stopspammer_fail03'] = 'Persetujuan Anggota dan tampilkan ikon untuk periksa';
$txt['stopspammer_faildb1_sub'] = 'Inang Anda dapat membuat hubungan remote ke basis data';
$txt['stopspammer_faildb2_sub'] = 'Inang Anda tidak dapat terkoneksi ke basis data, coba lagi nanti.<br />
Jika ini berlanjut, lihat Topik Dukungan (Support Topic) dan cari ';
$txt['stopspammer_not_translate'] = '<a href="http://www.simplemachines.org/community/index.php?topic=283309.new#post_issues"><span class="error"><b>Known Issues (Masalah yang Diketahui)</b></span></a>';

$txt['stopspammer_leyd01'] = 'Bukan Spammer: Data tidak ada pada basis data, namun bisa Anda periksa.';
$txt['stopspammer_leyd02'] = 'Dicurigai: Anggota ini tidak dapat diperiksa. Periksa sekarang.';
$txt['stopspammer_leyd03'] = 'Spammer: Lihat info lebih banyak tentang aktivitas spammer ini.';

$txt['stopspammer_profilecheck'] = 'Periksa anggota ini';
$txt['stopspammer_limitexceded'] = 'Anda sudah melampaui batas pemeriksaan (5000 kueri API tiap hari).<br />Silakan tunggu hingga besok untuk memeriksa kembali.';

$txt['in_stop_forum_spam'] = 'Pada situs Stop Forum Spam:';
$txt['spammers_checks'] = 'Periksa anggota-anggota ini';
$txt['spammers_report'] = 'Laporkan anggota-anggota ini';
$txt['confirm_spammers_checks'] = 'Anda yakin mau memeriksa anggota terpilih?';
$txt['confirm_spammers_report'] = 'Anda yakin mau melaporkan anggota terpilih?\n\nIngat bahwa saat Anda melaporkan anggota ini ke Stop Forum Spam, ia akan ditandai sebagai spammer di seluruh dunia\ndan ia tidak akan dapat menggunakan forum yang terhubung ke Stop Forum Spam di seluruh penjuru dunia.\n\nLakukan hanya jika Anda benar-benar yakin mereka spammer, dan jika ternyata Anda keliru mengidentifikasi,\nhubungi pembuat mod ini sesegera mungkin untuk membetulkan kesalahan dalam basis data Stop Forum Spam.';

$txt['stopspammer_api_key'] = 'Kunci API Anda';
$txt['stopspammer_api_key_sub'] = 'Jika Anda ingin menggunakan kunci API Anda sendiri, silakan kunjungi <a href="http://www.stopforumspam.com/signup" target="_blank">www.stopforumspam.com</a> untuk mendapatkan kunci API, kemudian tuliskan di sini. Jika Anda tidak memiliki kunci API, biarkan isian ini kosong dan mod ini akan menggunakan kunci API dasar.';

$txt['stopspammer_check_sub1'] = '<br />Jika MOD Stop Spammer dinyalakan, tiap kali memeriksa anggota:';
$txt['stopspammer_check_name'] = 'Periksa nama pengguna';
$txt['stopspammer_check_mail'] = 'Periksa alamat email';
$txt['stopspammer_check_ip'] = 'Periksa IP';
$txt['stopspammer_check_sub2'] = 'Pada dasarnya, tiap kali Anda memeriksa anggota dengan MOD Stop Spammer, mod ini akan mengecek nama pengguna, alamat email, dan IP. Jika Anda mendapat terlalu banyak peringatan keliru karena nama pengguna, Anda bisa mematikan pilihan tersebut. Kami tidak menyarankan untuk mematikan 2 pilihan lainnya (periksa alamat email dan IP) kecuali Anda benar-benar yakin dengan pilihan Anda.';


EDIT:

By the way, I found some typos in the English...

Quote$txt['stopspammer_limitexceded'] = 'You have exceded the check limit (5000 API queries per day).<br />You should wait until tomorrow to check again.';
Mustn't it be exceeded?

Quote$txt['stopspammer_check_sub2'] = 'By default, every time you check a member with MOD Stop Spammer it will check their username, email and IP. If you are getting too many false positives because of their usernames you can turn that option off. We wouldn\'t recomend you to turn off the another 2 options (to check their email and IP) unless you know what you are doing.';
recommend?

snoopy_virtual

Thanks Exsharaen

I will update the language package in a minute.

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

snoopy_virtual

Full language package updated with the new Indonesian translation.

Terima kasih Exsharaen





QuoteLanguages (normal & utf-8)
Translation completed:

  • English
  • English_British
  • Spanish_Es
  • Spanish_Latin

Missing 7 lines:
Missing 9 lines:
   
QuoteLegend
  • Included in MOD package
  • Included in language_full.zip and translation complete
  • Included in language_full.zip but translation incomplete

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

Robert A. Rosenberg

Quote from: butchs on February 13, 2010, 08:23:28 AM


I had a user log in this week.  The very first thing he did was to post an advertisement link.  I checked him with stop spam and he was ok.  I researched his email and IP address and found out that it belonged to a California location.  The Ad he posted said he was local in NYC.

He may be a possible spammer so it would be nice to have a check mark in the members list to force him to confirm his email address just like you do with members that are marked as spammers.  In other words add the option to allow possible spammers be verified manually.

Just to play devil's advocate on him possibly being a spammer due to the NYC vs. CA mismatch. The email might be from a CA ISP that he belongs to (I have number of email accounts that are hosted all over the US). The IPN is a separate issue since that is showing his current connection's gateway. Mine can change when I am on the road (as opposed to being at home) or on vacation. Not an absolute indication of being a spammer but there can be innocent explanations.

Emmerich

Hi!

I have a problem with spam accounts which don't have the IP logged. Because of that Stop Spammer can't check the IPs and they pass registration.
Is there any method to prevent registering accounts which don't have the IP logged? Or can you add some optional rule for this in a new version of Stop Spammer?

Thanks!

snoopy_virtual

Quote from: Emmerich on February 19, 2010, 05:30:28 AM
Hi!

I have a problem with spam accounts which don't have the IP logged. Because of that Stop Spammer can't check the IPs and they pass registration.
Is there any method to prevent registering accounts which don't have the IP logged? Or can you add some optional rule for this in a new version of Stop Spammer?

Thanks!

We have the same problem with mod httpBL.

In both mods I have used the same method SMF uses to find the visitor's IP, the normal $_SERVER['REMOTE_ADDR']

When we discovered this problem in mod httpBL I tried more ways of looking for the IP

You can find the full conversation started here:

http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&topic=309.0

And continued here:

http://www.simplemachines.org/community/index.php?topic=366399.0

As I have never yet had any visitor with hiding IP I don't know if this have worked. I am still waiting for the results of the people testing it.

If it works I will add this too to mod Stop Spammer as well

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

butchs

I do not think deviating from SMF's visitors IP system is the best solution.  If you use Bad Behavior's http:BL features and database logging that spammer should get caught!
:o
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

snoopy_virtual

Quote from: butchs on February 19, 2010, 06:50:31 AM
I do not think deviating from SMF's visitors IP system is the best solution.  If you use Bad Behavior's http:BL features and database logging that spammer should get caught!
:o

Yes, I saw the PM you sent me about Bad Behavior, but didn't had time yet to check how they do it.

Looks really interesting. Need to check it ASAP. Thanks

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

Robert A. Rosenberg

In Reply #324 there was a discussion of the False Positive problem where a non-Spammer is being flagged just due to having  the same name as a spammer (in my case UserID Dave). I may be confusing the suggested fix in that reply with one from another message but in any case, I would like to suggest a possible solution (or support the one I think I remember). My fix is to add a field to the flags that highlight the name, email address, and IPN entries that says for THAT Field of an entry to ignore the match. In my case, for the user who is falsely having his userid made a red icon, be able to reset it to OK and say to not flag him again until there is an actual match on the email and/or IPN. Note that this is NOT referencing the global switch to not check a filed for ALL users but just a setting in the user's entry to say to ignore the field.

Thank You.

lc62003

Quote from: Robert A. Rosenberg on February 19, 2010, 11:15:58 PM
In Reply #324 there was a discussion of the False Positive problem where a non-Spammer is being flagged just due to having  the same name as a spammer (in my case UserID Dave). I may be confusing the suggested fix in that reply with one from another message but in any case, I would like to suggest a possible solution (or support the one I think I remember). My fix is to add a field to the flags that highlight the name, email address, and IPN entries that says for THAT Field of an entry to ignore the match. In my case, for the user who is falsely having his userid made a red icon, be able to reset it to OK and say to not flag him again until there is an actual match on the email and/or IPN. Note that this is NOT referencing the global switch to not check a filed for ALL users but just a setting in the user's entry to say to ignore the field.

Thank You.

You can already turn off/on 'check username'.   ;)

Advertisement: