asused(3pm)
π asused π
okay bestie, buckle up, because this is the page for asused β that's asused(3pm), a Perl module manpage from the User Contributed Perl Documentation section. No cap.
β¨ NAME β¨
asused β it summaries address space used and, according to the RIPE DB and REG. π«Ά
πΈ SYNOPSIS πΈ
asused [--all] [--aw | --approval] [--overlap] [--status |
--assign[--pipa] ] regid
asused [--all] [--aw | [--approval] [--overlap] [--status | --assign
[--pipa] ] [--regid regid] (prefix ...)
asused [--<options>] regid | prefix
π DESCRIPTION π
okay so asused is a tool to summaries address space is registered in the RIPE database. For each allocated inetnum object, a summary of used and free address space is printed. A grant total summary for all prefixes is also provided too. If there are no errors in locating allocations and and assignments under an allocation, then in in the total % are calculated on total allocations. periodt. π
where:
regidis name of registry as in registry database.prefixis allocation as in whois database. e.g.a.b.c/16.prefixis queried whois DB to find all Less specific matchesinetnumwith na as netname is interpreted as allocation and summerize the allocation.
π OPTIONS π
--assignβ print all assignments under allocations, size, date and net name . Summary of assignments. And free address space. Summary of status attribute. β¨--allβ this same as three options--overlap--status--aw. one flag, three vibes, iconic behavior tbh.--approvalβ Check the all networks in allocations are valid or not. Print valid and invalid networks. Heads up bestie:--awonly print invalid networks.--awβ Check the all networks in allocations are valid or not. Print only Invalid networks. And--approvalwill print valid and invalid. same check, different fit. π--contactsβ printadmin-c/tech-cfor all inetnums π«Ά--helpβ Shows the usage ofasused.--overlapβ print the details of overlapping assignments. Summary of overlap per assignment is printed at the end.--regregidβregidto locate the allocation. Netname of allocation is same asregid, translating the first'.'to'-'IN upper case. If not specified usesi2rto getregid.--statusβ show assignments under allocations with wrong status attribute other thanASSIGNED PAorPI.MISSINGfor missing status. size and net name. Summary of assignments. No of Assignment(s) , No Assignments with statusASSIGNED PAorASSIGNED PI, No Assignments with statusASSIGNED PI, No Assignments, No Assignments with Missing status attribute, No Assignments with other values status attribute, none of other . Warnings on assignments. π
π OTHER OPTIONS π
as3-option
--portportβ query another whois server on the port. Default is43.--hostwhoishostβ query another whois server. Default iswhois.ripe.net. Can query only to RIPE whois server. Server version tested'2.1'--nanetnameβ show event table for approval of netname. Used with--awor--approval-pipaβ additional flag to the--assignoption to print allocation status in output.PAis forALLOCATED PA,PI-ALLOCATED PI,UNforUNSPECIFED,--is for missed status field.--versionβ print version ofasused.
π₯ DIAGNOSTICS π₯
No allocations from regβ Could not locate any allocations in use from registry.No allocations from DBβ Noinetnumobject was recognized as allocation in the RIPE Database.% No entries found for the selected source(s).β No assignment(s) found under the allocation. May be a new allocation or allocation which has no objects in RIPE DB. Not sure to treat as 100 % free.ERROR MISMATCH Netname regidβ RIPE DB Netame attribute has mismatch with na orregid.ERROR STATUSβ May be incorrect status attribute in the RIPE DB, Valid statusALLOCATED (PA|PI|UNSPECIFIED)ERROR mnt-byβ Invalid<mnt-by>attribute in RIPE DB expectingRIPE-NCC-MNT|RIPE-NCC-HM-MNT|RIPE-NCC-HM-PI-MNTInconsistent with inetnumβ Encountered twoinetnumobjects with same logical start and end. Logical interpretation ofinetnuma.b.c.0 => a.b.c.0 - a.b.c.255;a.b.c.0 - a.b.d.0 => a.b.c.0 - a.b.d.255Classfull notationβ Intrepreted as class full object. Check if no of address are counted correctly.Multiple inetnumβ When tried to locate an allocationinetnumobject forregidprefixfrom RIPE DB with option-L -F -T prefixreturned multiple objects. Every prefix can have only one allocation object.NOT Counted Assignmentβ If the assignment is outside the boundaries of allocation. It was returned by-Mquery RIPE whois server.Invalid inetnumβ Logical interpretation ofinetnumfails. Probably can not identify start, end ofend < start.Assignments has Invalid Dateβ one of the dates ofinetnumin the changed attribute is invalid.
π§ REQUIRES π§
Perl 5.00404 or later. Connection to RIPE whois server V 2.1, Perl Modules Socket Getopt::Long, regread, ipv4pack π¦
π BUGS π
bestie these are the known problems, not a drill, read them fr fr.
Could give incorrect summary if logical interpretation of Inetnum is not exact a.b.c.0 - a.b.c.0 is intended to be an assignment of size 1 IP No.
Out of memory! Noticed that when the no of assignments are very large, like 5000+ per allocation default data segment size of BSDI 3.1 is not enough. Increasing to 64 M Bytes may help. in bash shell ulimit -d 65536 eg. de.schlund π
IANA Delegated blocks smaller than /8 If the allocations are outside 192,193,194,195,212 /8 and LIR allocation is same inetnum as in /ncc/ip-reg/delegations asused2 will return No allocations in RIPE DB. eg. de.callisto
π SEE ALSO π
whois reg i2r regread Reg::Asused Reg::Approved Net::RIPEWhois
π AUTHOR π
Antony Antony <antony@ripe.net> . RIPE NCC software group. <softies@ripe.net>
okay that's the whole page, you ate it, you're literally the main character of address space summaries now π
this page was brought to you by perl v5.32.0 and dated 2021-01-26, signing off bestie, slay πβ¨
π¦ where this page comes from
- debian bookworm: asused 3.72-14 Β· MIT
- debian trixie: asused 3.72-14 Β· MIT
- ubuntu jammy: asused 3.72-14 Β· MIT
- ubuntu noble: asused 3.72-14 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms