• Are there any plugin creators who would be interested in putting this together for the WordPress community? The more WP sites running this type of plugin the wider we can spread the message.

    I can imagine someone expanding this idea to include a note to inform visitors of the site that they can write to the FCC via a public comment, call on sites like Google, Yahoo!, Microsoft, Facebook, Twitter, etc. to implement something like this, or any number of other ways to raise awareness of how the Internet could be affected by the proposed “fast lane” concept.

    How to throttle the FCC to dial up modem speeds on your website using Nginx
    https://gist.github.com/kyledrake/e6046644115f185f7af0

    # The blog post that started it all: https://neocities.org/blog/the-fcc-is-now-rate-limited
    #
    # Current known FCC address ranges:
    # https://news.ycombinator.com/item?id=7716915
    #
    # Confirm/locate FCC IP ranges with this: http://whois.arin.net/rest/net/NET-165-135-0-0-1/pft
    #
    # In your nginx.conf:
    
    location / {
    
      if ( $remote_addr ~* 192.133.125.0/24 ) {
        limit_rate 3k;
      }
    
      if ( $remote_addr ~* 165.135.0.0/16 ) {
        limit_rate 3k;
      }
    
      if ( $remote_addr ~* 192.104.54.0/24 ) {
        limit_rate 3k;
      }
    
      if ( $remote_addr ~* 4.21.126.0/24 ) {
        limit_rate 3k;
      }
    
      if ( $remote_addr ~* 65.125.25.64/26 ) {
        limit_rate 3k;
      }
    
      if ( $remote_addr ~* 208.23.64.0/25 ) {
        limit_rate 3k;
      }
    
      # put the serve files or proxy_pass code here.
    }
Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter garyploski

    (@garyploski)

    With today’s FCC announcement I thought I’d bump this up in case anyone out there wants to see more sites using WP to slow down government IPs so the users, i.e. elected officials, can see what they could be doing to the Internet.

    I would love to instantly implement this on all the pages I manage. Although I doubt they will try to visit, maybe there is a way they can know they have been throttled.

    I made a quick plugin that slows down FCC users when the plugin detects their IP to be in the publicly known FCC IP blocks (CIDRs) and submitted to the WordPress directory for review. However, if you want to get it directly, here is the direct link:

    FCC Slow Lane Plugin.

    If you want to see a demo first, just go to my blog with this link:

    Demo

    Thread Starter garyploski

    (@garyploski)

    Kudos to you, evoknow. =) Here’s to hoping it gets posted into the WP plugin directory.

    An added thought I had to this was to get across speed issues to all elected officials, i.e. congress and even the White House. I don’t know their IP ranges but maybe something to consider since they are all connected.

    @garyploski, thank you. I wrote this as fast as possible and used a CIDR format for matching IP ranges so we can easily add new blocks. However, I didn’t make an admin backend yet. If there is enough interest, I can easily get a nice admin backend where admin can add new IP CIDR formatted blocks with custom messages to target different audience (FCC, other officials etc.)

    WordPress.org rejected the plugin because I had the word “plugin” in the name so I removed it and resubmitted it for review. Keeping fingers crossed.

    Any advice on how to promote this up among WordPress site admins?

    Thanks.

    Thread Starter garyploski

    (@garyploski)

    That sounds like a great approach.

    I’m sure tech news sites would find it interesting. Various subreddits also. With all the FCC news it should be easy to get WP users and tech bloggers interested in the plugin.

    Wow, just got the plugin approved! WordPress.org reviewers are amazing and fast! Thank you for allowing us protest against FCC.

    @garyploski, thanks for your encouragement and great advice! I will see if I can mention the plugin to tech news sites but kinda new to this. 🙂

    The plugin got mentioned on WPTavern.com:
    WPTavern.com

    Thread Starter garyploski

    (@garyploski)

    That’s fantastic. On to the next WP site. =D

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Plugin request: Throttle the FCC to dial up modem speeds on your website – Nginx’ is closed to new replies.