DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 22nd May 2008
Johnny2Bad Johnny2Bad is offline
Port Guard
 
Join Date: May 2008
Posts: 21
Unhappy How do I get network logs?

Hi,
I'm trying to pin down this problem I have with natd. It appears to be reloading several times during startup. But because the startup flies by I don't get a chance to look at its log.

Where abouts does the network log reside?

Thanking you in advance,
Jonathan.
Reply With Quote
  #2   (View Single Post)  
Old 22nd May 2008
xiphias xiphias is offline
Port Guard
 
Join Date: May 2008
Posts: 31
Default

Most, if not all log files are under /var/log, however a quick scan of the natd man page and a look at /etc/defaults/rc.conf and I would say that natd doesn't do any logging by default.

The man page for natd explains how to enable logging, just add the command line args to natd_flags in /etc/rc.conf
Reply With Quote
  #3   (View Single Post)  
Old 22nd May 2008
stukov's Avatar
stukov stukov is offline
Real Name: Jean-Michel Philippon-Nadeau
Package Pilot
 
Join Date: May 2008
Location: Sherbrooke, Qc, Canada
Posts: 167
Default

Furthermore, you can decide where your logging facilities are logged with syslog: "/etc/syslog.conf".
__________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Sniffing jleal FreeBSD Security 5 25th January 2010 07:11 PM
Network bottleneck mapcorp OpenBSD General 2 29th June 2009 08:24 PM
tftp logs syrushcw FreeBSD General 1 25th June 2008 04:06 PM
What's up with O'Reilly Network? ocicat Off-Topic 3 22nd June 2008 12:05 PM
how extract specific test from Postfix logs with PHP or Perl marco64 Programming 3 21st June 2008 12:46 PM


All times are GMT. The time now is 10:20 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick