Spam being sent from my domain - is it DragonFly?
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexSecurity
Author Message
rosbif
500+ Posts Club


Joined: Jan 13, 2005
Posts: 571
Location: Paris, France

PostPost subject: Re: Spam being sent from my domain - is it DragonFly?
Posted: Sat Dec 26, 2009 10:40 am
Reply with quote

Thanks Nano, nothing attached - can I use the file from CVS? Will those close the 'hole' my host was referring to?

rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.11/5.0.77/5.2.8/9.2.1
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer


Joined: Jun 29, 2004
Posts: 3678
Location: Melbourne, AU

PostPost subject: Re: Spam being sent from my domain - is it DragonFly?
Posted: Sun Dec 27, 2009 2:54 am
Reply with quote

You should now be able to download the file.

No, it wont get rid of the problem.
It will include a custom header in all outgoing emails
"X-DF-MailerSRC: FileUsedToSendMail for IpAddress"

When u receive a bounced email, check for this header in the mail message source and you will know which file is abused.
No need to guess anymore. Straight to the source of the issue.

At this stage you will know what you need to disable/change.

_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 5.1 / PHP 5.3 / NextGen()
Back to top
View user's profile Visit poster's website
rosbif
500+ Posts Club


Joined: Jan 13, 2005
Posts: 571
Location: Paris, France

PostPost subject: Re: Spam being sent from my domain - is it DragonFly?
Posted: Sun Dec 27, 2009 8:51 am
Reply with quote

Thanks Nano - I'll keep an eye. My host banned the IP that 'appeared' to be sending the emails (and the email adresses got all the way to az**@*.*) and they appear to have stopped for now.

rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.11/5.0.77/5.2.8/9.2.1
Back to top
View user's profile Visit poster's website
Dizfunkshunal
Platinum Supporter


Joined: Mar 23, 2006
Posts: 2079

PostPost subject: Re: Spam being sent from my domain - is it DragonFly?
Posted: Sun Dec 27, 2009 3:48 pm
Reply with quote

they have stopped lol because you removed the Tell a friend option.
_________________
Diz Web Design Status: Open (Use of resources requires registration.)

Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Multiple Setups
Back to top
View user's profile Send e-mail Visit poster's website Yahoo Messenger
NanoCaiordo
Developer


Joined: Jun 29, 2004
Posts: 3678
Location: Melbourne, AU

PostPost subject: Re: Spam being sent from my domain - is it DragonFly?
Posted: Mon Dec 28, 2009 2:29 am
Reply with quote

They have stopped because you removed Tell a Friend module and or the IP was banned but the patch will still help you in case some other module use a similar function.
_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 5.1 / PHP 5.3 / NextGen()
Back to top
View user's profile Visit poster's website
macavity
Heavy poster


Joined: Jun 23, 2004
Posts: 179

PostPost subject: Re: Spam being sent from my domain - is it DragonFly?
Posted: Sat Jan 23, 2010 10:10 pm
Reply with quote

rosbif,

Just came across this thread. I encountered exactly the same problem on the 17th of December (disabled the module to deal with at that time). Interestingly the site in question was very much along the same lines as yours as far as subject matter is concerned - just a coincidence I guess!


macavity's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
FreeBSD/Apache 2.0/MySQL 5.0.77/PHP 5.2.10/Dragonfly 9.2.1
Back to top
View user's profile
rosbif
500+ Posts Club


Joined: Jan 13, 2005
Posts: 571
Location: Paris, France

PostPost subject: Re: Spam being sent from my domain - is it DragonFly?
Posted: Tue Jan 26, 2010 8:26 am
Reply with quote

Could be - seemed like a determined attack to me at the time!

rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.11/5.0.77/5.2.8/9.2.1
Back to top
View user's profile Visit poster's website
rosbif
500+ Posts Club


Joined: Jan 13, 2005
Posts: 571
Location: Paris, France

PostPost subject: Re: Spam being sent from my domain - is it DragonFly?
Posted: Sun May 09, 2010 1:15 pm
Reply with quote

I've started getting attacked again - having added the line to my phpmailer page the offending page that is being targetted is /home/chantill/public_html/modules/Downloads/include/friend.inc

I'm going to try and add a captcha to that page or change it to registered users only to try and shore it up. To be honest I think every link like this should be plugged or selectable in config..


rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.11/5.0.77/5.2.8/9.2.1
Back to top
View user's profile Visit poster's website
macavity
Heavy poster


Joined: Jun 23, 2004
Posts: 179

PostPost subject: Re: Spam being sent from my domain - is it DragonFly?
Posted: Sun May 09, 2010 1:20 pm
Reply with quote

Sorry to hear that. If/when I bring ours back online I think it definitely has to befor registered users only - hope that works for you.
_________________
Note: WWW Private Listing - Staff Only

macavity's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
FreeBSD/Apache 2.0/MySQL 5.0.77/PHP 5.2.10/Dragonfly 9.2.1
Back to top
View user's profile
rosbif
500+ Posts Club


Joined: Jan 13, 2005
Posts: 571
Location: Paris, France

PostPost subject: Re: Spam being sent from my domain - is it DragonFly?
Posted: Sun May 09, 2010 1:54 pm
Reply with quote

I've added the following lines to the preview and submit functions in friend.inc

Code:
   if (!is_user()) { $error = 'Sorry, this function is for registered users only'; }

and I've changed the form at the bottom to this:

Code:
       <input type="hidden" name="id" value="'.$friend_id.'" />';

	   if (is_user()) { echo '<input type="submit" name="preview_message" value="'._PREVIEW.'" /> <input type="submit" name="send_message" value="'._SUBMIT.'" />';
		} else {
			echo 'Please log in to use this feature';
			}
			
       echo '</form>';

Think that should be sufficient. I should really make it multilingual and/or not display the tell a friend link if not logged in but I can't find where to add that bit!


rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.11/5.0.77/5.2.8/9.2.1
Back to top
View user's profile Visit poster's website
rosbif
500+ Posts Club


Joined: Jan 13, 2005
Posts: 571
Location: Paris, France

PostPost subject: Re: Spam being sent from my domain - is it DragonFly?
Posted: Sun May 09, 2010 1:58 pm
Reply with quote

The IP address showing up is 112.202.212.250 so I am going to block that too.

rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.11/5.0.77/5.2.8/9.2.1
Back to top
View user's profile Visit poster's website
macavity
Heavy poster


Joined: Jun 23, 2004
Posts: 179

PostPost subject: Re: Spam being sent from my domain - is it DragonFly?
Posted: Sun May 09, 2010 2:32 pm
Reply with quote

Thanks for sharing that info - I'll make a note.
_________________
Note: WWW Private Listing - Staff Only

macavity's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
FreeBSD/Apache 2.0/MySQL 5.0.77/PHP 5.2.10/Dragonfly 9.2.1
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexSecurity All times are GMT
Go to page Previous  1, 2
Page 2 of 2


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Dedicated Server & Bandwidth Sponsored by DedicatedNOW
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
This page generated in 0.8692 seconds with 16 DB Queries in 0.3093 seconds
Memory Usage: 2.98 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy