![]() |
I think one major thing that needs to be addressed is a low "timeout", incase a RBL becomes un-responsive. I've been so busy I haven't had a chance to look into that yet, but I know there is a PHP variable somewhere. Also there might be a better method than using the gethostbyname function, not sure.
|
We've installed this as a product now and hope it's working. Are there things to do after the install such as update a blacklist somewhere?
|
i had to disable this. It was causing major lag on my site.
|
I was not having a lag at all but I did find a high ratio of false positives.
|
Quote:
|
Which list were the false positives coming from? I usualy found most were coming from CBL, which I disabled that code in mine. There were IPs that were last checked / listed many, many months ago. Which you would *think* would get de-listed over time, but they wern't.
Perhaps the actual checking code should be a shutdown query, as to not lag the end-user. Then the regular check against the session table can be where it currently is. |
is there a way to just do this for new users registering?
|
Quote:
It rejected connections from "GoBigWest" and "Dialup.cc". Both ISPs use Level3 numbers. Rejected IPs were IP Address: 4.250.177.131 Hostname: dialup-4.250.177.131.Dial1.Weehawken1.Level3.net IP Address: 4.250.138.133 Hostname: dialup-4.250.138.133.Dial1.Weehawken1.Level3.net The Spamhaus website said that the IP's weren't listed, but other whois sites were able to correctly identify them as Level3. |
Quote:
if (THIS_SCRIPT=='register') { and at the bottom: } |
Quote:
Skydance so it should look like this if we only one it to check users as they register on a site? Code:
if (THIS_SCRIPT=='register') { |
Or... Just use it for the test...
PHP Code:
|
I'm just curious - has anyone tested opm.tornevall.org-resolver, and got false positives?
|
|
Different methodology with his. He's basically doing a check for guests only, every time when they post.
There's a million different ways you can implement a DNSBL for a forum, it all just depends on what you are trying to prevent. |
im trying to prevent any ba****d spammer trouble maker :)
|
Quote:
FYI -- This seems to have buggered up ANYONE from joining my forum. I have gotten at least 50 email in the past 3 days from people who say they just get a blank page when they try to join the site. This is was confirmed by myself when I tried to create a test account and couldnt. After I removed skydancers code change everything went back to being fine. Though I am getting around 15 to 20 of my normal users reporting blacklist issues. So I have hence uninstalled this plugin. Thanx guys but the high number of false postives and lack or whitelist option precluded me from using this any longer... |
how do you know which ip is blocked or banned from the admin control panel? I been looking around ..sorry I'm a noobie . :)
|
There is no recording of that data (in any of the code that I've seen posted). Though you could probably output the IP & time to one of the various logs if you wanted to.
|
Quote:
http://anonymouse.org/ only uses 2 IP Addresses: 82.96.100.100 85.195.119.22 |
Each list is maintained by a separate group of people. Most are automatic testing scripts that look for certain ports and test to see if they can connect properly. I've noticed that the CBL list seems to generate a lot of false positives, and also contains a lot of stale data. (i.e. I had one IP that was last checked over 6 months ago and it was listed!)
Sites like the one you posted above is not considered an exploited proxy since they are offering the service. If you don't want users using that service than simply block their IPs as usual. I modified my script slightly to help people that were experiencing errors. Basically I changed the line in the code to add the IP address as such: PHP Code:
Code:
<p><b>Sorry, but you do not have access to this forum!</b> |
Quote:
|
Quote:
PHP Code:
|
I don't get this... For eoc_Jason's hack, do you just install the XML and that's it?
Is there any need to configure anything? Thanks. |
Quote:
*********************************************/ and before: if ($vbulletin->session->vars['OPM'] == 0) { Would someone be so kind as to explain where I went wrong? I only want to check for proxies during registration. I also have a problem with a very reliable member, they can not access the forums with this hacked installed as a stock plugin. They sent me the following: My IP address from home is blacklisted. It is my earthlink account. Thanks in advance |
Sorry if this has already been asked, but where can you put your own list of IPs? For instance, if I find IP addresses that are being used as open proxies but have not been listed at spamhaus, can I put these into my own file somewhere as a '2' value and, if so, does this go straight into the DB?
|
Quote:
This could have been really big. |
It appears it has. That's a shame, when security is more needed then ever.
|
:( so I guess it means a little reverse engineering for this - has anyone else found a solution to adding unlisted IPs before I start to reinvent the wheel?
|
You can blacklist IPs in the vB Options...
Otherwise to have it work smooth with the current RBL checks you could install a DNS server locally that can be used as a local RBL. Or you could fudge it and create an array with the list of IPs, then do a second check to see if it's in_array() and if so set the flag to block them. I would love to develop it further, but I just don't have the time with other projects. Some things you might want to consider changing is have the check run as a shutdown query or something, so that the user doesn't have to sit and wait and get impatient if the check doesn't run quickly. |
I know some people warned that on large sites this may cause problems. I'm here to say that is VERY true. My server loads were, on average, 1.00 across the board or less. After the board started picking up more and more members, and averaging more than 20 online at a time--the load was up to 4-8 (average). I couldn't think of what the problem was, i started blaming PHP and apache lol... but that wasn't it. Just keep this in the back of your mind if you use it. I removed it, and my load on the server and page load time - is back to normal:
Page generated in 0.28239 seconds with 17 queries [Server Loads: 0.37 0.40 : 0.76] |
If you switch the code to a shutdown query, then it shouldn't affect load as much.
|
not sure if its just me. but when i install it, it messes up my index. and won't view it.. i disable - and perfect? :s any way to block any type of proxys?
|
I experienced similar problems, completely crippled the index.php with a could not locate OPM_Deny message I believe it was. Index works fine with it disabled...
|
maybe a offical release/fix for 3.5.2?
|
I've been playing around with this code a bit and I'm not sure if this works, so I want to check with you before I say something about the code. If it works, maybe someone can help me with a product update? :)
First, I created a new table for the database (dumped with mysqlcc :)): Code:
And the code, for caching resolved hosts (this is a replacement for my first code actually): PHP Code:
Any comments? Can this work? :) Edit/050103: Just found a human-bug, that was fixed from now :) $query_write should be $db->query_write, very sorry for that. |
seems like these are all using Front-End Error Messages if im correct... and this is no longer in vbulletin 3.5.3 can someone update these?
|
works fine in 3.5.3 for me
|
I would love for this to come back to life. I had been using it, and it was wonderful! The only drawback was from the "false positives", and sadly, I had to disable it - if someone could step up and code in a conditional statement that checks against a admin-entered .txt or .xml whitelist, put your PayPal link in. and I'll send some "thanks" your way... ;)
|
I am having problems changing the OPM Phrase that appears to people...
Any IDeas? |
I've just uploaded a new version...
|
All times are GMT. The time now is 01:15 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|