Esempio n. 1
0
 public static function init()
 {
     self::$PROXY_STATUS = array(new stest('ipfw show | grep 320', array('fwd 127.0.0.1,8888 tcp from 10.0.0.0/8 to any dst-port 80')), new stest('sockstat | grep java', array('127.0.0.1:8888')));
     self::$CADBIS_STATUS = array(new stest('sockstat | grep java', array('127.0.0.1:8888', '127.0.0.1:1814')));
     self::$MPD_STATUS = array(new stest('sockstat | grep mpd4', array('127.0.0.1:5005', '192.168.40.4:1723')));
     self::$FREERADIUS_STATUS = array(new stest('sockstat | grep radiusd', array('*:1812', '*:1813', 'root     radiusd')));
     self::$SQUID_STATUS = array(new stest('sockstat | grep squid', array('127.0.0.1:3128')));
 }