1
Subject: With IP_FREEBIND (sslh >= 1.16), we can bind a non-existing address
2
Last-Update: 2014-07-15
3
Forwarded: http://rutschle.net/pipermail/sslh/2014-July/000527.html
6
===================================================================
9
@@ -294,21 +294,6 @@ if ($RB_OPEN_PID_FILE) {
10
is($code, 3, "Exit status if can't open PID file");
13
-# Robustness: Can't bind address
14
-if ($RB_BIND_ADDRESS) {
15
- print "***Test: Can't bind address\n";
17
- if (!($sslh_pid = fork)) {
18
- my $user = (getpwuid $<)[0]; # Run under current username
19
- exec "./sslh-select -v -f -u $user --listen 74.125.39.106:9000 --ssh $ssh_address --ssl $ssl_address -P $pidfile";
21
- warn "spawned $sslh_pid\n";
22
- waitpid $sslh_pid, 0;
24
- warn "exited with $code\n";
25
- is($code, 1, "Exit status if can't bind address");
28
# Robustness: Can't resolve address
29
if ($RB_RESOLVE_ADDRESS) {
30
print "***Test: Can't resolve address\n";