Page 1 of 1

ABE blocking local LAN systems identified by local DNS?

Posted: Mon Oct 08, 2012 11:17 pm
by Kumba
I have several resources on my local LAN identified by DNS names running on a local DNS server. However, one of these services, which has software that uses a redirect, is getting blocked by ABE and I can't figure out what syntax to use to allow it.

Currently tried:

Code: Select all

Site LOCAL
Allow from LOCAL .internalserver
Deny
Where ".internalserver" is the name of my internal machine experiencing the problem. But this doesn't work. I even tried using the FQDN of that machine and still can't get it to work. The resource is also on port 8000, so I am not certain if ABE is getting confused by the port syntax on the URL.

Thoughts?

Re: ABE blocking local LAN systems identified by local DNS?

Posted: Tue Oct 09, 2012 1:20 am
by Thrawn
I have the same problem, reported at http://forums.informaction.com/viewtopi ... 23&t=10184. Do you see the same kind of message in Tools - Web Developer - Error Console?

Re: ABE blocking local LAN systems identified by local DNS?

Posted: Tue Oct 09, 2012 7:41 am
by Giorgio Maone
Could you please PM me the exact messages you get, the DNS records of each entry involved and any custom ABE rule/attempt you may currently have?
Thanks.

Re: ABE blocking local LAN systems identified by local DNS?

Posted: Wed Oct 10, 2012 7:00 am
by Thrawn
Success!
Giorgio Maone wrote:Could you try to change your LOCAL rule into

Code: Select all

Site LOCAL
Accept from LOCAL 
Accept from 161.143.xxx.xxx
Deny
?

LOCAL doesn't like to stay with other addresses in a from clause (I know, it should be documented).
Giorgio Maone wrote:Sorry, forgot all the redirections must be listed in the same Accept clause.
Please try

Code: Select all

Site LOCAL
Accept from LOCAL
Accept from localhost 161.143.xxx.xxx
Deny
That works! Thanks much :).

So, the OP's rule should be something like:

Code: Select all

Site LOCAL
Accept from LOCAL
Accept from .internalsite
Deny

Re: ABE blocking local LAN systems identified by local DNS?

Posted: Fri Oct 12, 2012 2:32 am
by GµårÐïåñ
Interesting, good to know because my LOCAL on the same line as others has never been an issue. Now that's a head scratcher. Giorgio, is this something relatively new to ABE or been like this always?

Re: ABE blocking local LAN systems identified by local DNS?

Posted: Fri Oct 12, 2012 2:52 am
by Thrawn
GµårÐïåñ wrote:Interesting, good to know because my LOCAL on the same line as others has never been an issue. Now that's a head scratcher. Giorgio, is this something relatively new to ABE or been like this always?
It doesn't usually cause trouble. You can still link from external sites to local ones. Looks like the problem only occurs if the local site then redirects you.

Re: ABE blocking local LAN systems identified by local DNS?

Posted: Sun Dec 16, 2012 5:23 am
by finamenon
After reading this thread over many times, and this one http://forums.informaction.com/viewtopi ... 23&t=10184, I still can not get ABE to stop blocking my redirects. I have an external domain that redirects to a site I host on the same network, but despite all attempts, it still won't let me use the redirect unless I manually type it in the browser. Anyone have any ideas?

Re: ABE blocking local LAN systems identified by local DNS?

Posted: Sun Dec 16, 2012 10:46 pm
by Thrawn
finamenon wrote:After reading this thread over many times, and this one http://forums.informaction.com/viewtopi ... 23&t=10184, I still can not get ABE to stop blocking my redirects. I have an external domain that redirects to a site I host on the same network, but despite all attempts, it still won't let me use the redirect unless I manually type it in the browser. Anyone have any ideas?
What have you attempted?

If 'externalsite.com' redirects to 'localsite', then your rules should look like:

Code: Select all

Site localsite
Accept from LOCAL
Accept GET from externalsite.com
Deny

# Default rule
Site LOCAL
Accept from LOCAL
Deny
If 'externalsite.com' links to 'localsite/url1', which then redirects to 'localsite/url2', then your rules should look like:

Code: Select all

Site localsite
Accept from LOCAL
Accept GET from localsite externalsite.com

# Default rule
...

Re: ABE blocking local LAN systems identified by local DNS?

Posted: Mon Dec 17, 2012 12:45 am
by finamenon
Thrawn wrote:
finamenon wrote:After reading this thread over many times, and this one http://forums.informaction.com/viewtopi ... 23&t=10184, I still can not get ABE to stop blocking my redirects. I have an external domain that redirects to a site I host on the same network, but despite all attempts, it still won't let me use the redirect unless I manually type it in the browser. Anyone have any ideas?
What have you attempted?

If 'externalsite.com' redirects to 'localsite', then your rules should look like:

Code: Select all

Site localsite
Accept from LOCAL
Accept GET from externalsite.com
Deny

# Default rule
Site LOCAL
Accept from LOCAL
Deny
If 'externalsite.com' links to 'localsite/url1', which then redirects to 'localsite/url2', then your rules should look like:

Code: Select all

Site localsite
Accept from LOCAL
Accept GET from localsite externalsite.com

# Default rule
...
The second method did it. Thank you :D