Bug 104080 - Insuficient information about security/bruteblock
Summary: Insuficient information about security/bruteblock
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-07 01:10 UTC by goffredo
Modified: 2006-10-07 04:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description goffredo 2006-10-07 01:10:22 UTC
The docs says:

"
   Edit /etc/syslog.conf and add the following entry:

   auth.info;authpriv.info      |exec /usr/local/sbin/bruteblock -f /usr/local/etc/bruteblock-ssh.conf

   then restart syslogd (/etc/rc.d/syslogd restart).
"

But after "!something" it does not work. It is better say that in the instructios.

A friend had this problem, and wasn't easy to find the problem.

Credits:
    João Rocha Braga Filho, goffredo@gmail.com, who discovered what happened
    Celso Vieira Viana, celso.vianna@gmail.com, who had the problem.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-10-07 01:23:08 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 Dmitry Marakasov 2006-10-07 01:54:08 UTC
* Jo=E3o Rocha Braga Filho (goffredo@gmail.com) wrote:
> But after "!something" it does not work. It is better say that in the i=
nstructios.
Agreed, patch follows. Thanks for the report.

> Credits:
>     Jo=E3o Rocha Braga Filho, goffredo@gmail.com, who discovered what h=
appened
>     Celso Vieira Viana, celso.vianna@gmail.com, who had the problem.

--- bruteblock.patch begins here ---
diff -ruN bruteblock.orig/files/pkg-message.in bruteblock/files/pkg-messa=
ge.in
--- bruteblock.orig/files/pkg-message.in	Sat Oct  7 04:49:14 2006
+++ bruteblock/files/pkg-message.in	Sat Oct  7 04:49:41 2006
@@ -3,8 +3,9 @@
   Configuration of the bruteblock is done via configuration files
   located at %%PREFIX%%/etc/bruteblock/
=20
-  To run the script, add a line in /etc/syslog.conf:
+  To run the script, append following lines to /etc/syslog.conf:
=20
+!*
 auth.info;authpriv.info                         |exec %%PREFIX%%/sbin/br=
uteblock -f %%PREFIX%%/etc/bruteblock/ssh.conf
=20
   and restart syslogd.
--- bruteblock.patch ends here ---

--=20
Best regards,
 Dmitry                          mailto:amdmi3@mail.ru
Comment 3 Shaun Amott freebsd_committer freebsd_triage 2006-10-07 04:36:12 UTC
State Changed
From-To: feedback->closed

Committed, thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2006-10-07 04:45:03 UTC
shaun       2006-10-07 03:44:54 UTC

  FreeBSD ports repository

  Modified files:
    security/bruteblock/files pkg-message.in 
  Log:
  Update pkg-message[.in] to clarify syslog configuration details.
  
  PR:             ports/104080
  Submitted by:   João Rocha Braga Filho <goffredo@gmail.com>
  Approved by:    Dmitry Marakasov <amdmi3@mail.ru> (maintainer)
  
  Revision  Changes    Path
  1.2       +2 -1      ports/security/bruteblock/files/pkg-message.in
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"