by adrien » Oct 20 03 12:25 am
OK, justr been doing a bit of looking into the code.
on the point of the PPTP connection disconnecting, the thing that happens here is that the system route table changes, and WinGate will send the ENS driver a new route table. If there is a problem with this, then routing won't operate properly, and that could lock out your network as you said.
The disabling and re-enabling of ENS will force WinGate to send a new route table down, and re-initialise some other parameters. It is most likely that the route table change is what is causing the problem.
It is possible for you to manually force WinGate to send a new route table down to the driver. You can do this by creating a route, thereby changing the route table, and making WinGate update the driver. To do this, you could go to the command line and type
route add 192.168.0.2 MASK 255.255.255.255 192.168.0.1
if your IP address is 192.168.0.1. If it was something else, pick an IP address on the same subnet for the first address, and the IP address of your adapter for the last one. This will create a route that basically does nothing, since there will be a subnet route to this host anyway, but the change to the route table will force WinGate to refresh.
If you could do this and let me know if it clears the problem that would narrow things down a heap for us to investigate.
On your other point regarding DNS.... we changed the DNS resolver to not try sending to servers that are not available... when you say drops queries, do you mean that you get a response "host not found" in your browsers immediately? I need to check if the changes will have affected this, since we no longer make the request to a server we cannot reach, however we shouldn't fail the request, as that could cause other problems... I will check.
Adrien