by adrien » Dec 13 05 1:54 pm
Hi
We understand there are issues with WGIC - it was developed in 1997/1998 when the current OS was Windows 95 and NT4!
Since then a lot has changed, and some changes have caused issues.
We do have plans to address the limitations of the architecture on a more fundamental level.
In your case, I believe you may be right about AVG interfering - I believe it also uses a Winsock 2 Layered Service Provider (LSP), which is what the WGIC also is. I believe there are some tools available that allow you to view all the LSPs installed, and allow you to specify which order they should load in. The LSP approach in my view wasn't properly thought out by the winsock 2 designers, and consequently has some drawbacks.
Some things to help track down issues.
1. Discovering the WinGate WRP service
the first thing the WGIC needs to know about is where is the Winsock Redirector Service it needs to connect to. Normally this is done by a discovery process, which uses UDP broadcast on port 368. This is picked up by the GDP service in WinGate, which then tells the WGIC where to connect to. There are several things that can get in the way of this working:
a) if the client machine is on a different LAN segment to the WinGate server, then the UDP broadcast is unlikely to be relayed to WinGate. Therefore the client can't discover the server.
b) If the Winsock Redirector Service is not running, or is not bound to the interface that the client request is received on, then the GDP server will deem that the WRS is not available to the client, and will not respond.
c) if you have a firewall blocking port 368 UDP on your server, the request may be blocked.
You can see if the WinGate client has been able to find a server by going into the control panel applet, and selecting the servers tab. If even after refreshing you don't see any servers listed in here, then the client is having trouble finding a server.
To get around this, you would need to manually set up a server to use in the WinGate client.
2. Connecting to the Winsock Redirector Service
OK, so once the WGIC knows about a service to connect to, it needs to be able to actually make the connection to it. Since in your case you see no connections made to the service in GateKeeper, you know that the WGIC is not even getting this far.
Even if an application is set to "local" mode, it will still connect to the Winsock Redirector Service, because policy on the server may be configured to override policy on the client, and the client needs to connect to be able to tell this.
At this stage you may be presented with authentication requirements
3. Authentication
If the policies of the Winsock Redirector Service are set to require that users of it be authenticated, then when the WinGate Client connects, it will be asked by the server to authenticate.
There are several things to look for if you are getting a connection and there is no request for password:
a) make sure that the user isn't authenticated or assumed by some other means. I.e. if your policies require users to be assumed, and there is an assumption configured for the client's IP, then they won't be asked to authenticate.
b) policy complexity can mean that sometimes one policy allows unauthenticated access - e.g. since policies are combined the most permissive one is used. If you have your WRP service policies set to have system policies "may also be used", then if there is a system policy that grants unauthenticated access, then the user won't be required to authenticate.
hope this helps.
Regards
Adrien