Jason L Tibbitts III <tibbs@...> writes:

> 
> Has anyone done any work to have denyhosts access the journal instead of
> parsing syslog output?  Fedora these days doesn't include a syslog
> daemon by default which is causing issues for the denyhosts package
> maintainer (which happens to be me).
> 
> It doesn't look too terribly bad to implement, but I wanted to see if
> anyone's put any effort towards coding it up before I allocate the time
> to figure it all out.
> 
>  - J<
> 
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today. 
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> 

Any progress on this? I've got half a mind to start digging into this
myself. Denyhosts currently seems to be not working at all on my
internet-facing fedora 20 box, and that sucks...

This is all based on the most current fedora 20 denyhosts rpm. I'd file a
bugzilla, but it seems the problem goes deeper than that.

First, I had to manually create and chmod 0600 /var/log/secure for the
denyhosts service to even be able to run. But given the fact that sshd
doesn't even seem to be logging to that file (using systemd/journalctl
subsystem instead), it's all going nowhere fast. I'm seeing no automated
mods to /etc/hosts.deny or denials in /var/log/denyhosts.

If you want, I can keep you posted if I have time to try fixing this in the
sources. Is there already a python api for interfacing with the systemd
logging facility to help expedite these changes? I would imagine so, but I
just don't know at this point. If nothing else, there's always the output of
`journalctl -al "_SYSTEMD_UNIT=sshd.service"`, or some such filtered data
source, which could be sub-shelled and piped in for a data source...

- gabriel


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Denyhosts-user mailing list
Denyhosts-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/denyhosts-user

Reply via email to