[Gambas-user] ICMP

John Dovey dovey.john at gmail.com
Tue May 25 19:10:46 CEST 2021


Hi Bruce. We have a highly distributed network of volunteers within FidoNet
who advertise their nodes in a nodelist that’s updated weekly. Included for
most of those hosts is their host address and a number of flags which
indicate which services they offer. These include Telnet, SSH, rlogin,
smtp, BinkP/D, Finger, NNTP etc.

What i would like to do is iterate through the list checking reachability
(ping is ok for that) but also the availability of the advertised services.
Simply “are you responding on that port, and if so what is the response”. I
hat I’m considering doing is just using a scripted telnet session (doable
within Gambas I think) and capturing the output, then reading that to see
what the status is.

I was looking at the raw icmp thinking it would give a good initial “here I
am” type status.
I’ve since found echoping, snorkeling etc so I might just go with one of
those which also offer RRDP reporting and graphing, which was always a nice
to have.

One of the issues is that there are many on the network who are not
advertising the services they actually offer, so having them auto tested
and discovered would be a bonus.
I’m not interested in the Internet traffic per se between the nodes, but
what is interesting is how much mail they share between each other. That
I’ll determine, along with the links between systems, by examining actual
messages. One of the features of the messages we exchange is that each
contains “kludge lines” which record the path the message has take as well
as a “seen-by” line. I’ll be looking at building a links database from that.

If you’re interested in the network topology, here’s a pretty map:
http://2613.ru/fidograph/
You might want to limit by zone
http://2613.ru/fidograph/?z=2 etc (zones are 1-4)

JD

On Tue, May 25, 2021 at 4:03 AM Bruce <adamnt42 at gmail.com> wrote:

> On 25/5/21 3:10 pm, John Dovey wrote:
> > This is probably a long shot, but has anyone done anything to create an
> > icmp network check of remote hosts and can share some code?
> >
> > I have seen
> > https://sologambas.blogspot.com/2012/08/haciendo-ping-en-gambas.html (
> > http://gambaswiki.org/wiki/app/ping) and it's fantastic as a start, but
> > it's simply a shell to ping which is Really not what I wanted.  I was
> > hoping for something native to Gambas using the gb.net component or
> > something...
> >
> > Here's hoping
> > John
> >
> >
> >
> > ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> >
>
> John,
>
> Bad news I'm afraid. To address your 3 (and I must say well formed)
> questions...
>
> 1) "has anyone done anything to create anicmp network check of remote
> hosts"? Yes, several shiploads of attempts.
> b) "can share some code"? Unfortunately (for you but not for me) no. I
> sold the company and therefore the intellectual property.
> c) "hoping for something native to Gambas..." AFAIK No.
>
> To be serious, if I recall correctly, we had to use the Gambas
> "externals" features and (highly IIRC) the nmap api.
>
> But what is your intent? Are you trying to determine connectivity,
> connectivity features (naughty :-) ), connectivity "status" or something
> else?
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-- 
Sent from Gmail Mobile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210525/8c86232a/attachment.htm>


More information about the User mailing list