FreeBSD ipfw kernel config


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. machine i386
  2. cpu I686_CPU
  3. ident MYKERNEL
  4.  
  5. options SCHED_4BSD # 4BSD scheduler
  6. options PREEMPTION # Enable kernel thread preemption
  7. options INET # InterNETworking
  8. options FFS # Berkeley Fast Filesystem
  9. options SOFTUPDATES # Enable FFS soft updates support
  10. options PROCFS # Process filesystem (requires PSEUDOFS)
  11. options PSEUDOFS # Pseudo-filesystem framework
  12. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
  13. options COMPAT_FREEBSD4 # Compatible with FreeBSD4
  14. options COMPAT_FREEBSD5 # Compatible with FreeBSD5
  15. options KTRACE # ktrace(1) support
  16. options SYSVSHM # SYSV-style shared memory
  17. options SYSVMSG # SYSV-style message queues
  18. options SYSVSEM # SYSV-style semaphores
  19. options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
  20. options KBD_INSTALL_CDEV # install a CDEV entry in /dev
  21. options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
  22. # output. Adds ~128k to driver.
  23. options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
  24. # output. Adds ~215k to driver.
  25. options ADAPTIVE_GIANT # Giant mutex is adaptive.
  26.  
  27. device apic # I/O APIC
  28. device eisa
  29. device pci
  30. device fdc
  31. device ata
  32. device atadisk # ATA disk drives
  33.  
  34. options ATA_STATIC_ID # Static device numbering
  35.  
  36. device atkbdc # AT keyboard controller
  37. device atkbd # AT keyboard
  38. device psm # PS/2 mouse
  39. device vga # VGA video card driver
  40. device splash # Splash screen and screen saver support
  41. device sc
  42. device sio # 8250, 16[45]50 based serial ports
  43. device miibus # MII bus support
  44. device dc # DEC/Intel 21143 and various workalikes
  45. device tl # Texas Instruments ThunderLAN
  46. device loop # Network loopback
  47. device random # Entropy device
  48. device ether # Ethernet support
  49. device pty # Pseudo-ttys (telnet etc)
  50. device bpf # Berkeley packet filter
  51. device tun # Packet tunnel.
  52.  
  53. options IPFIREWALL
  54. options IPFIREWALL_VERBOSE
  55. options IPFIREWALL_VERBOSE_LIMIT=5
  56. options IPFIREWALL_DEFAULT_TO_ACCEPT
  57. options IPDIVERT
  58. options DUMMYNET
  59. options HZ=1000

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.