;------------- anti-hacker --------------

[EmptyPopupMenu]
props=t(menu)
Separator=t(menuitem)

[Anti_Hacker]
props=$AntiHacker_Panel
State=[Task_Header]
Body=[AH_Body]

[AH_Body]
props=$Task_Body
Description	=[Task_Description]
Status		=[Anti_Hacker_Status]
Report		=[Anti_Hacker_Report]
Monitor		=[Anti_Hacker_Monitor]

[Anti_Hacker_Status]
props       = $Task_Settings
Status      = $Task_Statistics_Item                v($(state,ProfileState))                                f($(state,SubProfileStateFont)) text($Anti_Hacker)
StatusFW    = $Task_Statistics_Item at(nobindhide) v($(fw.enabled,SubComponentState_fw,SubProfileState))   f($(fw.enabled,SubComponentActiveState_fw,SubProfileStateFont))
Level       = $Task_Statistics_Item at(nobindhide) v($(fw.ProtectionLevel,Anti_Hacker_Levels))             f($(fw.$ProfileActiveStateFont))
StatusIDS   = $Task_Statistics_Item at(nobindhide) v($(ids.enabled,SubComponentState_ids,SubProfileState)) f($(ids.enabled,SubComponentActiveState_ids,SubProfileStateFont))

[Anti_Hacker_Report]
props           = $Task_Statistics
AttacksBlocked  = $Task_Statistics_Item v($(ids.AttacksDetected)) f($(ids.$ProfileActiveStateFont))

[Anti_Hacker_Monitor]
props       = $Task_Statistics                     v(window:AntiHackerStatisticsWindow) disable($(fw.state,EnableIfRunning))
ActiveApp   = $Task_Statistics_Item                v($(fw.nActiveNetworkApplications))  f($(fw.$ProfileActiveStateFont))
ActiveConn  = $Task_Statistics_Item                v($(fw.nActiveNetworkConnections))   f($(fw.$ProfileActiveStateFont))
OpenPorts   = $Task_Statistics_Item                v($(fw.nOpenPorts))                  f($(fw.$ProfileActiveStateFont))

;------------- Network Monitor -----------

[AntiHackerStatisticsWindow]
props=$DlgAttr sz(200,150,500,400) at(resizable,minimizable,dragable,a_close) alias(netmon)
Tab=[AhStatisticsTab]

[AhStatisticsTab]
props=$DlgBodyTabAttr
AppTab=[AhStatApp] h(1143)
PortsTab=[AhPortsTab] h(1144)
HostsTab=[AhHostsTab] h(1145)

[AhStatApp]
AppList=[AhStatApp.AppList]

[AhStatApp.AppList]
props=t(list) sz(p,p) at(sorted)
App=sz(120) v($(AppName,objfile)$(AppName,moduleiconasync))
CmdLine=sz(100)v($(CmdLine))
Proto=sz(60)v($(Proto,FwProtocols))
Direction=sz(70)v($(Direction,FwDirectionReport))
LocalIP=sz(90)v($(LocalIP,ip))
LocalPort=sz(70)v($(LocalPort))
RemoteIP=sz(100)v($(RemoteIP,ip))
RemotePort=sz(80)v($(RemotePort))
Duration=sz(50)v($(ActiveTime,timestamp))
BytesRecieved=sz(60)v($(InBytes,filesize))
BytesSent=sz(60)v($(OutBytes,filesize))

[AhPortsTab]
PortsList=[AhPortsTab.PortsList]

[AhPortsTab.PortsList]
props=t(list) sz(p,p) at(sorted)
LocalPort=sz(60)v($(LocalPort))
Proto=sz(60)v($(Proto,FwProtocols))
App=sz(120) v($(AppName,objfile)$(AppName,moduleiconasync))
CmdLine=sz(100)v($(CmdLine))
LocalIP=sz(90)v($(LocalIP,ip))
Duration=sz(50)v($(ActiveTime,timestamp))

[AhHostsTab]
HostsList=[AhHostsTab.HostsList]

[AhHostsTab.HostsList]
props=t(list) sz(p,p) at(sorted)
Host=sz(120)v($(HostName,FwHostName))
ip=sz(120)v($(Host,ip))
BytesRecieved=sz(50)v($(Total.BytesRecieved,filesize))
BytesSent=sz(50)v($(Total.BytesSent,filesize))

[AhStatApp.AppList.menu]
props      = t(menu)
CreateRule = t(menuitem) v(ah:createrule) hide($(AppName,bindok,EnableIfNotZero))
Disconnect = t(menuitem) v(ah:disconnect) hide($(AppName,bindok,EnableIfNotZero))

;------------- SettingsWindow.Anti_Hacker -----------

[SettingsWindow.Anti_Hacker]
props=$SettingsViewPanel h(1123)
Header=$SettingsViewHeader i(ah)
Body=[SettingsWindow.Anti_Hacker_Body]

[SettingsWindow.Anti_Hacker_Body]
props=$SettingsBodyAttr
Startup=[SettingsViewStartup]
StartupGroup=[SettingsViewStartup_Group]
FirewallGroup=[Firewall_Group]
IDSSettingsGroup=[IDSSettings_Group]

[Firewall_Group]
props=$SettingsGroupNext sz(p,120) at(nobindhide) text( ) disable($(fw.enabled,Dummy)$(enabled,EnableIfNotZero)$(fw.enabled,EnableIfNotZero)) lb(v($(fw.state,fld(enabled,ProtectionLevel,PortRules,AppRules,KnownNetworks,StealthEnabled,RefreshIPTimeout,NdisCheckTdi))))
EnableFW=$CheckboxForGroup v($(fw.enabled)) disable($(enabled,EnableIfNotZero))	tt($(fw.enabled, Firewall_Group_EnableFW))
FWLevel=t(slider) sz(40,p) xy(,,,20) nl(0,4) at(vertical) v($(fw.ProtectionLevel)) usefor($PersonalOnly)
FWLevel=t(slider) sz(40,p) xy(,,,20) nl(1,4) at(vertical) v($(fw.ProtectionLevel)) usefor($CorporateOnly)
FWLevelGroup=a(at) xy(10) [FWLevelGroup]
Rules=$Button_Large a(rb) v(dialog:SettingsWindow.Anti_Hacker.Rules)

[IDSSettings_Group]
props=$SettingsGroupNext sz(p,a) at(nobindhide) disable($(ids.enabled,Dummy)$(enabled,EnableIfNotZero)) lb(v($(ids.state,fld(enabled,EnableBan,BanTimeout))))
Ico=a(lt) i(ids) sz(32,32)
EnableIDS=$Checkbox xy(40) v($(ids.enabled))	tt($(ids.enabled, IDSSettings_Group_EnableIDS))
IDSSettings=$Button_Large a(ra) xy(0,7) disable($(ids.enabled,EnableIfNotZero)) v(dialog:SettingsWindow.Anti_Hacker.IDSSettings)

;------------ SettingsWindow.Anti_Hacker.IDSSettings ------------

[SettingsWindow.Anti_Hacker.IDSSettings]
props=$DlgAttr sz(350,a) v(ids) h(1135)
Dlg=[SettingsWindow.Anti_Hacker.IDSSettings.Dlg]

[SettingsWindow.Anti_Hacker.IDSSettings.Dlg]
props=$DlgBodyAttr sz(p,a)
BanCheck=$Checkbox $Next_Control xy(,3) v($(EnableBan))
BanLabel=a(rs)
BanValue=t(edit) at(number) a(ps) sz(65) nl(1,9999) xy($Edit_CommentOffsetX,$Edit_CenterOffsetY) v($(BanTimeout)) disable($(EnableBan,EnableIfNotZero))

;------------ SettingsWindow.Anti_Hacker.Rules ------------

[SettingsWindow.Anti_Hacker.Rules]
props=$DlgAttr sz(420,420,420,420) at(resizable) alias(antihackerrulesdlg) v(fw)
Tab=[Anti_Hacker_Tab]

[Anti_Hacker_Tab]
props       = $DlgBodyTabAttr
AppRules    = [Anti_Hacker_AppRules]    h(1124)
PacketRules = [Anti_Hacker_PacketRules] h(1133)
Networks    = [Anti_Hacker_Networks]    h(1134)
WorkMode    = [Anti_Hacker_WorkMode]    h(1265)

;------------ Anti_Hacker_AppRules ------------

[Anti_Hacker_AppRules]
GroupCheck=$Checkbox $First_Control at(rememberdata) v(1)
Group=[Anti_Hacker_AppRules_Group]
Branch=[Anti_Hacker_AppRules_Branch]

[Anti_Hacker_AppRules_Group]
props=a(lt) xy(,20) sz(p,p)
AppGrpList=[Anti_Hacker_AppRules_Group.AppGrpList]
Add=$Button a(rt)
Edit=$Button $Next_Control a(ra)
Delete=$Button $Next_Control a(ra)
Import=$ListButton a(rb)
Export=$ListButton $Next_Control a(rp)

[Anti_Hacker_AppRules_Group.AppGrpList]
props=t(list) at(checked,sorted) sz(p,p) xy(,,80) v($(AppRules))
App=sz(150) v($(AppName,objfile)$(AppName,moduleiconasync),$(Enabled))
RulesNo=sz(60) v($(Rules,size))
Location=sz(200) v($(AppName,objdir))
CmdLine=sz(130) v($(UseCmdLine,FwShowCmdLine))

[Anti_Hacker_AppRules_Branch]
props=a(lt) xy(,20) sz(p,p) at(hide)
AppList=[Anti_Hacker_AppRules_Branch.AppList]
Add=$Button a(rt)
Edit=$Button $Next_Control a(ra)
Delete=$Button $Next_Control a(ra)
MoveUp=$Button a(ra) xy(0,21)
MoveDown=$Button $Next_Control a(ra)
Rule=t(richedit) alias(listitemdescr) at(readonly,nofocus,vscroll) a(lb) sz(p,95) text($FwRuleDescr)
Text=a(lp) text($FwRuleDesc)

[Anti_Hacker_AppRules_Branch.AppList]
props=t(list) at(checked,sorted) sz(p,200) xy(,,80)
App=sz(150) v($(AppName,objfile)$(AppName,moduleiconasync),$(Enabled))
Action=sz(65) v($(Blocking,FwAllowBlock))
Location=sz(200) v($(AppName,objdir))
CmdLine=sz(120) v($(UseCmdLine,FwShowCmdLine))
Name=sz(200) v($(Name))
Protocol=sz(60) v($(Proto,FwProtocols))
Direction=sz(70) v($(Direction,FwDirection))
RemotePorts=sz(110) v($(RemotePorts))
RemoteAddresses=sz(110) v($(RemoteAddresses))
LocalPorts=sz(80) v($(LocalPorts))
;LocalAddresses=sz(100) v($(LocalAddresses))
Log=sz(35) v($(Log,OnOff))
Alert=sz(40) v($(Warning,OnOff))

;------------ Anti_Hacker_PacketRules ------------

[Anti_Hacker_PacketRules]
PortList=[Anti_Hacker_PacketRules.PortList]
Add=$Button a(rt)
Edit=$Button $Next_Control a(ra)
Delete=$Button $Next_Control a(ra)
MoveUp=$Button a(ra) xy(0,15)
MoveDown=$Button $Next_Control a(ra)
Import=$ListButton a(rb) xy(,115)
Export=$ListButton $Next_Control a(rp)
Rule=t(richedit) alias(listitemdescr) at(readonly,nofocus,vscroll) a(lb) sz(p,95) text($FwRuleDescr)
Text=a(lp) text($FwRuleDesc)

[Anti_Hacker_PacketRules.PortList]
props=t(list) at(checked,sorted) sz(p,220) xy(,,80) v($(PortRules))
Action=sz(110) v($(Blocking,AllowDenyIcon)$(Blocking,FwAllowBlock),$(Enabled))
Name=sz(285) v($(Name))
Protocol=sz(80) v($(Proto,FwIpProto))
Direction=sz(50) v($(Direction,FwDirection))
RemotePorts=sz(90) v($(RemotePorts))
RemoteAddresses=sz(110) v($(RemoteAddresses))
LocalPorts=sz(80) v($(LocalPorts))
LocalAddresses=sz(100) v($(LocalAddresses))
Log=sz(35) v($(Log,OnOff))
Alert=sz(40) v($(Warning,OnOff))

;------------ Anti_Hacker_Networks ------------

[Anti_Hacker_Networks]
NetList=[Anti_Hacker_Networks.NetList]
Add=$Button a(rs) v(dialog:FwZoneEdit)
Edit=$Button a(ra) xy(,7) v(dialog:FwZoneEdit)
Delete=$Button a(ra) xy(,7)
Refind=$ListButton a(ra) xy(,20)
Rule=t(richedit) alias(listitemdescr) at(readonly,nofocus,vscroll) a(lb) sz(p,95) text($FwZoneDescr)
Text=a(lp) text($FwRuleDesc)

[Anti_Hacker_Networks.NetList]
props    = t(list) a(la) at(sorted) sz(p,p) xy(,,80,115) v($(KnownNetworks))
Network  = sz(155)v($(Mask,FwZoneAddr)$(Zone,FwZoneIcons))
Severity = sz(80)v($(Zone,FwZoneSeverity))
Stealthed= sz(85)v(,$(Stealthed)disable($(Zone,EnableIfNotZero))) at(checked)
Desc     = sz(350)v($(Mask,FwZoneDesc))

;------------ Anti_Hacker_WorkMode ------------

[Anti_Hacker_WorkMode]
WMGroup=[WM_Group]
Ico=a(lb) xy(,15) i(warning)
Text1=a(as) sz(p,a)

[WM_Group]
props = $GroupBox a(lt) v($(NdisCheckTdi)) sz(p,a) mg(8,8)
SafeMode=t(radio) $First_Control v(1)
SafeModeText=a(la) xy(25,5) sz(p,a)
FastMode=t(radio) $Next_Control v(0)
FastModeText=a(la) xy(25,5) sz(p,a)

;------------ FwZoneEdit ------------

[FwZoneEdit]
$dlg_enable_ok=$(Mask,EnableIfNotZero)
props=$DlgAttr sz(290,210) h(1248)
Dlg=[FwZoneEditDlg]

[FwZoneEditDlg]
props=$DlgBodyAttr
Text=a(lt)
NetName=t(edit) a(la) sz(p) v($(AdapterDesc)) disable($(Mac,EnableIfZero))
Text1=a(la) xy(3)
Text2=a(ls) xy(143)
IpAddr=$IpAddr a(la) v($(IP)) disable($(Mac,EnableIfZero))
IpMask=$IpAddr a(ls) xy(140) v($(Mask)) disable($(Mac,EnableIfZero))
FwZone=[FwZone_Group]

[FwZone_Group]
props=a(la) sz(a,a) v($(Zone)) xy(,7)
Trusted=t(radio) $First_Control v(#Fw_fwnzTrusted)
NetBIOS=t(radio) $Next_Control v(#Fw_fwnzNetBIOS)
Untrusted=t(radio) $Next_Control v(#Fw_fwnzUntrusted)
Stealthed=$Checkbox $Next_Control v($(Stealthed)) hide($(Zone,=,#Fw_fwnzUntrusted,ShowIfNotZero))

;------------ FwAppRuleEdit ------------

[FwAppRuleEdit]
props=$DlgAttr sz(400,415) h(1125)
Dlg=[FwAppRuleEdit.Dlg]

[FwAppRuleEdit.Dlg]
props=$DlgBodyAttr
;Info=$First_Control
AppList=[FwAppRuleEdit.Dlg.AppList]
Add=$Button a(rs)
Edit=$Button a(ra) xy(,7)
Delete=$Button a(ra) xy(,7)
MoveUp=$Button a(ra) xy(,20)
MoveDown=$Button a(ra) xy(,7)
Preset=$Button a(ra) xy(,20) v(menu)
RuleLabel=$Next_Control text($FwRuleDesc)
Rule=t(richedit) alias(listitemdescr) a(la) sz(p,100) at(readonly,nofocus,vscroll) text($FwRuleDescr)
UseCmdLine=$Checkbox $Next_Control v($(UseCmdLine)) hide($ShowNTBasedFufure)
CmdLine=t(edit) a(ls) xy(150,$Edit_CenterOffsetY) sz(p,,150) v($(CmdLine)) disable($(UseCmdLine,EnableIfNotZero)) hide($ShowNTBasedFufure)
;PDMRule=$Checkbox $Next_Control

[FwAppRuleEdit.Dlg.Preset.menu]
props=t(menu)
Separator=t(menuitem)

[FwAppRuleEdit.Dlg.AppList]
props=t(list) $First_Control sz(p,200) xy(,7,80) at(noheader,checked) v($(Rules))
Name=v($(Blocking,AllowDenyIcon)$(Name),$(Enabled))Rule Name

;------------ FwRuleElementEdit ------------

[FwRuleElementEdit]
props=$DlgAttr sz(400,330) h(1246)
Dlg=[FwRuleElementEdit.Dlg]

[FwRuleElementEdit.Dlg]
props=$DlgBodyAttr
NameLabel=$Next_Control
Name=t(edit) a(ls) sz(p) xy(100,$Edit_CenterOffsetY) v($(Name))
PropLabel=$Next_Control
PropList=t(list) alias(flagslist) a(ls) sz(p,75) xy(100) at(checked,noheader) v($(Triggers))
;PropList=[FwRuleElementEdit.Dlg.PropList]
ActionLabel=$Next_Control
Warning=$Checkbox a(ls) xy(100) v($(Warning))
Log=$Checkbox a(la) xy(100,3) v($(Log))
RuleLabel=$Next_Control text($FwRuleDesc)
Rule=t(richedit) a(la) sz(p,100) at(readonly,nofocus,vscroll) text($FwRuleDescr)

[FwRuleElementEdit.Dlg.PropList.items]
RemAddr  = v(#Fw_RemAddr)  text($FwRemAddr)
RemPort  = v(#Fw_RemPort)  text($FwRemPort)
LocAddr  = v(#Fw_LocAddr)  text($FwLocAddr)
LocPort  = v(#Fw_LocPort)  text($FwLocPort)
IcmpCode = v(#Fw_IcmpCode) text($FwIcmpCode)
TimeRng  = v(#Fw_TimeRng)  text($FwTimeRng)

;[FwRuleElementEdit.Dlg.PropList]
;props=t(list) a(ls) sz(p,75) xy(100) at(checked,singlesel,noheader)
;Prop=v($(PropName),$(Enabled))

;------------ SettingsWindow.Anti_Hacker.Rules.FwProtocolEdit ------------

[SettingsWindow.Anti_Hacker.Rules.FwProtocolEdit]
props=$DlgAttr sz(260,140) h(1128)
Dlg=[SettingsWindow.Anti_Hacker.Rules.FwProtocolEdit.Dlg]

[SettingsWindow.Anti_Hacker.Rules.FwProtocolEdit.Dlg]
props=$DlgBodyAttr
Text=$Next_Control sz(210,30)
Protocol=t(combo) $Next_Control sz(p) v($(Proto))

;------------ SettingsWindow.Anti_Hacker.Rules.FwIcmpMsgEdit ------------

[SettingsWindow.Anti_Hacker.Rules.FwIcmpMsgEdit]
props=$DlgAttr sz(260,140) h(1247)
Dlg=[SettingsWindow.Anti_Hacker.Rules.FwIcmpMsgEditt.Dlg]

[SettingsWindow.Anti_Hacker.Rules.FwIcmpMsgEditt.Dlg]
props=$DlgBodyAttr
Text=$Next_Control sz(210,30)
ICMPCode=t(combo) $Next_Control sz(p) v($(IcmpCode))

;------------ SettingsWindow.Anti_Hacker.Rules.FwDirectionEdit ------------

[SettingsWindow.Anti_Hacker.Rules.FwDirectionEdit]
props=$DlgAttr sz(260,a) h(1126)
Dlg=[SettingsWindow.Anti_Hacker.Rules.FwDirectionEdit.Dlg]

[SettingsWindow.Anti_Hacker.Rules.FwDirectionEdit.Dlg]
props=$DlgBodyAttr sz(p,a)
Text=$First_Control sz(p)
DirectionGroup=[Direction_Group]

[Direction_Group]
props=sz(p,a) $Next_Control v($(Direction))
InboundStream  =t(radio) $First_Control v(4) hide($FwShowStreamDir)
Inbound        =t(radio) $Next_Control  v(1) hide($FwShowPacketDir)
InboundOutbound=t(radio) $Next_Control  v(3)
Outbound       =t(radio) $Next_Control  v(2) hide($FwShowPacketDir)
OutboundStream =t(radio) $Next_Control  v(5) hide($FwShowStreamDir)

;------------ SettingsWindow.Anti_Hacker.Rules.FwTimeRangeEdit ------------

[SettingsWindow.Anti_Hacker.Rules.FwTimeRangeEdit]
props=$DlgAttr sz(260,a) h(1130)
Dlg=[SettingsWindow.Anti_Hacker.Rules.FwTimeRangeEdit.Dlg]

[SettingsWindow.Anti_Hacker.Rules.FwTimeRangeEdit.Dlg]
props=$DlgBodyAttr sz(p,a)
Text=$Next_Control sz(p,a)
From=$Next_Control xy(15,10)
TimeFrom=t(timeedit) a(as) sz(60,20) xy(7,-3) v($(TimeFrom)) at(seconds)
Till=a(as) xy(7,3)
TimeTill=t(timeedit) a(as) sz(60,20) xy(7,-3) v($(TimeTill)) at(seconds)

;------------ SettingsWindow.Anti_Hacker.Rules.PortsListEdit.PortsListEdit ------------

[SettingsWindow.Anti_Hacker.Rules.PortsListEdit]
props=$DlgAttr sz(350,a) h(1129)
Dlg=[SettingsWindow.Anti_Hacker.Rules.PortsListEdit.Dlg]

[SettingsWindow.Anti_Hacker.Rules.PortsListEdit.Dlg]
props=$DlgBodyAttr
Text=$Next_Control sz(p,a)
Ports=t(edit) $Next_Control sz(p)
Example=a(la) f(Normal_grey)

;------------ SettingsWindow.Anti_Hacker.Rules.AddrsListEdit ------------

[SettingsWindow.Anti_Hacker.Rules.AddrsListEdit]
$Shift=15
props=$DlgAttr sz(320,a) h(1127)
Dlg=[SettingsWindow.Anti_Hacker.Rules.AddrsListEditDlg]

[SettingsWindow.Anti_Hacker.Rules.AddrsListEditDlg]
props=$DlgBodyAttr sz(p,a)
Text1=$First_Control
AddressType=[Address_Type]
Text2=$Next_Control
AddressSingle=[Address_Single]
AddressRange=[Address_Range]
AddressSubnet=[Address_Subnet]
Text3=a(lt) xy(,145)
List=t(list) at(noheader) a(la) sz(p,122) xy($Shift,7,80)
Add=$Button a(rs)
Delete=$Button a(ra) xy(,7)

[Address_Type]
props=a(la) sz(p,a) xy($Shift,7) v($(Type))
Computer=t(radio) $Fisrt_Control v(0)
Range=t(radio) $Next_Control v(4)
Subnet=t(radio) $Next_Control v(1)

[Address_Single]
props=a(lt) sz(p,135) xy($Shift,102) at(hide)
Text=$Fisrt_Control
Address=t(edit) a(la) sz(p) v($(Address))

[Address_Range]
props=a(lt) sz(p,135) xy($Shift,102) at(hide)
Text1=a(lt) xy(0)
Text2=a(ls) xy(150)
IpAddrLo=$IpAddr a(la) v($(IPLo))
IpAddrHi=$IpAddr a(ls) xy(150) v($(IPHi))

[Address_Subnet]
props=a(lt) sz(p,135) xy($Shift,102) at(hide)
Text1=a(lt) xy(0)
Text2=a(lt) xy(150)
IpAddr=$IpAddr a(la) v($(IP))
IpMask=$IpAddr a(ls) xy(150) v($(IPMask))

;------------ SettingsWindow.Anti_Hacker.ResolveIp ------------

[SettingsWindow.Anti_Hacker.ResolveIp]
props=$DlgAttr at(nohelp) sz(330,130)
Dlg=[SettingsWindow.Anti_Hacker.ResolveIp.Dlg]

[SettingsWindow.Anti_Hacker.ResolveIp.Dlg]
props=$DlgBodyAttr
Text=$First_Control sz(250,30)
Progress=t(progress) $Next_Control sz(p,15)

;------------- ReportWindow.Anti_Hacker -----------

[Report_Body.StatisticsRun.antihacker]
props=$StatTop b(Footer_Border)
Status=xy(,10) text($(ids.AttacksDetected,Report_Body_AttackStatus))

[Report_Body.StatisticsResult.antihacker]
props=$StatTop b(Footer_Border)
Status=xy(,10) text($(ids.AttacksDetected,Report_Body_AttackStatus))

[Report_Body.StatisticsLeft.antihacker]
props=$StatLeft
AttacksDetected=a(lt) $StatValLeft v($(ids.AttacksDetected))
AttackLastTime=a(la) $StatValLeft v($(ids.AttackLastTime,datetime))

[Report_Body.ReportDetails.antihacker]
props=$Tab $ReportDetails
NetAttacks=[NetAttacks_Report] h(1139)
BannedHosts=[Report_Body.ReportDetails.antihacker.BannedHosts] h(1140)
AppEvents=[AppEvents_Report] h(1141)
PacketEvents=[PacketEvents_Report] h(1142)
;Settings=[Task_Report_Settings]

[NetAttacks_Report]
Actions=$ReportActions
EventsLog=[Report_Body.ReportDetails.antihacker.NetAttacks] a(lp) sz(p,p)

[Report_Body.ReportDetails.antihacker.NetAttacks]
props=t(list) at(sorted) alias(taskreport) v(ids.eventlog)
ReportTime=sz(135)v($(AttackTime,datetime)) at(index) 
Description=sz(p,47)v(i(warning)$(AttackDescription))
Source=sz(80)v($(AttackerIP,IP))
Proto=sz(80)v($(Proto,FwProtocols))
LocalPort=v($(LocalPort,PORT))

[Report_Body.ReportDetails.antihacker.NetAttacks.menu]
props         = t(menu)
Separator     = t(menuitem)
ReportCleanup = t(menuitem)

[Report_Body.ReportDetails.antihacker.BannedHosts]
Actions=$ReportActions v(menu:BanList)
BanList=[Report_Body.ReportDetails.antihacker.BannedHosts.BanList] a(lp) sz(p,p)

[Report_Body.ReportDetails.antihacker.BannedHosts.BanList]
props=t(list) at(sorted) alias(vector) v($(ids.BannedHosts))
Time=sz(135)v($(Time,datetime))
Host=sz(p,70)v($(IP,ip))

[Report_Body.ReportDetails.antihacker.BannedHosts.BanList.menu]
props         = t(menu)
Unban         = t(menuitem) v(unban_host) disable($(IP,bindok,EnableIfNotZero))

[AppEvents_Report]
Actions=$ReportActions
EventsLog=[Report_Body.ReportDetails.antihacker.AppEvents] a(lp) sz(p,p)

[Report_Body.ReportDetails.antihacker.AppEvents]
props=t(list) at(sorted) alias(taskreport) v(fw.eventlog_apps)
Time=sz(135)v($(Time,datetime))
AppName=v($(AppName)$(New,FwReportIcon))
CmdLine=v($(CmdLine))
RuleName=v($(RuleName))
PID=v($FwPid)
IsBlocking=v($(IsBlocking,Anti_Hacker_PacketIsBlocking))
Direction=v($(Direction,FwDirectionReport))
Proto=v($(Proto,FwProtocols))
RemoteAddress=v($(RemoteAddress,IP))
RemotePort=v($(RemotePort,PORT))
LocalAddress=v($(LocalAddress,IP))
LocalPort=v($(LocalPort,PORT))

[Report_Body.ReportDetails.antihacker.AppEvents.menu]
props         = t(menu)
Separator     = t(menuitem)
ReportCleanup = t(menuitem)

[PacketEvents_Report]
Actions=$ReportActions
EventsLog=[Report_Body.ReportDetails.antihacker.PacketEvents] a(lp) sz(p,p)

[Report_Body.ReportDetails.antihacker.PacketEvents]
props=t(list) at(sorted) alias(taskreport) v(fw.eventlog_packets)
Time=sz(135)v($(Time,datetime))
RuleName=v($(RuleName))
IsBlocking=v($(IsBlocking,Anti_Hacker_PacketIsBlocking))
Direction=v($(Direction,FwDirectionReport))
Proto=v($(Proto,FwProtocols))
RemoteAddress=v($(RemoteAddress,IP))
RemotePort=v($(RemotePort,PORT))
LocalAddress=v($(LocalAddress,IP))
LocalPort=v($(LocalPort,PORT))

[Report_Body.ReportDetails.antihacker.PacketEvents.menu]
props         = t(menu)
Separator     = t(menuitem)
ReportCleanup = t(menuitem)

;------------- AhLearnDialog -----------

[AhLearnDialog]
props=$AlertDialogAttr sz(270,300) 
Dlg=[AhLearnDialog.Dlg]

[AhLearnDialog.Dlg]
props=$BorderedDailogAttr
AhHeader=[AlertDialog.Header]
Info=[AhLearnDialog.Info]
Action=[AhLearnDialog.Action]
Footer=[AhLearnDialog.Footer]

[AhLearnDialog.Info]
props=$SettingsGroupNext sz(p,120) xy(0,10) at(clickable)
;Description=t(richedit) at(readonly,noborder,nofocus,vscroll) a(lt) sz(p,90)
AppIcon=a(lt) xy(,-1) sz(,16)
AppName=a(lt) xy(22) sz(,16)
RemoteHost=t(value) $Next_Control sz(p) sep(100) v($(RemoteHostName,FwRemAddr))
RemotePort=t(value) $Next_Control sz(p) sep(100) v($(RemotePort))
LocalPort=t(value) $Next_Control sz(p) sep(100) v($(LocalPort))

[AhLearnDialog.Action]
props=$SettingsGroupNext sz(p,a)
Preset=t(combo) $Next_Control sz(p,20) xy(,,80) v($(Preset)) disable($(CreateRule,EnableIfNotZero))
Allow=$Button a(rs) xy(,-1)
Block=$Button a(ra) xy(,7)
Edit=t(hotlink) a(ls) f(Hotlink) xy(,4)
Rule=$Checkbox $Next_Control v($(CreateRule))

[AhLearnDialog.Footer]
props=a(lb) sz(p,a)
DontCheck=t(hotlink) f(Hotlink) a(rt) xy(7)


;------------- AhLearnDialog.Details -----------

[AhLearnDialog.Details]
props      = $DlgAttr sz(400,350) at(resizable,nohelp,a_close) text($AlertDetails)
Dlg        = [AhLearnDialog.Details.Dlg]

[AhLearnDialog.Details.Dlg]
props      = $DlgBodyTabAttr
AddInfo    = [AhLearnDialogDetails_AddInfo]

[AhLearnDialogDetails_AddInfo]
props      = sz(p,p)
Info       = t(richedit) at(readonly,vscroll,hscroll) a(lt) sz(p,p) text(<b>$Description</b>\n$(DisplayName)\n\n<b>$Connection</b>\n$Direction$(Direction,FwDirectionReport)\n$Protocol$(Proto,FwProtocols)\n$RemoteAddr$(RemoteHostName,FwRemAddr)\n$RemotePort$(RemotePort)\n$LocalPort$(LocalPort)\n\n<b>$ProcessInfo</b>\n$ProcessName$(AppName,objfile)\n$ProcessId$FwPid\n$AppFile$(AppName)\n$CmdLine$(CmdLine)\n\n<b>$ManufacturerInfo</b>\n$Manufacturer$(CompanyName,ShowUnknownIfEmpty)\n$AppVersion$(ProductVersion,ShowUnknownIfEmpty)\n$FileVersion$(FileVersion,ShowUnknownIfEmpty))

;------------- AhNewNetworkDialog -----------

[AhNewNetworkDialog]
props=$AlertDialogAttr at(ontop) sz(270,a)
Dlg=[AhNewNetworkDialog.Dlg]

[AhNewNetworkDialog.Dlg]
props=$BorderedDailogAttr sz(p,a)
AhHeader=[AlertDialog.Header]
Info=[AhNewNetworkDialog.Info]
Action=[AhNewNetworkDialog.Action]
Footer=[AlertDialog.Footer]

[AhNewNetworkDialog.Info]
props=$SettingsGroupNext sz(p,a) xy(0,10)
Adapter=t(value) $First_Control sz(p,0) at(singleline) sep(80) va(l,r) v($(NewNetwork.AdapterDesc)) tt($(NewNetwork.AdapterDesc))
Ip=t(value) $Next_Control sz(p,0) sep(80) va(l,r) v($(NewNetwork.IP,ip))
Subnet=t(value) $Next_Control sz(p,0) sep(80) va(l,r) v($(NewNetwork.Mask,ip))

[AhNewNetworkDialog.Action]
props=$SettingsGroupNext sz(p,a) v($(NewNetwork.Zone))
Untrusted_ico=i(internet) $First_Control 
Untrusted=t(radio) a(as) xy(5,5) v(2) 
NetBIOS_ico=i(intranet) $Next_Control 
NetBIOS=t(radio) a(as) xy(5,5) v(1)
Trusted_ico=i(ok32) $Next_Control
Trusted=t(radio) a(as) xy(5,5) v(0)
Btns = [AhNewNetworkDialog.Action_Btns]

[AhNewNetworkDialog.Action_Btns]
props=sz(p,a) a(la) xy(,5)
Stealth=$Checkbox a(lb) xy(,5) v($(NewNetwork.Stealthed)) hide($(NewNetwork.Zone,=,#Fw_fwnzUntrusted,ShowIfNotZero))
Ok=$Button a(rb) 

;------------- AhAppChangedDialog -----------

[AhAppChangedDialog]
props=$AlertDialogAttr sz(270,300) 
Dlg=[AhAppChangedDialog.Dlg]

[AhAppChangedDialog.Dlg]
props=$BorderedDailogAttr
AhHeader=[AlertDialog.Header]
Info=[AhAppChangedDialog.Info]
Action=[AhAppChangedDialog.Action]
Footer=[AlertDialog.Footer]

[AhAppChangedDialog.Info]
props=$SettingsGroupNext sz(p,a) xy(0,10)
ProcessName=t(value) $First_Control sep(120) v($(AppChanged.ApplicationName,objfile))
ProcessId=t(value) $Next_Control sep(120) v($FwPidA)
Manufacturer=t(value) $Next_Control sep(120) v($(CompanyName,unicode,ShowUnknownIfEmpty))
AppVersion=t(value) $Next_Control sep(120) v($(ProductVersion,unicode,ShowUnknownIfEmpty))

[AhAppChangedDialog.Action]
props=$SettingsGroupNext sz(p,p)
Info=a(lt) sz(p,70) xy(,10,100)
Allow=$Button a(rt) xy(,10)
Deny=$Button a(ra) xy(,7)

;------------- FWLevelGroup -----------

[FWLevelGroup]
props=sz(a,a)
FWLevelBlockAll          =[FWLevelBlockAll]	tt($FWLevelBlockAllTT)
FWLevelRejectNotFiltered =[FWLevelRejectNotFiltered]	tt($FWLevelRejectNotFilteredTT)
FWLevelAskUser           =[FWLevelAskUser]	tt($FWLevelAskUserTT)
FWLevelAllowNotFiltered  =[FWLevelAllowNotFiltered]	tt($FWLevelAllowNotFilteredTT)
FWLevelAllowAll          =[FWLevelAllowAll]	tt($FWLevelAllowAllTT)

[FWLevelBlockAll]
props=sz(a,a) hide($(fw.ProtectionLevel,ShowFWLevel_BlockAll))
HeaderText=f(Bold) a(lt)
BodyText=a(la) xy(10,0) sz(240,50)	tt($BodyText)

[FWLevelRejectNotFiltered]
props=sz(a,a) hide($(fw.ProtectionLevel,ShowFWLevel_RejectNotFiltered))
HeaderText=f(Bold) a(lt)
BodyText=a(la) xy(10,0) sz(240,50)

[FWLevelAskUser]
props=sz(a,a) hide($(fw.ProtectionLevel,ShowFWLevel_AskUser))
HeaderText=f(Bold) a(lt)
BodyText=a(la) xy(10,0) sz(240,50)

[FWLevelAllowNotFiltered]
props=sz(a,a) hide($(fw.ProtectionLevel,ShowFWLevel_AllowNotFiltered))
HeaderText=f(Bold) a(lt)
BodyText=a(la) xy(10,0) sz(240,50)

[FWLevelAllowAll]
props=sz(a,a) hide($(fw.ProtectionLevel,ShowFWLevel_AllowAll))
HeaderText=f(Bold) a(lt)
BodyText=a(la) xy(10,0) sz(240,50)
