473,791 Members | 2,725 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 "distribute d", 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 3937
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 "distribute d", 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*********@gm ail.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*********@gm ail.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.blogspo t.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
3087
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 complained to me that perl had trouble w/https. I was surprised since perl has a lot of networking libraries. Preferring python, I took a look a python and found the same problem. Eventually I figured out what python was missing: tunnelling. Though she...
0
2727
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 to obtain SHIP_wrap.cpp and SHIP.py; the latter contains the line "import _SHIP". I compile SHIP_wrap.cpp and a bunch of files into a DLL which I have the
23
2565
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 to be flaky. I want to run python scripts from this computer. At home I have a multi-computer network (from better times) but no internet access anymore, I could use this to try out solutions. I also have access to a friends computer which has...
0
1580
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 ( -1) / 197 closed ( +1) / 404 total ( +0) New / Reopened Patches ______________________
5
3002
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 would already exist, but my searches on freshmeat, and google turned up empty. I would be interested in starting my own project if necessary, so I have two questions: 1) Does any one no of such a project?
2
3362
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 there's no Content-Length header and some other circumstances, so I have to tweak and modify the headers received slightly. But it works quite well with these hacks. Now I'd like to add proxy authentication so that I'm not running this open...
0
330
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 ( +4) / 253 closed ( +2) / 525 total ( +6) New / Reopened Patches ______________________
6
4530
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 authentication to connect TO an external Web Server, but not how to go THROUGH a (corporate) Proxy, thus my question here. I've tried all sorts of permutations based on my findings, but (obviously) nothing's working for me. I've come across conflicting
0
9669
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9515
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10426
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10207
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9029
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7537
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6776
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5558
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4109
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.