
Код: Выделить всё
[vic@himik ~]$ ps -aux
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
root 11 47.3 0.0 0 8 ?? WL Wed05PM 4:15.30 [swi1: net]
root 20 40.7 0.0 0 8 ?? WL Wed05PM 7:48.52 [irq10: rl0]
root 21 15.1 0.0 0 8 ?? WL Wed05PM 1:12.16 [irq9: rl1]
root 10 0.9 0.0 0 8 ?? RL Wed05PM 2721:13.28 [idle]
root 14 0.7 0.0 0 8 ?? DL Wed05PM 2:47.10 [yarrow]
vic 15156 0.1 1.4 3220 836 p0 R+ 5:09PM 0:00.03 ps -aux
root 0 0.0 0.0 0 0 ?? WLs Wed05PM 0:00.02 [swapper]
root 1 0.0 0.2 1888 92 ?? ILs Wed05PM 0:00.57 /sbin/init --
мое ядро:
Код: Выделить всё
cpu I586_CPU
ident MYKERNEL
options SCHED_ULE
options PREEMPTION # Enable kernel thread preemption
options INET # InterNETworking
device pf
device pflog
device pfsync
options NETGRAPH
options NETGRAPH_ETHER
options NETGRAPH_SOCKET
options NETGRAPH_TEE
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options PROCFS # Process filesystem (requires PSEUDOFS)
options PSEUDOFS # Pseudo-filesystem framework
options COMPAT_43TTY # BSD 4.3 TTY compat [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options COMPAT_FREEBSD6 # Compatible with FreeBSD6
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options ADAPTIVE_GIANT # Giant mutex is adaptive.
options STOP_NMI # Stop CPUS using NMI instead of IPI
device pci
# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
device atapicd # ATAPI CDROM drives
options ATA_STATIC_ID # Static device numbering
device atkbdc # AT keyboard controller
device atkbd # AT keyboard
device vga # VGA video card driver
device sc
# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device miibus # MII bus support
device rl # RealTek 8129/8139
# Pseudo devices.
device loop # Network loopback
device random # Entropy device
device ether # Ethernet support
device tun # Packet tunnel.
device pty # Pseudo-ttys (telnet etc)
device bpf # Berkeley packet filter
мой pf.conf:
Код: Выделить всё
ext_if="rl0" # vneshniy interfeys
int_if="rl1" # vnutren
int_net="{10.39.110.1/32}" #vnut set VPN
# acces nat
nat on $ext_if from $int_net to any -> ($ext_if)
# acces in & out connect
pass in all
pass out all
Код: Выделить всё
defaultrouter="192.168.10.3"
gateway_enable="YES"
hostname="himik.homenet.lan"
ifconfig_rl0="inet 192.168.3.15 netmask 255.0.0.0"
ifconfig_rl1="inet 10.39.109.1 netmask 255.255.255.0"
keymap="ua.koi8-u.shift.alt"
sshd_enable="YES"
pf_enable="YES"
pf_rules="/etc/pf.conf"
pf_flags=""
pflog_enable="YES"
pflog_logfile="/var/log/pflog"
pflog_flags=""
mpd_enable="YES"
natd_enable="YES"
natd_interface="rl0"