phpList version 3.0.x - Code Enhancements

Add IP Address of Spam Atacker to Admin eMail


small phplist logoHaving the option to use the anti spambot check in phpList is extremely useful as at the time of writing (2013-09-03) I've just received my second batch of 5 emails (in 3 days) warning of a possible spam attack.

Something that I've been meaning to address for a while is the lack of an originating IP address i.e. that of the attacker as I've received almost 100 warning messages in the last 6 months.

So after I'd received the first batch on Sunday I added a small piece of code to one of the files that would collect and add the IP address to the outgoing admin email..

I uploaded the ammended file realising that I may not get another attack for some weeks, luckily for me our Spam Attacker was obviously bored and decided to try again today. The IP address had been added to the mail and I was able to run a reverse IP check where I discovered that the attack came from somewhere east of here.....lol

Further checks established that the address is quite well known and is highly active.


Next Steps

Firstly I guess would be to log these events with a monitoring service and then use .htaccess to block the ip address in question. However at the moment I want them to visit again as I've tweaked the code to make it easier to see the ip address in the mail..

NOTE - This release is not compatible with releases below v3.0.0 .



Config.php - Changes required

Find # add spamblock and # notify spam in the config.php file and set both to 1 to activate them..


Rel. Date Ver. Notes
29-11-2018 2.2.2 Code & Documentation for phpList v3.3.6
20-11-2018 2.2.1 Code & Documentation for phpList v3.3.5
22-09-2018 2.2.0 Code & Documentation for phpList v3.3.4
29-05-2018 2.1.9 Code & Documentation for phpList v3.3.3
14-02-2017 2.1.8 Code & Documentation for phpList v3.3.1
06-02-2017 2.1.7 Code & Documentation for phpList v3.3.0
31-01-2017 2.1.6 Code & Documentation for phpList v3.3.0 RC4.
08-01-2017 2.1.5 Code & Documentation for phpList v3.2.7.
10-11-2016 2.1.4 Code & Documentation for phpList v3.2.6.
07-10-2016 2.1.3 Code & Documentation for phpList v3.2.6 rc1.
28-05-2016 2.1.2 Code & Documentation for phpList v3.2.5.
25-02-2016 2.1.1 Code & Documentation for phpList v3.2.4.
23-02-2016 2.1.0 Code & Documentation for phpList v3.2.3.
21-02-2016 2.0.9 Code & Documentation for phpList v3.2.2.
14-02-2016 2.0.8 Confirmed compatability with phpList v3.2.1.
06-02-2016 2.0.7 Confirmed compatability with phpList v3.2.0.
05-02-2015 2.0.6 Confirmed compatability with phpList v3.0.12.
12-01-2015 2.0.5 Confirmed compatability with phpList v3.0.11
24-10-2014 2.0.4 Confirmed compatability with phpList v3.0.9 & 10.
13-09-2014 2.0.3 Confirmed compatability with phpList v3.0.8.
30-08-2014 2.0.2 Confirmed compatability with phpList v3.0.7
21-08-2014 2.0.1 Confirmed compatability with phpList v3.0.
Release Date Rel-Date Version Ver. Notes php
List
Download
phpList with AG-P Hacks is distributed under the LGPL. Read More
29.11.2018 2.2.2 Documentation update for phpList 3.3.6 3.3.6 Download
20.11.2018 2.2.1 Documentation update for phpList 3.3.5 3.3.5 Download
22.09.2018 2.2.0 Documentation update for phpList 3.3.4 3.3.4 Download
29.05.2018 2.1.9 Documentation update for phpList 3.3.3 3.3.3 Download
14.02.2017 2.1.8 Documentation update for phpList 3.3.1 3.3.1 Download
06.02.2017 2.1.7 Documentation update for phpList 3.3.0 3.3.0 Download
31.01.2017 2.1.6 Documentation update for phpList 3.3.0 RC4 3.3.0 RC4 Download
08.01.2017 2.1.5 Documentation update for phpList 3.2.7 3.2.7 Download
10.11.2016 2.1.4 Documentation update for phpList 3.2.6 3.2.6 Download
07.10.2016 2.1.3 Documentation update for phpList 3.2.6 rc1 3.2.6 rc1 Download
28.05.2016 2.1.2 Documentation update for phpList 3.2.5 3.2.5 Download
25.02.2016 2.1.1 Documentation update for phpList 3.2.4 3.2.4 Download
23.02.2016 2.1.0 Documentation update for phpList 3.2.3 3.2.3 Download
21.02.2016 2.0.9 Documentation update for phpList 3.2.2 3.2.2 Download
14.02.2016 2.0.8 Documentation update for phpList 3.2.1 3.2.1 Download
06.02.2016 2.0.7 Documentation update for phpList 3.2.0 3.2.0 Download
05.02.2015 2.0.6 Documentation update for phpList 3.0.12 3.0.12 Download
12.01.2015 2.0.5 Documentation update for phpList 3.0.11 3.0.11 Download
24.10.2014 2.0.4 Documentation update for phpList 3.0.9 & 10 3.0.10 Download
13.09.2014 2.0.3 Documentation update for phpList 3.0.8 3.0.8 Download
21.08.2014 2.0.2 Coding changes for phpList 3.0.7 3.0.7 Download
26.04.2014 2.0.1 Documentation Update 3.0.6 Download
12.07.2013 2.0.0 Initial Release 3.0.4 Download


All photographs & images are the copyright of Alan G Fairhall and may not be reproduced or downloaded without express permission from the photographer
alangeorge-photography



Code Enhancements

Remember before making and uploading any changes to your core code always back up your database as well as the original files.



eMail Templates

Wedding Photography

Wedding Photography