<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.anope.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.anope.org/index.php?action=history&amp;feed=atom&amp;title=2.0%2FModules%2Fm_proxyscan</id>
		<title>2.0/Modules/m proxyscan - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.anope.org/index.php?action=history&amp;feed=atom&amp;title=2.0%2FModules%2Fm_proxyscan"/>
		<link rel="alternate" type="text/html" href="https://wiki.anope.org/index.php?title=2.0/Modules/m_proxyscan&amp;action=history"/>
		<updated>2026-05-29T18:39:30Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.4</generator>

	<entry>
		<id>//wiki.anope.org/index.php?title=2.0/Modules/m_proxyscan&amp;diff=879&amp;oldid=prev</id>
		<title>Azander: Created page with &quot;{{Language|2.0/Modules/m_proxyscan}} {{Header|m_proxyscan|Extra_Modules|Anope}}   == &lt;div class=&quot;moduleheader&quot;&gt;Description&lt;/div&gt; == This module allows you to scan connecting c...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.anope.org/index.php?title=2.0/Modules/m_proxyscan&amp;diff=879&amp;oldid=prev"/>
				<updated>2014-05-12T21:39:46Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Language|2.0/Modules/m_proxyscan}} {{Header|m_proxyscan|Extra_Modules|Anope}}   == &amp;lt;div class=&amp;quot;moduleheader&amp;quot;&amp;gt;Description&amp;lt;/div&amp;gt; == This module allows you to scan connecting c...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Language|2.0/Modules/m_proxyscan}}&lt;br /&gt;
{{Header|m_proxyscan|Extra_Modules|Anope}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;div class=&amp;quot;moduleheader&amp;quot;&amp;gt;Description&amp;lt;/div&amp;gt; ==&lt;br /&gt;
This module allows you to scan connecting clients for open proxies.&lt;br /&gt;
&lt;br /&gt;
:Currently the two supported proxy types are '''HTTP''' and '''SOCKS5'''.&lt;br /&gt;
&lt;br /&gt;
:;name= :Module name.&lt;br /&gt;
:;target_ip= :The target IP services tells the proxy to connect back to.&lt;br /&gt;
:;target_port= :The port services tells the proxy to connect to.&lt;br /&gt;
:;listen_ip= :The listen IP services listen on for incoming connections from suspected proxies.&lt;br /&gt;
:;listen_port= :The port services should listen on for incoming connections from suspected proxies.&lt;br /&gt;
:;connect_notice= :An optional notice sent to clients upon connect.&lt;br /&gt;
:;connect_source= :Who the notice should be sent from.&lt;br /&gt;
:;add_to_akill= :If set, OperServ will add infected clients to the akill list. Without it, OperServ simply sends a timed G/K-line to the IRCd and forgets about it. &lt;br /&gt;
:;timeout= :How long before connections should be timed out.&lt;br /&gt;
:;proxyscan {...} :&lt;br /&gt;
::;type= :The type of proxy to check for. A comma separated list is allowed.&lt;br /&gt;
::;port= :The ports to check.&lt;br /&gt;
::;reason= :The reason to ban the user for.&lt;br /&gt;
&lt;br /&gt;
*'''NOTE''': Using this will allow users to get the IP of your services machine.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;div class=&amp;quot;moduleheader&amp;quot;&amp;gt;Default Configuration&amp;lt;/div&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 * m_proxyscan&lt;br /&gt;
 *&lt;br /&gt;
 * This module allows you to scan connecting clients for open proxies.&lt;br /&gt;
 * Note that using this will allow users to get the IP of your services.&lt;br /&gt;
 *&lt;br /&gt;
 * Currently the two supported proxy types are HTTP and SOCKS5.&lt;br /&gt;
 *&lt;br /&gt;
 * The proxy scanner works by attempting to connect to clients when they&lt;br /&gt;
 * connect to the network, and if they have a proxy running instruct it to connect&lt;br /&gt;
 * back to services. If services are able to connect through the proxy to itself&lt;br /&gt;
 * then it knows it is an insecure proxy, and will ban it.&lt;br /&gt;
 */&lt;br /&gt;
#module&lt;br /&gt;
{&lt;br /&gt;
        name = &amp;quot;m_proxyscan&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        /*&lt;br /&gt;
         * The target IP services tells the proxy to connect back to. This must be a publicly&lt;br /&gt;
         * available IP that remote proxies can connect to.&lt;br /&gt;
         */&lt;br /&gt;
        #target_ip = &amp;quot;127.0.0.1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        /*&lt;br /&gt;
         * The port services tells the proxy to connect to.&lt;br /&gt;
         */&lt;br /&gt;
        target_port = 7226&lt;br /&gt;
&lt;br /&gt;
        /*&lt;br /&gt;
         * The listen IP services listen on for incoming connections from suspected proxies.&lt;br /&gt;
         * This probably will be the same as target_ip, but may not be if you are behind a firewall (NAT).&lt;br /&gt;
         */&lt;br /&gt;
        #listen_ip = &amp;quot;127.0.0.1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        /*&lt;br /&gt;
         * The port services should listen on for incoming connections from suspected proxies.&lt;br /&gt;
         * This most likely will be the same as target_port.&lt;br /&gt;
         */&lt;br /&gt;
        listen_port = 7226&lt;br /&gt;
&lt;br /&gt;
        /*&lt;br /&gt;
         * An optional notice sent to clients upon connect.&lt;br /&gt;
         */&lt;br /&gt;
        #connect_notice = &amp;quot;We will now scan your host for insecure proxies. If you do not consent to this scan please disconnect immediately.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        /*&lt;br /&gt;
         * Who the notice should be sent from.&lt;br /&gt;
         */&lt;br /&gt;
        #connect_source = &amp;quot;OperServ&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        /*&lt;br /&gt;
         * If set, OperServ will add infected clients to the akill list. Without it, OperServ simply sends&lt;br /&gt;
         * a timed G/K-line to the IRCd and forgets about it. Can be useful if your akill list is being filled up by bots.&lt;br /&gt;
         */&lt;br /&gt;
        add_to_akill = yes&lt;br /&gt;
&lt;br /&gt;
        /*&lt;br /&gt;
         * How long before connections should be timed out.&lt;br /&gt;
         */&lt;br /&gt;
        timeout = 5&lt;br /&gt;
&lt;br /&gt;
        proxyscan&lt;br /&gt;
        {&lt;br /&gt;
                /* The type of proxy to check for. A comma separated list is allowed. */&lt;br /&gt;
                type = &amp;quot;HTTP&amp;quot;&lt;br /&gt;
&lt;br /&gt;
                /* The ports to check. */&lt;br /&gt;
                port = &amp;quot;80,8080&amp;quot;&lt;br /&gt;
&lt;br /&gt;
                /* How long to set the ban for. */&lt;br /&gt;
                time = 4h&lt;br /&gt;
&lt;br /&gt;
                /*&lt;br /&gt;
                 * The reason to ban the user for.&lt;br /&gt;
                 * %h is replaced with the type of proxy found.&lt;br /&gt;
                 * %i is replaced with the IP of proxy found.&lt;br /&gt;
                 * %p is replaced with the port.&lt;br /&gt;
                 */&lt;br /&gt;
                reason = &amp;quot;You have an open proxy running on your host (%t:%i:%p)&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Azander</name></author>	</entry>

	</feed>