/// <summary> /// Does IPTables support SYNPROXY /// </summary> /// <param name="adapter"></param> /// <returns></returns> public static bool IptablesSupported(IIPTablesAdapterClient adapter) { var iptablesVersion = adapter.GetIptablesVersion(); if (iptablesVersion >= new Version(1, 4, 21)) { return true; } return false; }
/// <summary> /// Does IPTables support SYNPROXY /// </summary> /// <param name="adapter"></param> /// <returns></returns> public static bool IptablesSupported(IIPTablesAdapterClient adapter) { var iptablesVersion = adapter.GetIptablesVersion(); if (iptablesVersion >= new Version(1, 4, 21)) { return(true); } return(false); }