What's new

Double writing in syslog?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

bayern1975

Very Senior Member
hello, i do not know how to solve double writing in syslog? scripts are checked more times....didn`t find any mistake....is possible something in these scripts that they runing double? using privacy-filter, iblocklist and Ipset-block scripts....with all them have duoble writing.....i use ab-solution with pixelserv too and here are all ok...here is log after reboot:

Code:
Apr 30 16:38:42 system: Privacy Filter (ipv4) loaded 117 unique ip addresses that will be rejected from contacting your router.
Apr 30 16:38:42 system: Privacy Filter (ipv4) loaded 117 unique ip addresses that will be rejected from contacting your router.
Apr 30 16:38:42 Firewall: iblocklist-loader.sh: Started processing BluetackSpider blocklist
Apr 30 16:38:42 Firewall: iblocklist-loader.sh: Started processing BluetackSpider blocklist
Apr 30 16:38:42 Firewall: iblocklist-loader.sh: Loaded BluetackSpiderSingle blocklist with 68 entries
Apr 30 16:38:42 Firewall: iblocklist-loader.sh: Loaded BluetackSpiderSingle blocklist with 68 entries
Apr 30 16:38:42 Firewall: iblocklist-loader.sh: Loaded BluetackSpiderCIDR blocklist with 683 entries
Apr 30 16:38:42 Firewall: iblocklist-loader.sh: Loaded BluetackSpiderCIDR blocklist with 683 entries
Apr 30 16:38:43 Firewall: iblocklist-loader.sh: Started processing BluetackDshield blocklist
Apr 30 16:38:43 Firewall: iblocklist-loader.sh: Started processing BluetackDshield blocklist
Apr 30 16:38:43 Firewall: iblocklist-loader.sh: Loaded BluetackDshieldSingle blocklist with 1 entries
Apr 30 16:38:43 Firewall: iblocklist-loader.sh: Loaded BluetackDshieldSingle blocklist with 1 entries
Apr 30 16:38:43 Firewall: iblocklist-loader.sh: Loaded BluetackDshieldCIDR blocklist with 1 entries
Apr 30 16:38:43 Firewall: iblocklist-loader.sh: Loaded BluetackDshieldCIDR blocklist with 1 entries
Apr 30 16:38:43 Firewall: iblocklist-loader.sh: Started processing BluetackWebexploit blocklist
Apr 30 16:38:43 Firewall: iblocklist-loader.sh: Started processing BluetackWebexploit blocklist
Apr 30 16:38:43 Firewall: iblocklist-loader.sh: Loaded BluetackWebexploitSingle blocklist with 1459 entries
Apr 30 16:38:44 Firewall: iblocklist-loader.sh: Loaded BluetackWebexploitSingle blocklist with 1459 entries
Apr 30 16:38:44 Firewall: iblocklist-loader.sh: Loaded BluetackWebexploitCIDR blocklist with 39 entries
Apr 30 16:38:44 Firewall: iblocklist-loader.sh: Loaded BluetackWebexploitCIDR blocklist with 39 entries
Apr 30 16:38:44 Firewall: iblocklist-loader.sh: Started processing BluetackProxy blocklist
Apr 30 16:38:44 Firewall: iblocklist-loader.sh: Started processing BluetackProxy blocklist
Apr 30 16:38:45 Firewall: iblocklist-loader.sh: Loaded BluetackProxySingle blocklist with 5818 entries
Apr 30 16:38:45 Firewall: iblocklist-loader.sh: Loaded BluetackProxySingle blocklist with 5818 entries
Apr 30 16:38:45 Firewall: iblocklist-loader.sh: Loaded BluetackProxyCIDR blocklist with 1 entries
Apr 30 16:38:45 Firewall: iblocklist-loader.sh: Loaded BluetackProxyCIDR blocklist with 1 entries
Apr 30 16:38:45 Firewall: iblocklist-loader.sh: Started processing BluetackMicrosoft blocklist
Apr 30 16:38:45 Firewall: iblocklist-loader.sh: Started processing BluetackMicrosoft blocklist
Apr 30 16:38:45 Firewall: iblocklist-loader.sh: Loaded BluetackMicrosoftSingle blocklist with 18 entries
Apr 30 16:38:45 Firewall: iblocklist-loader.sh: Loaded BluetackMicrosoftSingle blocklist with 18 entries
Apr 30 16:38:45 Firewall: iblocklist-loader.sh: Loaded BluetackMicrosoftCIDR blocklist with 905 entries
Apr 30 16:38:46 Firewall: iblocklist-loader.sh: Loaded BluetackMicrosoftCIDR blocklist with 905 entries
Apr 30 16:38:46 (IPSET_Block.sh): 2882 v3.04 © 2016-2017 Martineau, Dynamic IPSET Blacklist banning request.....
Apr 30 16:38:46 (IPSET_Block.sh): 2890 v3.04 © 2016-2017 Martineau, Dynamic IPSET Blacklist banning request.....
Apr 30 16:38:46 (IPSET_Block.sh): 2890 IPSETs: 'Blacklist/Whitelist' created EMPTY..... [init nolog]
Apr 30 16:38:46 (IPSET_Block.sh): 2882 IPSETs: 'Blacklist/Whitelist' created EMPTY..... [init nolog]
Apr 30 16:38:46 (IPSET_Block.sh): 2882 Dynamic IPSET Blacklist banning enabled.
Apr 30 16:38:46 (IPSET_Block.sh): 2890 Dynamic IPSET Blacklist banning enabled.
Apr 30 16:38:46 (IPSET_Block.sh): 2890 Summary Blacklist: 28 0 Successful blocks! ( 5 IPs currently banned - 0 added )
Apr 30 16:38:46 (IPSET_Block.sh): 2882 Summary Blacklist: 28 0 Successful blocks! ( 5 IPs currently banned - 0 added )
 
I think you have 2 copies of your script running! This can happen if using the wan-up or firewall scripts, often the wan is brought up to run dhcp then it is taken down, brought up again when ISP details. Your script should check for multiple occurrences.
 
yes, I use wan-start created from ab-solution for runing entware with pixelserv and also firewall-start script for another two scripts...what should I do?

Poslano z mojega EVA-L09 z uporabo Tapatalk
 
I have a ping script linked from the wan-start, this runs forever so should the wan get restarted I would get multiple copies. I avoid this by always killing existing copes before starting using:-

Code:
killall wan_check.sh
/mnt/usb4gb/wan_check.sh &
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top