473,413 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,413 software developers and data experts.

Python open proxy honeypot

Being deluged by spam like nearly all of us (though fortunately I have a
very good spam filter), I also hate spam as much as almost everybody. I
know basic Python (enough to make a simple IRC bot) and I figured a good
project to help learn Python would be to make a simple "proxypot."

I've done some research and found one already existing, written in Perl
(http://www.proxypot.org/). However, I prefer the syntax and ease of
Python (and Proxypot is no longer maintained, as far as I can see), so I
decided to write my own. I have just one question:

Is running Python's built-in smtpd, pretending to accept and forward all
messages, enough to get me noticed by a spammer, or do I have to do
something else to "advertise" my script as an open proxy?

I'm hoping to make this proxy script "distributed", in that several
honeypots are run on different servers, and the results are then
collected on a central server that provides statistics and a listing of
all spammers caught. So, just out of curiosity, I'd like to know how
many people would actually be willing to run a honeypot on their server,
and how many are opposed to the idea (just so I know if the concept is
even valid).

Thanks!
Jun 13 '06 #1
6 3895
Alex Reinhart wrote:
Being deluged by spam like nearly all of us (though fortunately I have a
very good spam filter), I also hate spam as much as almost everybody. I
know basic Python (enough to make a simple IRC bot) and I figured a good
project to help learn Python would be to make a simple "proxypot."

I've done some research and found one already existing, written in Perl
(http://www.proxypot.org/). However, I prefer the syntax and ease of
Python (and Proxypot is no longer maintained, as far as I can see), so I
decided to write my own. I have just one question:

Is running Python's built-in smtpd, pretending to accept and forward all
messages, enough to get me noticed by a spammer, or do I have to do
something else to "advertise" my script as an open proxy?

I'm hoping to make this proxy script "distributed", in that several
honeypots are run on different servers, and the results are then
collected on a central server that provides statistics and a listing of
all spammers caught. So, just out of curiosity, I'd like to know how
many people would actually be willing to run a honeypot on their server,
and how many are opposed to the idea (just so I know if the concept is
even valid).


IMHO it's pretty useless, spammers are starting to use botnets, and the
more you make inconvenient to them use open proxies, the more of them
will move to closed botnets.

My spam folder at gmail is not growing anymore for many months (it is
about 600-700 spams a month). Have spammers given up spamming gmail.com
only or is it global trend?

Jun 13 '06 #2
Serge Orlov wrote:
IMHO it's pretty useless, spammers are starting to use botnets, and the
more you make inconvenient to them use open proxies, the more of them
will move to closed botnets. As long as I inconvenience them, or at least catch one or two, I'll be
satisfied.
My spam folder at gmail is not growing anymore for many months (it is
about 600-700 spams a month). Have spammers given up spamming gmail.com
only or is it global trend?

I get several spam mails a day at gmail.com.
Jun 13 '06 #3
Alex Reinhart wrote:
Serge Orlov wrote:
IMHO it's pretty useless, spammers are starting to use botnets, and the
more you make inconvenient to them use open proxies, the more of them
will move to closed botnets.

As long as I inconvenience them, or at least catch one or two, I'll be
satisfied.


What makes you think that spammers won't discover you're blackholing
their spam as soon as you start to make some impact on their business?
They will just skip your proxypots and move to real open proxies.

I think you'll make bigger impact if you implement proxy checking
software <http://dsbl.org/programs> in Python, so it can run on windows
too.

Jun 13 '06 #4
Serge Orlov wrote:
Alex Reinhart wrote:
Serge Orlov wrote:
IMHO it's pretty useless, spammers are starting to use botnets, and the
more you make inconvenient to them use open proxies, the more of them
will move to closed botnets. As long as I inconvenience them, or at least catch one or two, I'll be
satisfied.


What makes you think that spammers won't discover you're blackholing
their spam as soon as you start to make some impact on their business?
They will just skip your proxypots and move to real open proxies.

There are so many spammers and (hopefully) more than one proxypot, so a
stream of less-than-coordinated spammers would probably be caught. The
more coordinated, careful ones would probably avoid them quickly enough,
but I'm sure there are plenty of stupid spammers.
I think you'll make bigger impact if you implement proxy checking
software <http://dsbl.org/programs> in Python, so it can run on windows
too.

That would be a good goal as well.
Jun 14 '06 #5
On 13 Jun 2006 15:09:57 -0700, Serge Orlov <Se*********@gmail.com> wrote:
Alex Reinhart wrote:
My spam folder at gmail is not growing anymore for many months (it is
about 600-700 spams a month). Have spammers given up spamming gmail.com
only or is it global trend?

Gmail said "messages that have been in Spam more than 30 days will be
automatically deleted"
so may be the speed of spam comes in counterbalanced to the speed spam goes out?
Jun 14 '06 #6
imcs ee wrote:
On 13 Jun 2006 15:09:57 -0700, Serge Orlov <Se*********@gmail.com> wrote:
Alex Reinhart wrote:
My spam folder at gmail is not growing anymore for many months (it is
about 600-700 spams a month). Have spammers given up spamming gmail.com
only or is it global trend?

Gmail said "messages that have been in Spam more than 30 days will be
automatically deleted"
so may be the speed of spam comes in counterbalanced to the speed spam goes out?


Yes, it is. My point was "monthly amount" is not increasing for me. But
I guess if you publish your email everywhere it is increasing:
<http://egofood.blogspot.com/2006/06/well-spam-is-officially-annoying.html>
20,000 a month. Wow.

Jun 15 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: john | last post by:
The python libraries like urllib and httplib do not support ssl through a proxy. Urllib2 supports http through a proxy or https alone, but not https through a proxy. A while ago my wife...
0
by: Bill Davy | last post by:
I am working with MSVC6 on Windows XP. I have created an MSVC project called SHIP I have a file SHIP.i with "%module SHIP" as the first line (file is below). I run SHIP.i through SWIG 1.3.24...
23
by: anton.vredegoor | last post by:
Here's my situation: I'm typing this in a public library on a computer with OS windows 2000 server. I can run Internet explorer, word, excel and powerpoint, that's it. Maybe java, but it seems...
0
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 391 open ( +7) / 3028 closed (+12) / 3419 total (+19) Bugs : 906 open ( -3) / 5519 closed (+19) / 6425 total (+16) RFE : 207 open...
5
by: thorley | last post by:
Greetings, I'm interested in a simple content-based internet firewall/filter, similar to dansguardian (http://dansguardian.org/), but written in python, and for windows. I assumed such a project...
2
by: Dan Lenski | last post by:
Hi all, I've got a very simple HTML proxy server to access the web from my cell phone (based on this code: http://www.okisoft.co.jp/esc/python/proxy/). It's a very retarded phone that freezes if...
0
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 380 open (-36) / 3658 closed (+65) / 4038 total (+29) Bugs : 965 open ( -9) / 6555 closed (+35) / 7520 total (+26) RFE : 272 open...
6
by: Larry Hale | last post by:
Greetings, Pythonistas! My employer has a Squid Proxy between my Python programs and The Internet. I've searched high-and-low, and can only find examples online of how to do basic...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.