From owner-freebsd-questions Tue Oct 29 7: 4:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1818E37B401 for ; Tue, 29 Oct 2002 07:04:11 -0800 (PST) Received: from bmyster.com (dsl-006.sacoriver.net [65.162.190.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3FDC43E3B for ; Tue, 29 Oct 2002 07:04:09 -0800 (PST) (envelope-from misterb@bmyster.com) Received: from bmyster.com (www@localhost.bmyster.com [127.0.0.1]) by bmyster.com (8.12.2/8.12.2) with SMTP id g9TFKfie020445; Tue, 29 Oct 2002 10:20:42 -0500 (EST) From: Brent Bailey Received: from 207.5.142.198 (SquirrelMail authenticated user misterb) by bmyster.com with HTTP; Tue, 29 Oct 2002 10:20:42 -0500 (EST) Message-ID: <27466.207.5.142.198.1035904842.squirrel@bmyster.com> Date: Tue, 29 Oct 2002 10:20:42 -0500 (EST) Subject: Re: getting my router to log to my Freebsd box help ? To: In-Reply-To: <001801c27ea9$4bcbdea0$652ec90a@sqalabdom> References: <27046.207.5.142.198.1035379127.squirrel@bmyster.com> <20021023134530.GH9627@freepuppy.bellavista.cz> <1044.207.5.219.94.1035383312.squirrel@bmyster.com> <48376.207.5.142.198.1035822043.squirrel@bmyster.com> <001801c27ea9$4bcbdea0$652ec90a@sqalabdom> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Cc: , X-Mailer: SquirrelMail (version 1.2.6) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Im able to get one router to log to my Freebsd box..however i have 6 or routers that i want to log to Freebsd as well...any thoughts ??i have the followingin my /etc/syslog.conf local7.* /usr/log/cisco/roch-ubr-syslog.log and identical lines pointing to differrent files for each router . and i have this in my /etc/rc.conf syslogd_flags="-4 -a xx.xx.xx.xx/24:55741 -a xx.xx.xx.xx/24:53936" however i cant get 2 or more routers to log to syslog only one will log. is ther a differrent way to getting syslogd to listen to multiple UDP packets from differrent routers.. I know it can be done ..but im unsure on how ?? any and all help IS VERY appreciated thanx Brent > Hey Brent, > > Here's what I have for part of my syslog.conf > local1.warning > /var/log/sqa/TonyWarning local1.crit > /var/log/sqa/TonyCritical > > I am logging to local1 crit and warning messages to files TonyCritical > and TonyWarning level messages respectively. > The one thing is you must have those files and path already there to > write to > > also go to /etc/defaults/rc.conf and edit syslogd there. > I have in mine: > > ### Network daemon (miscellaneous) ### > syslogd_enable="YES" # Run syslog daemon (or NO). > syslogd_program="/usr/sbin/syslogd" # path to syslogd, if you want a > different one. > # syslogd_flags="s" # Flags to syslogd (if enabled). > > You should also be able to place this in your regular /etc/rc.conf. > > Let me know how you make out. > I can research the Cisco side too if you want but I have confidence you > got that right. > > -Dom > > > > > > > ----- Original Message ----- > From: "Brent Bailey" > To: > Cc: ; > Sent: Monday, October 28, 2002 8:20 AM > Subject: Re: getting my router to log to my Freebsd box help ? > > >> That didnt seem to work .. I was reading on cisco's site that i might >> have to edit /etc/syslog.conf with something like: >> "local7.* /usr/log/cisco/ubr-syslog.log" >> >> so ive tried both senarios...and still nothing .. is it one or the >> other or both things that need to be added or changed ??any help is >> VERY > appreciated >> >> Brent Bailey CCNA >> >> >> > so would it be something like >> > >> > syslogd -a 172.16.x.x/24:UDP port number ?? >> > >> > if this is so ... >> > can i do this multiple times ??? >> > I have multiple routers that i want to log to this FreebSD machine >> > so would i do the command above on multiple lines ?? >> > >> > or like : >> > syslogd -a 172.16.x.x/24:xxx 172.16.x.x/24:xxx ??? >> > >> > thanx >> > Brent >> > >> > >> >> # misterb@bmyster.com / 2002-10-23 09:18:47 -0400: >> >>> Im trying to get my Cisco router to log to my FBSD machine..Im >> >>> using Freebsd 4.5 >> >>> I have no issues with the router ...however im having issues >> >>> trying to get syslog OR syslogd to accept UDP log traffic from my >> >>> router ...and have it write to a flat text file. >> >>> im under the assumtion that you use: >> >>> syslogd -a >> >> >> >> the man page says that the format is "ipaddr/masklen[:service]". >> >> that doesn't look like the "/masklen" part is optional. >> >> >> >> -- >> >> If you cc me or take the list(s) out completely I'll most likely >> >> ignore your message. >> >> >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-questions" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message