DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Security

FreeBSD Security Securing FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 13th March 2011
unixjingleman unixjingleman is offline
Fdisk Soldier
 
Join Date: Jan 2011
Posts: 70
Thanked 0 Times in 0 Posts
Default IPFW question

Hi
Am i right in thinking that i don't need to do a custom kernel compile to enable
IPFIREWALL_VERBOSE ?
Sorry to post such a simple question. I couldn't determine form the handbook whether this option is enabled in the GENERIC kernel
As far as i understand it you have to put:
net.inet.ip.fw.verbose=1
net.inet.ip.fw.verbose_limit=5
in /etc/sysctl.conf
Is that correct?
Thank you very much for any replies
Reply With Quote
  #2   (View Single Post)  
Old 13th March 2011
unixjingleman unixjingleman is offline
Fdisk Soldier
 
Join Date: Jan 2011
Posts: 70
Thanked 0 Times in 0 Posts
Default

Oh sorry about this. Sorry if i've wasted your time. I've just seen in the handbook that i was right. You just have to set the values in /etc/sysctl.conf. Sorry
Reply With Quote
  #3   (View Single Post)  
Old 13th March 2011
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,068
Thanked 198 Times in 156 Posts
Default

According to this handbook page:
http://www.freebsd.org/doc/en_US.ISO...alls-ipfw.html

Quote:
The loadable module does have logging ability compiled in. To enable logging and set the verbose logging limit, there is a knob that can be set in /etc/sysctl.conf. By adding these statements, logging will be enabled on future reboots:
net.inet.ip.fw.verbose=1
net.inet.ip.fw.verbose_limit=5
As I read this, IPFIREWALL_VERBOSE and IPFIREWALL_VERBOSE_LIMIT are the same as the sysctl knobs.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
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
how to configure ipfw with 4 modems??? m4st3rcr4zy FreeBSD General 0 13th February 2009 06:26 AM
looking for good ipfw resources dk_netsvil General software and network 0 15th August 2008 04:05 PM
ipfw rules not behaving Weaseal FreeBSD Security 5 13th August 2008 01:22 PM
ipfw question Johnny2Bad FreeBSD General 2 21st May 2008 12:16 AM
ipfw destination nat problem mitak FreeBSD General 2 15th May 2008 02:36 PM


All times are GMT. The time now is 12:08 PM.


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