Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Wikitech

TorBlock to specific, why not create a SimpleTor Extension?

 

 

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded


dan_the_man at telus

Jun 6, 2008, 12:45 AM

Post #1 of 3 (327 views)
Permalink
TorBlock to specific, why not create a SimpleTor Extension?

TorBlock is a bit to specific in what it does for how generic half the
code is. Part of what TorBlock does is the actual identification of Tor
exit nodes, however that's not something specific to TorBlock. There are
a lot of other uses like CheckUser identification, extensions to note
Tor usage in places in the UI, or even alternative things like
ConfirmEdit could require captcha from an anon Tor user rather than flat
blocking anon Tor users depending on local policy.

But basically what I'm saying is, just like how we have SimpleRegex
which is used by two or more of the Regex based extensions, It would be
nice if half of TorBlock was cut out into a SimpleTor extension which
would handle the basic parts of identifying Tor nodes. Then we could
make features in other extensions depend on SimpleTor and use it's
shared functionality to build those checks in.

--
~Daniel Friesen(Dantman) of:
-The Nadir-Point Group (http://nadir-point.com)
--It's Wiki-Tools subgroup (http://wiki-tools.com)
--Games-G.P.S. (http://ggps.org)
-And Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG)


_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


andrew at epstone

Jun 6, 2008, 8:12 PM

Post #2 of 3 (308 views)
Permalink
Re: TorBlock to specific, why not create a SimpleTor Extension? [In reply to]

On Fri, Jun 6, 2008 at 5:45 PM, DanTMan <dan_the_man [at] telus> wrote:
> But basically what I'm saying is, just like how we have SimpleRegex
> which is used by two or more of the Regex based extensions, It would be
> nice if half of TorBlock was cut out into a SimpleTor extension which
> would handle the basic parts of identifying Tor nodes. Then we could
> make features in other extensions depend on SimpleTor and use it's
> shared functionality to build those checks in.

Read the code, please.

The TorBlock extension has a method TorBlock::isExitNode( $ip = null
), where null means the current IP. All features can be disabled with
configuration settings. The TorBlock extension, as it exists, already
accomplishes this goal.


--
Andrew Garrett

_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


dan_the_man at telus

Jun 6, 2008, 8:25 PM

Post #3 of 3 (304 views)
Permalink
Re: TorBlock to specific, why not create a SimpleTor Extension? [In reply to]

Yes, I know that I did read the code. But installing TorBlock just to
get Tor related features in another extension doesn't really fit.

~Daniel Friesen(Dantman) of:
-The Nadir-Point Group (http://nadir-point.com)
--It's Wiki-Tools subgroup (http://wiki-tools.com)
--Games-G.P.S. (http://ggps.org)
-And Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG)

Andrew Garrett wrote:
> On Fri, Jun 6, 2008 at 5:45 PM, DanTMan <dan_the_man [at] telus> wrote:
>
>> But basically what I'm saying is, just like how we have SimpleRegex
>> which is used by two or more of the Regex based extensions, It would be
>> nice if half of TorBlock was cut out into a SimpleTor extension which
>> would handle the basic parts of identifying Tor nodes. Then we could
>> make features in other extensions depend on SimpleTor and use it's
>> shared functionality to build those checks in.
>>
>
> Read the code, please.
>
> The TorBlock extension has a method TorBlock::isExitNode( $ip = null
> ), where null means the current IP. All features can be disabled with
> configuration settings. The TorBlock extension, as it exists, already
> accomplishes this goal.
>
>
>
_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.