Downloads
blackASN.tcl
FREE
ASN & country lookup & Blacklist functions An ASN is a collection of IP routing prefixes. It is generally the same for all IPs of any organization, network operator, or domain with the same external routing policy. With this TCL you can view the SYSTEM number for IP's, the country, the IP class,the autonomous system name. You can also add to blacklist the AS numbers and BAN onjoin users or GLINE on connect ones, if their IP are part of the blacklisted system number. You also have an exempt option to add some IP's as exception. The users will not get banned or glined. INSTALATION ++ Edit blackASN.tcl script & place it into your /scripts directory. ++ add "source scripts/blackASN.tcl" to your eggdrop.conf & rehash. ++ Packages required: whois (the linux whois command must be installed) COMMANDS !asn ASN|HOST|IP - lookup information !asn add ASN - add to blacklist ASN !asn del ASN - del ASN from blacklist !asn list - show ASN blacklist !asn +exempt IP/HOST - exempt form ASN blacklist !asn -exempt IP/HOST - remove exempt from blacklist !asn exempt - show exempt list Examples !asn tclhelp.tclscripts.net AS8560 -- IP:...Author: BLaCkShaDoW
Version: 1.0
Downloads: 140
Added: 2023-05-30
Last Updated: 2023-05-30
Description
ASN & country lookup & Blacklist functions
An ASN is a collection of IP routing prefixes. It is generally the same for all IPs of any organization, network operator, or domain with the same external routing policy.
With this TCL you can view the SYSTEM number for IP's, the country, the IP class,the autonomous system name.
You can also add to blacklist the AS numbers and BAN onjoin users or GLINE on connect ones, if their IP are part of the blacklisted system number.
You also have an exempt option to add some IP's as exception. The users will not get banned or glined.
INSTALATION
++ Edit blackASN.tcl script & place it into your /scripts directory.
++ add "source scripts/blackASN.tcl" to your eggdrop.conf & rehash.
++ Packages required: whois (the linux whois command must be installed)
COMMANDS
!asn ASN|HOST|IP - lookup information
!asn add ASN - add to blacklist ASN
!asn del ASN - del ASN from blacklist
!asn list - show ASN blacklist
!asn +exempt IP/HOST - exempt form ASN blacklist
!asn -exempt IP/HOST - remove exempt from blacklist
!asn exempt - show exempt list
Examples
!asn tclhelp.tclscripts.net
AS8560 -- IP: 2607:f1c0:1800:22c::1 -- Range: 2607:f1c0:1800::/48 ; CC: US ; AS Name: IONOS-AS This is the joint network for IONOS, Fasthosts, Arsys, 1&1 Mail and Media and 1&1 Telecom. Formerly known as 1&1 Internet SE., DE
!asn AS8560
AS8560 -- CC: DE ; Allocated: 1997-11-26 ; AS Name: IONOS SE