The problem of assessing the security a network infrastructure is considered. aim work to formalize fast computable metric intended for use in optimization problems aimed at rebuilding according requirements. Three metrics with varying degrees detail are proposed achieve this goal. To do this, set essential features has been formed. level allows taking into account terminal access as well actua...