Esempio n. 1
0
def isNeedUpdate(loadedPrf, modContent, prfPxyType, prfDftFrom,
                 prfBscAuthRealm, prfFallbackHost, prfFallbackStsCode,
                 prfHdrErase, prfHdrInsert, prfReqChunking, prfRespChunking,
                 prfInstXFF, prfSrvAgtName):
    cnt = 0
    # Set HTTP profile values
    # # Issue Track: #1
    if chaniq_util.isStrPropModified(loadedPrf, 'proxyType', prfPxyType):
        modContent['proxyType'] = prfPxyType
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'defaultsFrom', prfDftFrom):
        modContent['defaultsFrom'] = prfDftFrom
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'basicAuthRealm',
                                     prfBscAuthRealm):
        modContent['basicAuthRealm'] = prfBscAuthRealm
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'fallbackHost',
                                     prfFallbackHost):
        modContent['fallbackHost'] = prfFallbackHost
        cnt = cnt + 1

    new_records = []
    arrRecords = prfFallbackStsCode.split(' ')
    for arrRecord in arrRecords:
        aRecord = arrRecord.split(':')
        logger.info("FallbackStatus Codes: " + arrRecord)
        nr = [str(arrRecord)]
        new_records.extend(nr)

    if chaniq_util.isListPropModified(loadedPrf, 'fallbackStatusCodes',
                                      new_records):
        modContent['fallbackStatusCodes'] = arrRecords
        cnt = cnt + 1

    if chaniq_util.isStrPropModified(loadedPrf, 'headerErase', prfHdrErase):
        modContent['headerErase'] = prfHdrErase
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'headerInsert', prfHdrInsert):
        modContent['headerInsert'] = prfHdrInsert
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'requestChunking',
                                     prfReqChunking):
        modContent['requestChunking'] = prfReqChunking
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'responseChunking',
                                     prfRespChunking):
        modContent['responseChunking'] = prfRespChunking
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'insertXforwardedFor',
                                     prfInstXFF):
        modContent['insertXforwardedFor'] = prfInstXFF
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'serverAgentName',
                                     prfSrvAgtName):
        modContent['serverAgentName'] = prfSrvAgtName
        cnt = cnt + 1

    if cnt > 0: return True
    else: return False
Esempio n. 2
0
def isNeedUpdate(loadedPrf, modContent, defaultsFrom, sourceMask, maxSize,
                 maxAge, maxReuse, idleTimeoutOverride, limitType):
    cnt = 0

    if chaniq_util.isStrPropModified(loadedPrf, 'defaultsFrom', defaultsFrom):
        modContent['defaultsFrom'] = defaultsFrom
        cnt = cnt + 1
    if chaniq_util.isIntPropModified(loadedPrf, 'maxSize', maxSize, 15000):
        modContent['maxSize'] = maxSize
        cnt = cnt + 1
    if chaniq_util.isIntPropModified(loadedPrf, 'maxAge', maxAge, 86400):
        modContent['maxAge'] = maxAge
        cnt = cnt + 1
    if chaniq_util.isIntPropModified(loadedPrf, 'maxSize', maxSize, 1000):
        modContent['maxSize'] = maxSize
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'sourceMask', sourceMask):
        modContent['sourceMask'] = sourceMask
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'idleTimeoutOverride',
                                     idleTimeoutOverride):
        modContent['idleTimeoutOverride'] = idleTimeoutOverride
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'limitType', limitType):
        modContent['limitType'] = limitType
        cnt = cnt + 1

    if cnt > 0: return True
    else: return False
Esempio n. 3
0
def isNeedUpdate(loadedPrf, modContent, defaultsFrom, method, cookieName, httponly, secure, alwaysSend, expiration, overrideConnectionLimit):
    cnt = 0
    
    if chaniq_util.isStrPropModified(loadedPrf, 'defaultsFrom', defaultsFrom):
        modContent['defaultsFrom'] = defaultsFrom
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'method', method):
        modContent['method'] = method
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'cookieName', cookieName):
        modContent['cookieName'] = cookieName
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'httponly', httponly):
        modContent['httponly'] = httponly
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'secure', secure):
        modContent['secure'] = secure
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'alwaysSend', alwaysSend):
        modContent['alwaysSend'] = alwaysSend
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'expiration', expiration):
        modContent['expiration'] = expiration
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'overrideConnectionLimit', overrideConnectionLimit):
        modContent['overrideConnectionLimit'] = overrideConnectionLimit
        cnt = cnt + 1
            
    if cnt > 0: return True
    else: return False    
Esempio n. 4
0
def isNeedUpdate(loadedPrf, modContent, defaultsFrom, source, tmTarget):
    cnt = 0

    if chaniq_util.isStrPropModified(loadedPrf, 'defaultsFrom', defaultsFrom):
        modContent['defaultsFrom'] = defaultsFrom
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'source', source):
        modContent['source'] = source
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'tmTarget', tmTarget):
        modContent['tmTarget'] = tmTarget
        cnt = cnt + 1

    if cnt > 0: return True
    else: return False
Esempio n. 5
0
def isNeedUpdate(loadedPrf, modContent, defaultsFrom, matchAcrossServices,
                 matchAcrossVirtuals, matchAcrossPools, timeout, rule,
                 overrideConnectionLimit):
    cnt = 0

    if chaniq_util.isStrPropModified(loadedPrf, 'defaultsFrom', defaultsFrom):
        modContent['defaultsFrom'] = defaultsFrom
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'matchAcrossServices',
                                     matchAcrossServices):
        modContent['matchAcrossServices'] = matchAcrossServices
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'matchAcrossVirtuals',
                                     matchAcrossVirtuals):
        modContent['matchAcrossVirtuals'] = matchAcrossVirtuals
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'matchAcrossPools',
                                     matchAcrossPools):
        modContent['matchAcrossPools'] = matchAcrossPools
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'timeout', timeout):
        modContent['timeout'] = timeout
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'rule', rule):
        modContent['rule'] = rule
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'overrideConnectionLimit',
                                     overrideConnectionLimit):
        modContent['overrideConnectionLimit'] = overrideConnectionLimit
        cnt = cnt + 1

    if cnt > 0: return True
    else: return False
Esempio n. 6
0
def isNeedUpdate(loadedPrf, modContent, defaultsFrom, matchAcrossServices, matchAcrossVirtuals, matchAcrossPools, hashAlgorithm, hashOffset, hashLength, hashStartPattern, hashEndPattern, hashBufferLimit, timeout, rule, overrideConnectionLimit):
    cnt = 0

    if chaniq_util.isStrPropModified(loadedPrf, 'defaultsFrom', defaultsFrom):
        modContent['defaultsFrom'] = defaultsFrom
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'matchAcrossServices', matchAcrossServices):
        modContent['matchAcrossServices'] = matchAcrossServices
        cnt = cnt + 1 
    if chaniq_util.isStrPropModified(loadedPrf, 'matchAcrossVirtuals', matchAcrossVirtuals):
        modContent['matchAcrossVirtuals'] = matchAcrossVirtuals
        cnt = cnt + 1 
    if chaniq_util.isStrPropModified(loadedPrf, 'matchAcrossPools', matchAcrossPools):
        modContent['matchAcrossPools'] = matchAcrossPools
        cnt = cnt + 1 
    if chaniq_util.isStrPropModified(loadedPrf, 'hashAlgorithm', hashAlgorithm):
        modContent['hashAlgorithm'] = hashAlgorithm
        cnt = cnt + 1 
    if chaniq_util.isIntPropModified(loadedPrf, 'hashOffset', hashOffset, 0):
        modContent['hashOffset'] = int(hashOffset)
        cnt = cnt + 1 
    if chaniq_util.isIntPropModified(loadedPrf, 'hashLength', hashLength, 0):
        modContent['hashLength'] = int(hashLength)
        cnt = cnt + 1 
    if chaniq_util.isStrPropModified(loadedPrf, 'hashStartPattern', hashStartPattern):
        modContent['hashStartPattern'] = hashStartPattern
        cnt = cnt + 1 
    if chaniq_util.isStrPropModified(loadedPrf, 'hashEndPattern', hashEndPattern):
        modContent['hashEndPattern'] = hashEndPattern
        cnt = cnt + 1 
    if chaniq_util.isIntPropModified(loadedPrf, 'hashBufferLimit', hashBufferLimit, 0):
        modContent['hashBufferLimit'] = int(hashBufferLimit)
        cnt = cnt + 1 
    if chaniq_util.isStrPropModified(loadedPrf, 'timeout', timeout):
        modContent['timeout'] = timeout
        cnt = cnt + 1 
    if chaniq_util.isStrPropModified(loadedPrf, 'rule', rule):
        modContent['rule'] = rule
        cnt = cnt + 1  
    if chaniq_util.isStrPropModified(loadedPrf, 'overrideConnectionLimit', overrideConnectionLimit):
        modContent['overrideConnectionLimit'] = overrideConnectionLimit
        cnt = cnt + 1 
                                                                                          
    if cnt > 0: return True
    else: return False      
Esempio n. 7
0
def isNeedUpdate(loadedPrf, modContent, prfDftFrom, prfHwValid, prfHwRespCache, prfDnsExp, prfGtm, prfUnhandledAct, prfUseBind, prfZoneXfr, prfDnsSecurity, prfRecursion):
    cnt = 0
    # Set HTTP profile values
    # # Issue Track: #1
    if chaniq_util.isStrPropModified(loadedPrf, 'defaultsFrom', prfDftFrom):
        modContent['proxyType'] = prfDftFrom
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'enableHardwareQueryValidation', prfHwValid):
        modContent['enableHardwareQueryValidation'] = prfHwValid
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'enableHardwareResponseCache', prfHwRespCache):
        modContent['enableHardwareResponseCache'] = prfHwRespCache
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'enableDnsExpress', prfDnsExp):
        modContent['enableDnsExpress'] = prfDnsExp
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'enableGtm', prfGtm):
        modContent['enableGtm'] = prfGtm
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'unhandledQueryAction', prfUnhandledAct):
        modContent['unhandledQueryAction'] = prfUnhandledAct
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'useLocalBind', prfUseBind):
        modContent['useLocalBind'] = prfUseBind
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'processXfr', prfZoneXfr):
        modContent['processXfr'] = prfZoneXfr
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'enableDnsFirewall', prfDnsSecurity):
        modContent['enableDnsFirewall'] = prfDnsSecurity
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'processRd', prfRecursion):
        modContent['processRd'] = prfRecursion
        cnt = cnt + 1

    if cnt > 0: return True
    else: return False
Esempio n. 8
0
def isNeedUpdate(loadedPrf, modContent, defaultsFrom, matchAcrossServices,
                 matchAcrossVirtuals, matchAcrossPools, hashAlgorithm, timeout,
                 mask, mapProxies, overrideConnectionLimit):
    cnt = 0

    if chaniq_util.isStrPropModified(loadedPrf, 'defaultsFrom', defaultsFrom):
        modContent['defaultsFrom'] = defaultsFrom
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'matchAcrossServices',
                                     matchAcrossServices):
        modContent['matchAcrossServices'] = matchAcrossServices
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'matchAcrossVirtuals',
                                     matchAcrossVirtuals):
        modContent['matchAcrossVirtuals'] = matchAcrossVirtuals
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'matchAcrossPools',
                                     matchAcrossPools):
        modContent['matchAcrossPools'] = matchAcrossPools
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'hashAlgorithm',
                                     hashAlgorithm):
        modContent['hashAlgorithm'] = hashAlgorithm
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'timeout', timeout):
        modContent['timeout'] = timeout
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'mask', mask):
        modContent['mask'] = mask
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'mapProxies', mapProxies):
        modContent['mapProxies'] = mapProxies
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'overrideConnectionLimit',
                                     overrideConnectionLimit):
        modContent['overrideConnectionLimit'] = overrideConnectionLimit
        cnt = cnt + 1

    if cnt > 0: return True
    else: return False
Esempio n. 9
0
def isNeedUpdate(loadedPrf, modContent, defaultsFrom, proxyMss, idleTimeout, ipTosToClient, linkQosToClient, datagramLoadBalancing, allowNoPayload, ipTtlMode, ipTtlV4, ipTtlV6, ipDfMode):
    cnt = 0

    if chaniq_util.isStrPropModified(loadedPrf, 'defaultsFrom', defaultsFrom):
        modContent['defaultsFrom'] = defaultsFrom
        cnt = cnt + 1  
    if chaniq_util.isIntPropModified(loadedPrf, 'ipTtlV4', ipTtlV4, 255):
        modContent['ipTtlV4'] = ipTtlV4
        cnt = cnt + 1  
    if chaniq_util.isIntPropModified(loadedPrf, 'ipTtlV6', ipTtlV6, 64):
        modContent['ipTtlV6'] = ipTtlV6
        cnt = cnt + 1  
    if chaniq_util.isStrPropModified(loadedPrf, 'proxyMss', proxyMss):
        modContent['proxyMss'] = proxyMss
        cnt = cnt + 1  
    if chaniq_util.isStrPropModified(loadedPrf, 'idleTimeout', idleTimeout):
        modContent['idleTimeout'] = idleTimeout
        cnt = cnt + 1  
    if chaniq_util.isStrPropModified(loadedPrf, 'ipTosToClient', ipTosToClient):
        modContent['ipTosToClient'] = ipTosToClient
        cnt = cnt + 1  
    if chaniq_util.isStrPropModified(loadedPrf, 'linkQosToClient', linkQosToClient):
        modContent['linkQosToClient'] = linkQosToClient
        cnt = cnt + 1  
    if chaniq_util.isStrPropModified(loadedPrf, 'datagramLoadBalancing', datagramLoadBalancing):
        modContent['datagramLoadBalancing'] = datagramLoadBalancing
        cnt = cnt + 1  
    if chaniq_util.isStrPropModified(loadedPrf, 'allowNoPayload', allowNoPayload):
        modContent['allowNoPayload'] = allowNoPayload
        cnt = cnt + 1  
    if chaniq_util.isStrPropModified(loadedPrf, 'ipTtlMode', ipTtlMode):
        modContent['ipTtlMode'] = ipTtlMode
        cnt = cnt + 1  
    if chaniq_util.isStrPropModified(loadedPrf, 'ipDfMode', ipDfMode):
        modContent['ipDfMode'] = ipDfMode
        cnt = cnt + 1  

    if cnt > 0: return True
    else: return False    
Esempio n. 10
0
def isNeedUpdate(loadedPrf, modContent, defaultsFrom, resetOnTimeout,
                 proxyBufferHigh, proxyBufferLow, receiveWindowSize,
                 sendBufferSize, ackOnPush, nagle, initCwnd, slowStart,
                 selectiveAcks):
    cnt = 0

    if chaniq_util.isStrPropModified(loadedPrf, 'defaultsFrom', defaultsFrom):
        modContent['defaultsFrom'] = defaultsFrom
        cnt = cnt + 1
    if chaniq_util.isIntPropModified(loadedPrf, 'proxyBufferHigh',
                                     proxyBufferHigh, 49152):
        modContent['proxyBufferHigh'] = proxyBufferHigh
        cnt = cnt + 1
    if chaniq_util.isIntPropModified(loadedPrf, 'proxyBufferLow',
                                     proxyBufferLow, 32768):
        modContent['proxyBufferLow'] = proxyBufferLow
        cnt = cnt + 1
    if chaniq_util.isIntPropModified(loadedPrf, 'receiveWindowSize',
                                     receiveWindowSize, 65535):
        modContent['receiveWindowSize'] = receiveWindowSize
        cnt = cnt + 1
    if chaniq_util.isIntPropModified(loadedPrf, 'sendBufferSize',
                                     sendBufferSize, 65535):
        modContent['sendBufferSize'] = sendBufferSize
        cnt = cnt + 1
    if chaniq_util.isIntPropModified(loadedPrf, 'initCwnd', initCwnd, 0):
        modContent['initCwnd'] = initCwnd
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'resetOnTimeout',
                                     resetOnTimeout):
        modContent['resetOnTimeout'] = resetOnTimeout
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'ackOnPush', ackOnPush):
        modContent['ackOnPush'] = ackOnPush
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'nagle', nagle):
        modContent['nagle'] = nagle
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'slowStart', slowStart):
        modContent['slowStart'] = slowStart
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'selectiveAcks',
                                     selectiveAcks):
        modContent['selectiveAcks'] = selectiveAcks
        cnt = cnt + 1

    if cnt > 0: return True
    else: return False
Esempio n. 11
0
def isNeedUpdate(loadedPrf, modContent, defaultsFrom, certKeyChain, ciphers,
                 proxySsl, proxySslPassthrough, renegotiation,
                 renegotiatePeriod, renegotiateSize, renegotiateMaxRecordDelay,
                 secureRenegotiation, maxRenegotiationsPerMinute, serverName,
                 sniDefault, sniRequire):
    cnt = 0

    # maxRenegotiationsPerMinute = 5, certKeyChain = [{ "name":"", "cert":"", "key":"", "chain":""}, ]
    if chaniq_util.isStrPropModified(loadedPrf, 'defaultsFrom', defaultsFrom):
        modContent['defaultsFrom'] = defaultsFrom
        cnt = cnt + 1
    if chaniq_util.isIntPropModified(loadedPrf, 'maxRenegotiationsPerMinute',
                                     maxRenegotiationsPerMinute, 5):
        modContent['maxRenegotiationsPerMinute'] = maxRenegotiationsPerMinute
        cnt = cnt + 1
    if chaniq_util.isListPropModified(loadedPrf, 'certKeyChain', certKeyChain):
        modContent['certKeyChain'] = certKeyChain
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'ciphers', ciphers):
        modContent['ciphers'] = ciphers
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'proxySsl', proxySsl):
        modContent['proxySsl'] = proxySsl
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'proxySslPassthrough',
                                     proxySslPassthrough):
        modContent['proxySslPassthrough'] = proxySslPassthrough
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'renegotiation',
                                     renegotiation):
        modContent['renegotiation'] = renegotiation
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'renegotiatePeriod',
                                     renegotiatePeriod):
        modContent['renegotiatePeriod'] = renegotiatePeriod
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'renegotiateSize',
                                     renegotiateSize):
        modContent['renegotiateSize'] = renegotiateSize
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'renegotiateMaxRecordDelay',
                                     renegotiateMaxRecordDelay):
        modContent['renegotiateMaxRecordDelay'] = renegotiateMaxRecordDelay
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'secureRenegotiation',
                                     secureRenegotiation):
        modContent['secureRenegotiation'] = secureRenegotiation
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'serverName', serverName):
        modContent['serverName'] = serverName
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'sniDefault', sniDefault):
        modContent['sniDefault'] = sniDefault
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'sniRequire', sniRequire):
        modContent['sniRequire'] = sniRequire
        cnt = cnt + 1

    if cnt > 0: return True
    else: return False
Esempio n. 12
0
def isNeedUpdate(loadedPrf, modContent, defaultsFrom, resetOnTimeout,
                 reassembleFragments, idleTimeout, tcpHandshakeTimeout,
                 tcpTimestampMode, tcpWscaleMode, looseInitialization,
                 looseClose, tcpCloseTimeout, keepAliveInterval):
    cnt = 0

    if chaniq_util.isStrPropModified(loadedPrf, 'defaultsFrom', defaultsFrom):
        modContent['defaultsFrom'] = defaultsFrom
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'resetOnTimeout',
                                     resetOnTimeout):
        modContent['resetOnTimeout'] = resetOnTimeout
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'reassembleFragments',
                                     reassembleFragments):
        modContent['reassembleFragments'] = reassembleFragments
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'idleTimeout', idleTimeout):
        modContent['idleTimeout'] = idleTimeout
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'tcpHandshakeTimeout',
                                     tcpHandshakeTimeout):
        modContent['tcpHandshakeTimeout'] = tcpHandshakeTimeout
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'tcpTimestampMode',
                                     tcpTimestampMode):
        modContent['tcpTimestampMode'] = tcpTimestampMode
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'tcpWscaleMode',
                                     tcpWscaleMode):
        modContent['tcpWscaleMode'] = tcpWscaleMode
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'looseInitialization',
                                     looseInitialization):
        modContent['looseInitialization'] = looseInitialization
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'looseClose', looseClose):
        modContent['looseClose'] = looseClose
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'tcpCloseTimeout',
                                     tcpCloseTimeout):
        modContent['tcpCloseTimeout'] = tcpCloseTimeout
        cnt = cnt + 1
    if chaniq_util.isStrPropModified(loadedPrf, 'keepAliveInterval',
                                     keepAliveInterval):
        modContent['keepAliveInterval'] = keepAliveInterval
        cnt = cnt + 1

    if cnt > 0: return True
    else: return False