Re[2]: 2 newb questions

From: Hexren (me_at_hexren.net)
Date: 03/22/05

  • Next message: Anon: "[Fwd: Re: PLEASE HELP PORT PROBLEMS]"
    Date: Tue, 22 Mar 2005 23:37:40 +0100
    To: Anon <goatse@Phreaker.net>
    
    

    > Hexren wrote:

    >>>Check out freshports.org for the information on ports. It contains
    >>>everything you want and gives pretty simple instructions.
    >>>
    >>>
    >>
    >>
    >>
    >>>I couldn't tell you about the logs but I am sure someone will.
    >>>
    >>>
    >>
    >>
    >>
    >>
    >>>On Tue, 22 Mar 2005 22:10:24 +0100, Anon <goatse@phreaker.net> wrote:
    >>>
    >>>
    >>>>Hi im running freebsd 5.3 and I have some questions:
    >>>>
    >>>>1. how do I log ssh login attempts to a file? say /var/log/auth I have
    >>>>read syslogd man page and I dont get it at all
    >>>>
    >>>>2. how do I get some kind of a system that "warns" me when a port is old
    >>>>(there is a new in cvs database), example: I want to get an email when a
    >>>>new version of the port "firefox" comes out
    >>>>
    >>>>Thank you in advance for the answers!
    >>>>
    >>>>
    >>
    >>---------------------------------------------
    >>
    >>My feeling is that the default install already logs everything that
    >>has to do with auth to /var/log/auth.log.
    >>This
    >>"auth.info;authpriv.info /var/log/auth.log"
    >>line in /etc/syslog conf defines to where that login information is
    >>sent.
    >>
    >>Hexren
    >>
    >>
    >>
    >>
    > dear hexren,

    > it seems as it only logs local connections
    > not su's (I wanna loog that too)
    > but only local logins as root!

    ---------------------------------------------

    I don't know if you can costumize the loging so much. In your position
    I would write a script to analyze the log files and pipe the syslog
    output through that script.
    "auth.info;authpriv.info | analyze.pl"
    I am not shure if the syntax is correct read man syslog.

    Hexren

    _______________________________________________
    freebsd-newbies@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"


  • Next message: Anon: "[Fwd: Re: PLEASE HELP PORT PROBLEMS]"

    Relevant Pages

    • RE: SP1 Install Errors
      ... I have received your logs files and emails. ... time difference between us, and as you know, SP1 log is a large file and we ... First attempt at executing script sp1_serv_uni.sql failed; ... Microsoft CSS Online Newsgroup Support ...
      (microsoft.public.windows.server.sbs)
    • RE: Domain Startup Scripting
      ... the following command always works and logs the appropriate info ... above which tells me it is accessing the script, ... could help me with troubleshooting a domain startup script routine. ... @echo off ...
      (microsoft.public.windows.server.scripting)
    • Re: Need some problemsolving-cgi/xml
      ... Did you check the server logs to see what ... Have you tested the script at ... > I get a CGI timeout error. ... How can I combine all these xml files/xsl to ...
      (comp.lang.perl.misc)
    • METAR REPORTS & PYTHON
      ... to live within a sensible distance from a METAR reporting site. ... The script basically logs onto NOAA FTP and pulls the data in raw format. ... saveout = sys.stdout ...
      (uk.sci.weather)
    • RE: audit trails for file access
      ... I actually use NTSyslog to send my logs off to a syslog server, ... On the syslog server side, I use syslog-ng to log to a MySQL database. ... In regards to logging to another machine, use the Eventlog to Syslog ...
      (Focus-Microsoft)