Criteria for "Non-LAN only" ?

gth

Young grasshopper
Joined
Dec 11, 2014
Messages
47
Reaction score
3
From the BI help file...
Code:
"If you select to authenticate Non-LAN connections only, users connecting from within your local 
home/office network will not be prompted, while those connecting from the Internet will be prompted."
So, does BI use the source IP being part of the standard private address space, as the definition of an inbound connection being "LAN" vs. "Internet"? i.e. -

  • From 10.0.0.0 to 10.255.255.255 (aka 10.0.0.0/8, netmask 255.0.0.0)
  • From 172.16.0.0 to 172.31.255.255 (aka 172.16.0.0/12, netmask 255.240.0.0)
  • From 192.168.0.0 to 192.168.255.255 (aka 192.168.0.0/16, netmask 255.255.0.0)

The reason is the BI-viewer app works fine when BI's webserver tab has Authentication set to "No", but fails when set to "LAN-only". I expected identical behaviour for both settings, since I'm connecting to BI from my PC, on the home network.
 

nayr

IPCT Contributor
Joined
Jul 16, 2014
Messages
9,329
Reaction score
5,325
Location
Denver, CO
is your BI server on a different subnet? it could be checking the interface config to determine what the LAN is.. I dont run BI but you might look for an option that defines the LAN's Subnet.
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,666
Reaction score
14,007
Location
USA
Whatever method BI uses, it is primitive. "localhost" and 127.0.0.1 even do not get counted as LAN connections. My home address space is 192.168.0.0/24, e.g. 192.168.0.xxx and any address in that range can connect. I have not attempted using a different subnet mask.

I used to regularly have a problem where Blue Iris would require authentication for a LAN connection despite being set not to. I had a service that would pull a jpeg snapshot from Blue Iris every 10 minutes, 24 hours a day, and it would fail about once every two weeks as Blue Iris would begin redirecting to the login page instead of delivering the requested image. Occasionally, other PCs around the house would be redirected to login the same way. Ken (the Blue Iris developer) was unable to reproduce or identify the source of the problem. Once I stopped using my periodic image-pulling service, the problem went away, so perhaps it was only happening after a large number of sessions were created and expired. I mention this only to point out that BI's lan-only detection may be a little flakey.
 

lviperz

Getting the hang of it
Joined
Jan 27, 2015
Messages
106
Reaction score
14
Just thought I would mention that my home PC still gets prompted to login and is on the same subnet as my bi server. I also have it set to authenticate non-lan users and I've just learned to live with it.
 

gth

Young grasshopper
Joined
Dec 11, 2014
Messages
47
Reaction score
3
Same subnet. The interface dropdown doesn't have 127.0.0.1 as an option, which is interesting.
 
Top