Hi all,variable)?
I am having issues with a few stations from a particular country causing constant connections and lockups, on one of my nodes.
Rather than individually search the logfile for individual callsigns (numerous and slightly varied), I was hoping that I may be able to apply “variables” to the deny list.
Does the deny list accept or respond to variables (such as *) and could
this be expanded or narrowed down to country or region specific as
required?
It is my understanding that if a particular call is placed into “allow”, this has priority over “deny” (in the case of a possible working
It is obvious that it would be placed temporarily until such stations
either move on or give up, but t attempting to place a temporary “deny” would be more helpful than the constant lockups, random connections, discussions in foreign language and disruption. Place the restriction for a week or so, then once the traffic or attempts slow down, remove the
variable from the deny list.
Not ideal, but wishing to see if a variable can be used and altered to
suit the need?
if [ `grep -x "$ESCSTR" "$ECHO_CUSTOM/node_deny"` ]; then
if [ `echo "${ESCSTR}" | egrep -x -i -f "$ECHO_CUSTOM/node_deny"` ]; then
if [ `grep -x "$ESCSTR" "$ECHO_CUSTOM/node_allow"` ]; then
if [ `echo "${ESCSTR}" | egrep -x -i -f "$ECHO_CUSTOM/node_allow"` ];
then
Greatly appreciated Dave.
Sysop: | Nelgin |
---|---|
Location: | Plano, TX |
Users: | 513 |
Nodes: | 10 (1 / 9) |
Uptime: | 00:54:23 |
Calls: | 8,291 |
Calls today: | 4 |
Files: | 15,520 |
Messages: | 928,894 |