100ba1a617
Submitted by: danny ugen
101 lines
3.2 KiB
Plaintext
101 lines
3.2 KiB
Plaintext
#
|
|
# IPFIREWALL -- Sample Generic kernel suitable for building an IP firewall.
|
|
#
|
|
# $Id$
|
|
#
|
|
|
|
machine "i386"
|
|
cpu "I386_CPU"
|
|
cpu "I486_CPU"
|
|
cpu "I586_CPU"
|
|
ident GENERIC
|
|
maxusers 10
|
|
|
|
options INET #InterNETworking
|
|
options FFS #Berkeley Fast File System
|
|
options NFS #Network File system
|
|
options PROCFS #Process filesystem
|
|
options "COMPAT_43" #Compatible with BSD 4.3
|
|
options UCONSOLE #X Console support
|
|
options "FAT_CURSOR" #block cursor in syscons or pccons
|
|
options "SCSI_DELAY=15" #Be pessimistic about Joe SCSI device
|
|
options "NCONS=4" #4 virtual consoles
|
|
options BOUNCE_BUFFERS #include support for DMA bounce buffers
|
|
options USERCONFIG #Allow user configuration with -c
|
|
options GATEWAY #Pass packets
|
|
options IPFIREWALL #firewall code
|
|
options IPFIREWALL_VERBOSE #print information about dropped packets
|
|
options IPBROADCASTECHO=1 #send reply to broadcast pings
|
|
options IPMASKAGENT=1 #send reply to icmp mask requests
|
|
|
|
config kernel root on wd0 swap on wd0 and wd1 and sd0 and sd1 dumps on wd0
|
|
|
|
controller isa0
|
|
controller pci0
|
|
|
|
controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
|
|
disk fd0 at fdc0 drive 0
|
|
disk fd1 at fdc0 drive 1
|
|
#tape ft0 at fdc0 drive 2
|
|
|
|
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
|
|
disk wd0 at wdc0 drive 0
|
|
disk wd1 at wdc0 drive 1
|
|
|
|
controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr
|
|
disk wd2 at wdc1 drive 0
|
|
disk wd3 at wdc1 drive 1
|
|
|
|
controller ncr0
|
|
|
|
controller bt0 at isa? port "IO_BT0" bio irq ? vector btintr
|
|
controller ahb0 at isa? bio irq ? vector ahbintr
|
|
controller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
|
|
controller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
|
|
controller aic0 at isa? port 0x340 bio irq 11 vector aicintr
|
|
controller pas0 at isa? port 0x1f88 bio
|
|
controller sea0 at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr
|
|
controller scbus0
|
|
|
|
device sd0
|
|
device sd1
|
|
device sd2
|
|
device sd3
|
|
|
|
device st0
|
|
device st1
|
|
|
|
device cd0 #Only need one of these, the code dynamically grows
|
|
|
|
device wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr
|
|
device mcd0 at isa? port 0x300 bio irq 10 vector mcdintr
|
|
device mcd1 at isa? port 0x340 bio irq 11 vector mcdintr
|
|
|
|
device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
|
|
device npx0 at isa? port "IO_NPX" irq 13 vector npxintr
|
|
|
|
device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr
|
|
device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr
|
|
device sio2 at isa? port "IO_COM3" tty irq 5 vector siointr
|
|
device sio3 at isa? port "IO_COM4" tty irq 9 vector siointr
|
|
|
|
device lpt0 at isa? port? tty irq 7 vector lptintr
|
|
device lpt1 at isa? port? tty
|
|
device lpt2 at isa? port? tty
|
|
|
|
device ed0 at isa? port 0x280 net irq 5 iomem 0xd8000 vector edintr
|
|
device ed1 at isa? port 0x300 net irq 5 iomem 0xd8000 vector edintr
|
|
device ed2 at isa? port 0x300 net irq 10 iomem 0xcc000 vector edintr
|
|
device ie0 at isa? port 0x360 net irq 7 iomem 0xd0000 vector ieintr
|
|
device is0 at isa? port 0x280 net irq 10 drq 7 vector isintr
|
|
|
|
pseudo-device loop
|
|
pseudo-device ether
|
|
pseudo-device log
|
|
pseudo-device ppp 2
|
|
pseudo-device sl 2
|
|
pseudo-device pty 16
|
|
pseudo-device speaker
|
|
pseudo-device gzip # Exec gzipped a.out's
|
|
pseudo-device bpfilter 1
|