Ideas for Plugins

Discussion and questions about hub software
Locked
Toast

Ideas for Plugins

Post by Toast » 14 Feb 2008, 20:51

DNS Plugin

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
[*]DNS

Code: Select all

www.adcportal.com.	600	IN	A	85.229.0.167
[*]RevDNS

Code: Select all

127.0.0.1 resolves to
"localhost.localdomain"
Top Level Domain: "localhost.localdomain"
[*]IP

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
[*]Help

Code: Select all

Shows all the command switches upon faulty command switch or help as command switch
Perhaps use user command extensions when its done for ADC ?

Toast

Re: Ideas for Plugins

Post by Toast » 24 Feb 2008, 08:20

Add Netstat ?

command that should be issued

Code: Select all

netstat -s

Toast

Re: Ideas for Plugins

Post by Toast » 25 Feb 2008, 11:35

adding nslookup for DNS Checking might be a good idea

adrian_007
Senior Member
Posts: 126
Joined: 06 Jan 2008, 13:00

Re: Ideas for Plugins

Post by adrian_007 » 25 Feb 2008, 12:08

imo all this stuff should be done in client rather than hubsoft - useless + waste of resources on hub server.

Toast

Re: Ideas for Plugins

Post by Toast » 25 Feb 2008, 12:22

Well since nobody is doing im doing this plugin for dshub so it will be a hubside plugin in the hopes that more devs will take on the idea for future uses

Locked