@ -239,7 +239,7 @@ void KMFPFCompiler::createIncommingACCESSRules( KMFNetZone* zone, KMFGenericDoc*
}
}
}
}
m_compiledScript . append ( TQString ( " \n # Settup rules for zone %1 [%2/%3] \n " ) . tqarg ( zone - > guiName ( ) ) . tqarg ( zone - > address ( ) - > toString ( ) ) . tqarg ( zone - > tq maskLength( ) ) ) ;
m_compiledScript . append ( TQString ( " \n # Settup rules for zone %1 [%2/%3] \n " ) . tqarg ( zone - > guiName ( ) ) . tqarg ( zone - > address ( ) - > toString ( ) ) . tqarg ( zone - > maskLength( ) ) ) ;
TQPtrList < KMFProtocolUsage > & zoneProts = zone - > protocols ( ) ;
TQPtrList < KMFProtocolUsage > & zoneProts = zone - > protocols ( ) ;
TQPtrListIterator < KMFProtocolUsage > itZoneProtocols ( zoneProts ) ;
TQPtrListIterator < KMFProtocolUsage > itZoneProtocols ( zoneProts ) ;
while ( itZoneProtocols . current ( ) ) {
while ( itZoneProtocols . current ( ) ) {
@ -255,7 +255,7 @@ void KMFPFCompiler::createIncommingACCESSRules( KMFNetZone* zone, KMFGenericDoc*
m_compiledScript . append ( " quick inet proto tcp from " ) ;
m_compiledScript . append ( " quick inet proto tcp from " ) ;
m_compiledScript . append ( zone - > address ( ) - > toString ( ) ) ;
m_compiledScript . append ( zone - > address ( ) - > toString ( ) ) ;
m_compiledScript . append ( " / " ) ;
m_compiledScript . append ( " / " ) ;
m_compiledScript . append ( TQString : : number ( zone - > tq maskLength( ) ) ) ;
m_compiledScript . append ( TQString : : number ( zone - > maskLength( ) ) ) ;
m_compiledScript . append ( " to any " ) ;
m_compiledScript . append ( " to any " ) ;
m_compiledScript . append ( " port " ) ;
m_compiledScript . append ( " port " ) ;
m_compiledScript . append ( getPortList ( prot - > protocol ( ) - > tcpPorts ( ) ) ) ;
m_compiledScript . append ( getPortList ( prot - > protocol ( ) - > tcpPorts ( ) ) ) ;
@ -269,7 +269,7 @@ void KMFPFCompiler::createIncommingACCESSRules( KMFNetZone* zone, KMFGenericDoc*
m_compiledScript . append ( " quick inet proto udp from " ) ;
m_compiledScript . append ( " quick inet proto udp from " ) ;
m_compiledScript . append ( zone - > address ( ) - > toString ( ) ) ;
m_compiledScript . append ( zone - > address ( ) - > toString ( ) ) ;
m_compiledScript . append ( " / " ) ;
m_compiledScript . append ( " / " ) ;
m_compiledScript . append ( TQString : : number ( zone - > tq maskLength( ) ) ) ;
m_compiledScript . append ( TQString : : number ( zone - > maskLength( ) ) ) ;
m_compiledScript . append ( " to any " ) ;
m_compiledScript . append ( " to any " ) ;
m_compiledScript . append ( " port " ) ;
m_compiledScript . append ( " port " ) ;
m_compiledScript . append ( getPortList ( prot - > protocol ( ) - > udpPorts ( ) ) ) ;
m_compiledScript . append ( getPortList ( prot - > protocol ( ) - > udpPorts ( ) ) ) ;
@ -344,7 +344,7 @@ void KMFPFCompiler::createOutgoingACCESSRules( KMFNetZone* zone, KMFGenericDoc*
}
}
}
}
m_compiledScript . append ( TQString ( " \n # Settup rules for zone %1 [%2/%3] \n " ) . tqarg ( zone - > guiName ( ) ) . tqarg ( zone - > address ( ) - > toString ( ) ) . tqarg ( zone - > tq maskLength( ) ) ) ;
m_compiledScript . append ( TQString ( " \n # Settup rules for zone %1 [%2/%3] \n " ) . tqarg ( zone - > guiName ( ) ) . tqarg ( zone - > address ( ) - > toString ( ) ) . tqarg ( zone - > maskLength( ) ) ) ;
TQPtrList < KMFProtocolUsage > & zoneProts = zone - > protocols ( ) ;
TQPtrList < KMFProtocolUsage > & zoneProts = zone - > protocols ( ) ;
TQPtrListIterator < KMFProtocolUsage > itZoneProtocols ( zoneProts ) ;
TQPtrListIterator < KMFProtocolUsage > itZoneProtocols ( zoneProts ) ;
while ( itZoneProtocols . current ( ) ) {
while ( itZoneProtocols . current ( ) ) {
@ -360,7 +360,7 @@ void KMFPFCompiler::createOutgoingACCESSRules( KMFNetZone* zone, KMFGenericDoc*
m_compiledScript . append ( " quick inet proto tcp from " ) ;
m_compiledScript . append ( " quick inet proto tcp from " ) ;
m_compiledScript . append ( zone - > address ( ) - > toString ( ) ) ;
m_compiledScript . append ( zone - > address ( ) - > toString ( ) ) ;
m_compiledScript . append ( " / " ) ;
m_compiledScript . append ( " / " ) ;
m_compiledScript . append ( TQString : : number ( zone - > tq maskLength( ) ) ) ;
m_compiledScript . append ( TQString : : number ( zone - > maskLength( ) ) ) ;
m_compiledScript . append ( " to any " ) ;
m_compiledScript . append ( " to any " ) ;
m_compiledScript . append ( " port " ) ;
m_compiledScript . append ( " port " ) ;
m_compiledScript . append ( getPortList ( prot - > protocol ( ) - > tcpPorts ( ) ) ) ;
m_compiledScript . append ( getPortList ( prot - > protocol ( ) - > tcpPorts ( ) ) ) ;
@ -374,7 +374,7 @@ void KMFPFCompiler::createOutgoingACCESSRules( KMFNetZone* zone, KMFGenericDoc*
m_compiledScript . append ( " quick inet proto udp from " ) ;
m_compiledScript . append ( " quick inet proto udp from " ) ;
m_compiledScript . append ( zone - > address ( ) - > toString ( ) ) ;
m_compiledScript . append ( zone - > address ( ) - > toString ( ) ) ;
m_compiledScript . append ( " / " ) ;
m_compiledScript . append ( " / " ) ;
m_compiledScript . append ( TQString : : number ( zone - > tq maskLength( ) ) ) ;
m_compiledScript . append ( TQString : : number ( zone - > maskLength( ) ) ) ;
m_compiledScript . append ( " to any " ) ;
m_compiledScript . append ( " to any " ) ;
m_compiledScript . append ( " port " ) ;
m_compiledScript . append ( " port " ) ;
m_compiledScript . append ( getPortList ( prot - > protocol ( ) - > udpPorts ( ) ) ) ;
m_compiledScript . append ( getPortList ( prot - > protocol ( ) - > udpPorts ( ) ) ) ;