Reply to Thread

Post a reply to the thread: Jim/Downshifter can't connect

Your Message

Click here to log in

If you cannot see this image please contact the administrator for assistance.

What is the answer to this math question

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 12-19-2016, 09:26 AM
    Trials
    Quote Originally Posted by Downshifter View Post
    you damn geeks. I understood more people in the Philippines then I do in this thread (lol) however you want to word it my access is back...

    Jim.....
    The geek factor is very strong in this one.
  • 12-19-2016, 08:00 AM
    Downshifter
    you damn geeks. I understood more people in the Philippines then I do in this thread (lol) however you want to word it my access is back...

    Jim.....
  • 12-18-2016, 09:59 PM
    Derick
    Quote Originally Posted by WoodstockJeff View Post
    A lot depends upon where you place the .htaccess file.

    In the old site, you had the forum software in a subdirectory; were that still the case, that directory could have the block, while the "read only" site would not need it.

    Incidentally, if you haven't already done so, make sure that any "include" directories are tagged as no access from ANYWHERE. When PHP accesses a file in an include directory, it isn't subject to the .htaccess restrictions, so things that "showthread.php" includes are safe from being accessed directly. This is what gets a LOT of Wordpress sites in trouble - you can deeply link into directories that should never be accessed from the outside, and put up entire (illegal) websites within them.
    Actually thats not accurate. We've not been in a /forum directory since vb 3.5. The htaccess uses modrewrite to create virtual directories like that. Wordpress does the same thing depending on how you have permalink setup.
  • 12-18-2016, 08:55 PM
    WoodstockJeff
    A lot depends upon where you place the .htaccess file.

    In the old site, you had the forum software in a subdirectory; were that still the case, that directory could have the block, while the "read only" site would not need it.

    Incidentally, if you haven't already done so, make sure that any "include" directories are tagged as no access from ANYWHERE. When PHP accesses a file in an include directory, it isn't subject to the .htaccess restrictions, so things that "showthread.php" includes are safe from being accessed directly. This is what gets a LOT of Wordpress sites in trouble - you can deeply link into directories that should never be accessed from the outside, and put up entire (illegal) websites within them.
  • 12-18-2016, 07:53 PM
    Derick
    Quote Originally Posted by WoodstockJeff View Post
    True, there are a lot of sites you can go to, but...

    There are advantages to hosting your own. I removed from this the code that notifies us that someone accessed the page, and what IP they used to do it, so that we can validate their access to a site before they can create the email that tells us what their public IP is. We deal with a LOT of people behind NAT (network address translation) firewalls, who are convinced their IP is 10.n.n.n or 172.16.n.n, simply because it ISN'T an address in the 192.168.n.n range.

    The other advantages is that it lets us know if the blockage is coming upstream of us. While we have services that are IP-limited, the IP checker isn't. If they can't get to it, they have an issue we can't help them with.
    Yeah that wouldnt work here. There about 5 different ways to block at BBO, but primarily is the htaccess file. I have about 2mb worth of code in there blocking lots of foreign subnets. The one jim got caught up in was the nyc.fios.vzw.net subnet block I recently put in. Obviously that's a bad choice, but I also see about 20% more users online now, I guarantee they arent all legitimate. So google is my go-to for getting public IPs, because if they are blocked in the htaccess, they wont get to an IP lookup page either.
  • 12-18-2016, 06:16 PM
    WoodstockJeff
    Quote Originally Posted by Trials View Post
    Or you can just visit: ping.eu and your IP displays at the top of the page
    True, there are a lot of sites you can go to, but...

    There are advantages to hosting your own. I removed from this the code that notifies us that someone accessed the page, and what IP they used to do it, so that we can validate their access to a site before they can create the email that tells us what their public IP is. We deal with a LOT of people behind NAT (network address translation) firewalls, who are convinced their IP is 10.n.n.n or 172.16.n.n, simply because it ISN'T an address in the 192.168.n.n range.

    The other advantages is that it lets us know if the blockage is coming upstream of us. While we have services that are IP-limited, the IP checker isn't. If they can't get to it, they have an issue we can't help them with.
  • 12-18-2016, 04:53 PM
    Chench53
    Quote Originally Posted by Downshifter View Post
    Yay Im back thanks guys, and Gerry for the help...

    Jim.....
    Yay from me too, and happy to help!!

    Gerry
  • 12-18-2016, 04:09 PM
    AlwaysLearnin
    Quote Originally Posted by Trials View Post
    Or you can just visit: ping.eu and your IP displays at the top of the page
    NO NO NO NO! My goto site for that is ipchiken.com - I like the funky name and when you tell people to go to ipchicken.com the response is pretty much always the same: "Whaaatt?!"

    Sent from my SM-G930V using Tapatalk
  • 12-18-2016, 03:35 PM
    Downshifter
    Yay Im back thanks guys, and Gerry for the help...

    Jim.....
  • 12-18-2016, 01:27 PM
    Trials
    Quote Originally Posted by WoodstockJeff View Post
    Derick, if you're interested, I can send you a simple PHP script that we use. It's kept in a help directory on our website, and simply displays the "requesting" IP for people. We call it "WhereAmI.php".

    Oh, what the heck.... here it is:

    Code:
    <?php
    
    print <<<eoT
    <html>
    <head>
    	<title>I'm calling from {$_SERVER['REMOTE_ADDR']}</title>
    </head>
    <body>
    	Your public network IP is <h1>{$_SERVER['REMOTE_ADDR']}</h1>
    </body>
    </html>
    eoT;
    
    ?>
    Or you can just visit: ping.eu and your IP displays at the top of the page
This thread has more than 10 replies. Click here to review the whole thread.

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •