ssl_ignore_when_local

Version 1.41

Feature
Finished

http://www.directadmin.com/forum/showthread.php?t=42871&pagenumber= Option which lets you tell DA to disable ssl if a connection is made on localhost. The logic is somewhat backwards in that it currently only checks the connecting IP, which will be 127.0.0.1, if you're connecting to 127.0.0.1, so ensure you're using that, and not ::1... as it's been found that the "from" IP, when connecting to ::1 is not ::1 or 127.0.0.1, but rather the main server IP, which is not considered "local", so this feature doesn't work if your API script is connecting to ::1. The correct method for this would be to check the sockets themselves to figure out which IP was being connected to, instead of from. That way we could check if 127.0.0.1 was connected to, or ::1 was connected to, however that code does not currently exist in DA, so DA (At this time) only check the "from" address.. which is going to be 127.0.0.1 anyway, so as long as people are aware of this, it should be ok the way it is.

Interested to try DirectAdmin? Get a 30-day Free Trial!