The idea in basic terms us fir it to be a plugin or script (Python/LUA)
Note there are already LUA Scripts for Ptokax for this feature.
but what i had in mind was a bit more advanced.
command structure:
!<command> <switch> <input>
Commands Switches
[*]ping= shows ping statics in client
Code: Select all
Skickar signaler till 127.0.0.1 med 32 byte data:
Svar från 127.0.0.1: byte=32 tid < 1 ms TTL=128
Svar från 127.0.0.1: byte=32 tid < 1 ms TTL=128
Svar från 127.0.0.1: byte=32 tid < 1 ms TTL=128
Svar från 127.0.0.1: byte=32 tid < 1 ms TTL=128
Ping-statistik för 127.0.0.1:
Paket: Skickade = 4, mottagna = 4, Förlorade = 0 (0 %),
Ungefärligt överföringstid i millisekunder:
Lägsta = 0 ms, Högsta = 0 ms, Medel = 0 ms
Code: Select all
www.adcportal.com. 600 IN A 85.229.0.167
Code: Select all
127.0.0.1 resolves to
"localhost.localdomain"
Top Level Domain: "localhost.localdomain"
Code: Select all
netnum: 0.0.0.0 - 255.255.255.255
netname: IANA-BLK
descr: The whole IPv4 address space
country: EU # Country is really world wide
org: ORG-IANA1-RIPE
admin-c: IANA1-RIPE
tech-c: IANA1-RIPE
status: ALLOCATED UNSPECIFIED "status:" definitions
remarks: The country is really worldwide.
remarks: This address space is assigned at various other places in
remarks: the world and might therefore not be in the RIPE database.
mnt-by: RIPE-NCC-HM-MNT
mnt-lower: RIPE-NCC-HM-MNT
mnt-routes: RIPE-NCC-RPSL-MNT
source: RIPE # Filtered
Code: Select all
Shows all the command switches upon faulty command switch or help as command switch