Hi,
keine Ahnung, hast Du es getestet?
Ja, geht.
Finde es manuell heraus. Auf diese Weise kannst Du entscheiden, ob sich das Problem auf Perl oder auf die Bedienung der Software zurückführen lässt.
netstat gibt folgendes aus:
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 1 p50816821.dip0.t-:54065 checkip.orh.dy:www-http SYN_SENT <- naaaaaaaaaah was soll'n das
tcp 0 0 localnetbox:netbios-ssn localnetbox1:3165 ESTABLISHED
tcp 0 0 192.168.0.100:ssh 192.168.0.1:3171 ESTABLISHED
tcp 0 0 192.168.0.100:ssh 192.168.0:ms-wbt-server ESTABLISHED
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags Type State I-Node Path
unix 11 [ ] DGRAM 1590 /dev/log
unix 2 [ ] DGRAM 169390
unix 2 [ ] DGRAM 7094
unix 2 [ ] DGRAM 6870
unix 2 [ ] DGRAM 6445
unix 2 [ ] DGRAM 6240
unix 2 [ ] DGRAM 4349
unix 2 [ ] DGRAM 2582
unix 2 [ ] DGRAM 2192
unix 2 [ ] DGRAM 1598
und in der /etc/services steht:
ssh 22/tcp # SSH Remote Login Protocol
ssh 22/udp # SSH Remote Login Protocol
netbios-ssn 139/tcp # NETBIOS Session Service
netbios-ssn 139/udp # NETBIOS Session Service
also alle unter 1024. trotzdem wird die ssh verbindung sofort blockiert wenn ich das script aufrufe.