<p></p>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/manwe/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/manwe">@manwe</a> - the value itself does not matter in matching banned IPs. The <code>integer</code> <code>1</code> is chosen for size (4 bytes), any <code>string</code> has <code>char*</code> (4-bytes), <code>length</code> (4 bytes) plus the number of bytes in the value. The default config has a single banning mode and you can set a different value on other cases that you add. I guess you find it useful for checking via RPC, however one can know that 1 is pike, the others are how you set them. You can also change 1 to something else as you prefer, but I think the current version is better for the default config.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2719#issuecomment-829030734">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZPSNG4RVWEUP722D43TLEIDBANCNFSM43ZGGYPA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZI6QCI56BKF6KFZLW3TLEIDBA5CNFSM43ZGGYPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGFVACTQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2719#issuecomment-829030734",
"url": "https://github.com/kamailio/kamailio/issues/2719#issuecomment-829030734",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>