Is fail2ban in the latest IOT distribution?

A friend is having trouble with remote logins to a BBG, the symptoms
look a *bit* like what fail2ban would do after failures. Is fail2ban
in the standard IOT distribution now?

Nope, not by default.

Regards,

OK, thanks Robert, we'll try looking elsewhere. It's a strange
problem where the first remote login is fine but then ssh refuses to
work. Local across the LAN ssh always works!

What does /var/log/auth.log say on subsequent login attempts? That does sound odd.

You could also run tcpdump to at least get an idea if it’s being refused outright vs more of a ssh protocol problem.

[-- text/plain, encoding quoted-printable, charset: UTF-8, 52 lines --]

What does /var/log/auth.log say on subsequent login attempts? That does
sound odd.

That's our next port of call. I've only just set up an ssh account on
a virtual server so that he (my friend) can connect out and then back
in when he's actually on site with the BBG in question.

You could also run tcpdump to at least get an idea if it’s being refused
outright vs more of a ssh protocol problem.

OK, thanks.

It is a very odd problem, I have loads of ssh logins on BBBs,
Raspberry Pis and other systems many of which are remote behind NAT
routers and I've never seen an issue like this. What happens is that
local (across the LAN) logins always work and the *first* remote
login (through the NAT router's port mapping) works but subsequent
remote logins fail.

As I said we've just set things up so we can do 'remote' logins from
the site where the system is, that should let us diagnose what's
happening.