32f967a3c0
and speed. No new functionality added (yet) apart from a bugfix. MFC will occur in due time and probably in stages. BUGFIX: fix a problem in old code which prevented reallocation of the hash table for dynamic rules (there is a PR on this). OTHER CHANGES: minor changes to the internal struct for static and dynamic rules. Requires rebuild of ipfw binary. Add comments to show how data structures are linked together. (It probably makes no sense to keep the chain pointers separate from actual rule descriptors. They will be hopefully merged soon. keep a (sysctl-readable) counter for the number of static rules, to speed up IP_FW_GET operations initial support for a "grace time" for expired connections, so we can set timeouts for closing connections to much shorter times. merge zero_entry() and resetlog_entry(), they use basically the same code. clean up and reduce replication of code for removing rules, both for readability and code size. introduce a separate lifetime for dynamic UDP rules. fix a problem in old code which prevented reallocation of the hash table for dynamic rules (PR ...) restructure dynamic rule descriptors introduce some local variables to avoid multiple dereferencing of pointer chains (reduces code size and hopefully increases speed). |
||
---|---|---|
.. | ||
adjkerntz | ||
atacontrol | ||
atm | ||
badsect | ||
bsdlabel | ||
camcontrol | ||
ccdconfig | ||
clri | ||
comcontrol | ||
cxconfig | ||
dhclient | ||
disklabel | ||
dmesg | ||
dump | ||
dumpfs | ||
dumpon | ||
fdisk | ||
fdisk_pc98 | ||
ffsinfo | ||
fsck | ||
fsck_ffs | ||
fsck_ifs | ||
fsck_msdosfs | ||
fsdb | ||
fsirand | ||
growfs | ||
i386 | ||
ifconfig | ||
init | ||
ip6fw | ||
ipf | ||
ipfstat | ||
ipfw | ||
ipmon | ||
ipnat | ||
kget | ||
kldconfig | ||
kldload | ||
kldstat | ||
kldunload | ||
ldconfig | ||
md5 | ||
mdconfig | ||
mdmfs | ||
mknod | ||
mount | ||
mount_cd9660 | ||
mount_ext2fs | ||
mount_hpfs | ||
mount_ifs | ||
mount_msdosfs | ||
mount_nfs | ||
mount_ntfs | ||
mount_nullfs | ||
mount_nwfs | ||
mount_portalfs | ||
mount_std | ||
mount_umapfs | ||
mount_unionfs | ||
mountd | ||
natd | ||
newfs | ||
newfs_msdos | ||
nextboot | ||
nfsd | ||
nfsiod | ||
nologin | ||
nos-tun | ||
pc98 | ||
ping | ||
ping6 | ||
quotacheck | ||
rcorder | ||
reboot | ||
restore | ||
route | ||
routed | ||
rtsol | ||
savecore | ||
setkey | ||
shutdown | ||
slattach | ||
spppcontrol | ||
startslip | ||
swapon | ||
sysctl | ||
tunefs | ||
umount | ||
vinum | ||
Makefile | ||
Makefile.inc |