Code: Select all
Site .foo.com
Accept from SELF+
Deny
Code: Select all
Site .foo.com
Accept from SELF++
Deny
Code: Select all
Site .foo.com
Accept from .foo.com
Deny
Code: Select all
Site .foo.com
Accept from SELF+
Deny
Code: Select all
Site .foo.com
Accept from SELF++
Deny
Code: Select all
Site .foo.com
Accept from .foo.com
Deny
This will match the exact domain (foo.bar.example.com) but on any port and any protocol. Whereas SELF requires exact match of port and protocol.DaveLillethun wrote:Code: Select all
Site .foo.com Accept from SELF+ Deny
They should be AFAIK. What differences are you noticing?I thought the latter two would be equivalent, at least in cases like these where there is only one Site token, but it seems they are not...
Code: Select all
Site .obsidianportal.com
Accept from .obsidianportal.com .rpxnow.com
Deny
Site .rpxnow.com
Accept from .rpxnow.com .obsidianportal.com # my OpenID provider is also listed on this line
Deny
Code: Select all
Site .obsidianportal.com
Accept from SELF++ .rpxnow.com
Deny
Site .rpxnow.com
Accept from SELF++ .obsidianportal.com # my OpenID provider is also listed on this line
Deny
Ah. I'm guessing this is related to putting multiple sites on one line, which has quirky (and necessary) behavior when sites redirect to each other.DaveLillethun wrote:You mean example.bar.foo.com, right? I thought ".foo.com" matched only domains ending in ".foo.com" (or that are exactly "foo.com").
Yeah, I was just using that as an example of a full domain. You're right, 'example.foo.bar.com' would have better matched what you were discussing.
I'm using a site called Obsidian Portal (www.obsidianportal.com) and they use rpxnow.com to assist in logins using OpenID provider (which I am using). I've found the following to work:But unfortunately, this does not seem to:Code: Select all
Site .obsidianportal.com Accept from .obsidianportal.com .rpxnow.com Deny Site .rpxnow.com Accept from .rpxnow.com .obsidianportal.com # my OpenID provider is also listed on this line Deny
Code: Select all
Site .obsidianportal.com Accept from SELF++ .rpxnow.com Deny Site .rpxnow.com Accept from SELF++ .obsidianportal.com # my OpenID provider is also listed on this line Deny
Code: Select all
[17:05:21.385] [ABE] <.rpxnow.com> Deny on {GET https://obsidianportal.rpxnow.com/xdcomm#sanitized <<< https://obsidianportal.rpxnow.com/openid/finish?sanitized, https://my_openid_provider.com/directedIdentity?target=render, https://my_openid_provider.com/directedIdentityAction.do - 6}
USER rule:
Site .rpxnow.com
Accept from SELF++ .obsidianportal.com .my_openid_provider.com
Deny
Code: Select all
[17:19:33.597] [ABE] <.obsidianportal.com> Deny on {GET http://www.obsidianportal.com/profile/my_username <<< http://www.obsidianportal.com/sessions/create_rpx?remember_me=1, https://obsidianportal.rpxnow.com/redirect?loc=4912ee55a3e431f780bd393237b7b6023aff2e1b - 6}
USER rule:
Site .obsidianportal.com
Accept from SELF++ .rpxnow.com
Deny
Code: Select all
Site .obsidianportal.com .rpxnow.com
Accept from .obsidianportal.com .rpxnow.com .my_openid_provider.com
Deny
Actually, checking more carefully, I think it's "b sent a request to a, which redirected to the bit before the arrow".DaveLillethun wrote: So just a quick question on the logging syntax... when it says "<<< a, b" does that mean 'a' redirected to 'b' which tried to load the bit before the arrow, or 'b' redirected to 'a' which tried to load the bit before the arrow, or I got all wrong and it means something else? (Just so I know how to read these messages in the future.)