Posted on: 02/03/05 02:42pm
By: THEMike
HTTP_Referer 1.3 is now available from my site, and awaiting approval at geeklog.net.
This adds:
Pagination support for search phrase/search word screens (I trim latest referers constantly, so I didn't paginate it)
SpamX Support for blocking HTTP_REFERER spam.
To upgrade, just replace functions.inc.
HTTP_REFERER 1.3
Posted on: 02/03/05 04:57pm
By: tomw
SpamX examining all the referers could drastically slow down everything especially if you have the ip of site module loaded. Then it would do a reverse lookup on every referer to your site which would be several times per page. I briefly played with a similiar idea and it brought my sites to a crawl. I hope you made SpamX usage configurable.
I finally resorted to a script that examins the referer lists twice a day and adds them to the ban list.
HTTP_REFERER 1.3
Posted on: 02/03/05 05:10pm
By: THEMike
http_referer's that:
1) Aren't the site
2) Aren't a search engine
and
3) Aren't any of the anon proxies I've come accross
Are then filtered for spam.
I have noticed no decrease in performance on my site, and I've been running this version of the code since 1.3.11 was released. But then, my sites aren't /that/ busy, and I don't use the ip filters.
What HTTP referer logging to you use? Own, mine or other?
HTTP_REFERER 1.3
Posted on: 02/03/05 11:35pm
By: tomw
I use my stats plugin. But my tests were trying to make an automatic ban. The gambler spammer uses a very small number of IPs for all his websites. I tried checking for that IP based on the HTTP_REFERER variable for automatic adding to my ban list. It wasn't worth the speed hit. It would require some kind of caching since each page request results in several http requests all of which have to be checked.
So I just made a script that periodically (twice a day) looks at the referer list and only makes one lookup per referer and if it matches the list it deletes them from the list and adds it to the ban list.
HTTP_REFERER 1.3
Posted on: 11/20/05 11:57am
By: kemal
hi,
i installed http referer 1.3,
but my referers block giving this error :
Error in PHP Block. Function, phpblock_referers, does not exist.
what can i do??
HTTP_REFERER 1.3
Posted on: 11/20/05 03:29pm
By: THEMike
There are three block functions defined, that is not one of them. Your choices are:
phpblock_http_referer_list, lists the last $_CONF['http_referer_block_limit'] http_referers.
phpblock_http_referer_list_phrases lists the last $_CONF['http_referer_block_limit'] search phrases used to find your site.
phpblock_http_referer_list_words lists the last $_CONF['http_referer_block_limit'] search words used to find your site.
HTTP_REFERER 1.3
Posted on: 11/21/05 06:15am
By: kemal
thanks.
it's runnig but i dont wanna more than 10 links and i dont wanna same links listing..
and i wanna hide some links.. How can i optimize?
HTTP_REFERER 1.3
Posted on: 11/21/05 06:26am
By: kemal
and and and i wanna hide http:// part..
HTTP_REFERER 1.3
Posted on: 11/21/05 09:05am
By: THEMike
you can limit the number by changing the value in the variable I noted.
As to not the same and not show http://, you'll have to write your own phpblock function I'm afraid.