From: Kevin Z. <kev...@gm...> - 2018-11-02 16:36:20
|
On 11/2/18 3:59 AM, Christopher Engelhard wrote: > Hi, > currently, SSHGuard repots attacks as 'Attack from service <number> from > ...'. Though over time I have learned the numbers of the various > services, it would be much more helpful to the user if this were changed > to something like 'Attack from service <short service name> from ...'. > > AFAICT, SSHGuard mostly uses SERVICE_<NAME> constants internally anyway, > and those are assigned a number in attack.h. > > Is there a technical reason for mapping SERVICE_<NAME> to numbers > instead of a name? I'd be happy to attempt a patch to change this, but > of course only if it actually makes sense to do so. No technical reason, and it's a change we've discussed and wanted but just haven't gotten around to making. Go ahead if you'd like! -- Kevin Zheng kev...@gm... | ke...@be... | PGP: 0xC22E1090 |