[MacPorts] #35477: denyhosts exits (2) in MacOS X 10.8 (Mountain Lion)

MacPorts noreply at macports.org
Wed Oct 3 11:12:32 PDT 2012


#35477: denyhosts exits (2) in MacOS X 10.8 (Mountain Lion)
-------------------------+--------------------------
  Reporter:  ktekinay@…  |      Owner:  snc@…
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.1.2
Resolution:  invalid     |   Keywords:  mountainlion
      Port:  denyhosts   |
-------------------------+--------------------------

Comment (by ktekinay@…):

 I found the problem. DenyHosts previously worked by scanning the
 /var/log/secure.log, but, in Mountain Lion, ''there is no more
 secure.log''. It's been rolled into the general logging utility asl so
 entries will only appear in system.log. To fix it, I had to add/modify
 these entries in the config:

 SECURE_LOG=/private/var/log/system.log
 USERDEF_FAILED_ENTRY_REGEX=.*?sshd\[\d+\]: error: PAM: authentication
 error for (?P<user>[^ ]+) from (?P<host>\d{1,3}\.\d{1,3}\.\d{1,3}.\d{1,3})
 USERDEF_FAILED_ENTRY_REGEX=.*?sshd\[\d+\]: error: PAM: unknown user for
 illegal user (?P<user>[^ ]+) from
 (?P<host>\d{1,3}\.\d{1,3}\.\d{1,3}.\d{1,3})

 I have not tested these yet to make sure it works as expected, but at
 least it doesn't exit on startup anymore.

-- 
Ticket URL: <https://trac.macports.org/ticket/35477#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list