Commit Graph

9531 Commits

Author SHA1 Message Date
rmind 3b6fdb92e5 Move npf.conf(5-8) into the correct section, hence npf.conf(5). 2010-08-24 23:55:04 +00:00
cegger 188054e855 Backport improvements from FreeBSD.
Introduce two new options:
-f : force root node
-i : set priority budget where supported
developped, tested and reviewed by kiyohara@ and me.
2010-08-24 08:41:24 +00:00
jnemeth 08e3aa9c11 fix build failure -- correct printf sizes 2010-08-23 06:01:04 +00:00
rmind 2e6f2099c6 Import NPF - a packet filter. Some features:
- Designed to be fully MP-safe and highly efficient.

- Tables/IP sets (hash or red-black tree) for high performance lookups.

- Stateful filtering and Network Address Port Translation (NAPT).
  Framework for application level gateways (ALGs).

- Packet inspection engine called n-code processor - inspired by BPF -
  supporting generic RISC-like and specific CISC-like instructions for
  common patterns (e.g. IPv4 address matching).  See npf_ncode(9) manual.

- Convenient userland utility npfctl(8) with npf.conf(8).

NOTE: This is not yet a fully capable alternative to PF or IPFilter.
Further work (support for binat/rdr, return-rst/return-icmp, common ALGs,
state saving/restoring, logging, etc) is in progress.

Thanks a lot to Matt Thomas for various useful comments and code review.
Aye by: board@
2010-08-22 18:56:18 +00:00
wiz 3d5790d7f6 Sort sections. 2010-08-18 10:00:49 +00:00
christos d8bfbcfa53 add syslog logging. 2010-08-18 08:06:39 +00:00
wiz 70f1aeef21 Revert unimprovement from previous. 2010-08-16 06:56:48 +00:00
cegger 9442479bbf backout accidentally committed changes 2010-08-15 22:05:14 +00:00
cegger 5a10adf510 spelling fix 2010-08-15 22:01:57 +00:00
cegger f15046fcff Feed improvements from FreeBSD 2010-08-15 21:52:30 +00:00
pgoyette 1009226e90 Fix a typo 2010-08-14 16:32:26 +00:00
cegger b3454b7a0b fwcontrol -> fwctl 2010-08-14 16:23:49 +00:00
joerg 045886139e Include the type of non-complex pins in the label. 2010-08-10 13:52:13 +00:00
pooka 0a80f65755 support CTLTYPE_BOOL 2010-08-06 15:26:16 +00:00
pooka c7528563f1 If compiled with RUMP_ACTION, access rump kernel instead of host
kernel.  This is an easy way to browse & modify the sysctl tree
offered by a rump kernel instance.
2010-08-06 15:04:13 +00:00
christos b70c7f2153 unhook old wpa code. 2010-08-04 17:13:33 +00:00
mlelstv 1898a7c316 Print the correct value for critmin of a fan sensor. 2010-08-01 15:39:52 +00:00
cegger f108f421fc remove useless brackets. From kiyohara@ 2010-07-31 07:05:32 +00:00
pooka b36b2c0f6d Remove unused LDADD lines. They need work to work, and if anyone
ever does that work, they surely can come up with the LDADD line as
well.
2010-07-20 14:42:03 +00:00
mrg 6479f6e5b4 ldap is configured to depend upon MKCRYPTO no, so force MKLAP=no if
MKCRYPTO=no.
don't build pkg_install, libcrypto tests or rump_smbfs if MKCRYPTO=no.
mark librumpcrypto, rump_smb, pkg_*

fix set lists as appropriate.
2010-07-11 06:16:54 +00:00
reed a66933c999 Add brief explanations of unit abbreviations.
Add units(1) to see also.
2010-07-09 22:24:13 +00:00
jruoho 42a8adcdaf Xref ldd(1) as per PR bin/30043 from Jochen Keil. 2010-07-06 23:05:56 +00:00
pooka afdc25dbdf When using the top secret PUFFS_COMFD model, write out size of the
puffs kernel args before the contents.  This allows parties which
have no clue about the contents to proxy the protocol easily.
2010-07-06 13:27:16 +00:00
kefren 14ce3efb4a Fix incomplete extensions sanity checks 2010-07-02 12:13:11 +00:00
pooka bdc0f19ba4 link putter now that it's a separate component 2010-06-30 16:22:49 +00:00
joerg 4d4c59441b Run services_mkdb if only the old hash exists 2010-06-24 17:12:06 +00:00
matt 026f5f1d75 Make ofctl for ofppc machines. 2010-06-20 21:30:26 +00:00
tnozaki 2a7af30c36 1. split runetype_local.h -> runetype_file.h
and remove renameing _Rune* -> _NBRune* namespace protection.

   FreeBSD traditionaly exposes struct _Rune* in runetype.h
   which included by ctype.h. it may cause conflicting type error
   in our cross build process, former we use renaming namespace
   to avoid this problem, now i reworked more resonable way.

2. merge rune_local.h to runetype_local.h, and remove it.
3. split bsdctype.h -> bsdctype_{file,local}.h
2010-06-13 04:14:56 +00:00
tnozaki 4935b908f2 s/_CTYPE_NUM_CHARS/_CTYPE_CACHE_SIZE/ 2010-06-12 18:02:31 +00:00
dholland 3e9fa0fcf5 sprinkle some const 2010-06-10 06:28:33 +00:00
dholland 109bd3a98e ANSIfy function declarations 2010-06-10 06:17:21 +00:00
dholland 0857145886 de-__P() 2010-06-10 06:09:10 +00:00
dholland 6ea002c7af Allow -f -, as per PR 10898. 2010-06-10 06:03:20 +00:00
riz 634f514ee6 Allow syslogd to compile when MKCRYPTO=no. No promises as to whether
it works or not, as this has been broken since late 2008, when the
"encrypted connections" support was added to syslogd.
2010-06-09 21:55:42 +00:00
dholland c91651efd0 Requires sys/param.h. 2010-05-30 04:32:09 +00:00
dholland 27bc337fe3 with luck this is the last one 2010-05-30 00:52:06 +00:00
dholland fcd908b8d5 no braaaains for you either! 2010-05-30 00:50:25 +00:00
tnozaki 64a7d4fa9a 1. hide _CTYPE_PRIVATE section in ctype.h, move them to private header ctype_local.h.
2. do not use _CTYPE_NUM_CHARS macro to read data from LC_CTYPE(old BSDCTYPE style) database.
   because 1<<CHAR_BIT is MD, so i added MI macro _CTYPE_CACHE_SIZE(1<<8).
3. remove _NB_CACHED_RUNE macro, use _CTYPE_CACHE_SIZE instead.
2010-05-22 06:38:15 +00:00
christos 798c8ea20e PR/19069: SUENAGA Hiroki: Original fix was defective because on big endian
the expression is not truncated to 16 bits, thus sending to port 65536 makes
the == 0 test fail and the packet ends up being sent.
2010-05-13 18:19:18 +00:00
tnozaki 50eb6aadde cast isblank(3)'s argument to unsigned char. 2010-05-13 17:52:11 +00:00
wiz 6f43bcda13 Remove trailing whitespace and dot in Nd. 2010-05-09 14:02:10 +00:00
degroote c4b8685918 Add missing license 2010-05-09 12:45:19 +00:00
wiz 95b209a8cf Sort options, standardize SYNOPSIS, slight rewordings. Use more markup. 2010-05-08 11:29:40 +00:00
degroote ca38e323d1 Add support for pfs(8)
pfs(8) is a tool similar to ipfs(8) but for pf(4). It allows the admin to
dump internal configuration of pf, and restore at a latter point, after a
maintenance reboot for example, in a transparent way for user.

This work has been done mostly during my GSoC 2009

No objections on tech-net@
2010-05-07 17:41:57 +00:00
christos 8d5d5ded4d unhook old cron, hook new one. 2010-05-07 17:35:31 +00:00
wiz e35956774d Sort option descriptions. 2010-05-05 22:11:19 +00:00
wiz 430d51d315 Accept -v in getopt(); sort flag cases. 2010-05-05 22:10:50 +00:00
joerg aa73978631 Add verbose flag -v and make -q the default behavior. 2010-05-05 13:19:51 +00:00
pooka cf3a71d4a7 Add rump_au-naturel, which instead of mounting a file system inside
the rump kernel just attaches to / in said rump kernel instance.
This is mostly useful in case wanting to see what nodes components
create (see Makefile).

not built without manual intervention
2010-04-29 22:42:48 +00:00
plunky 366a13e705 additionally query the "PnP Information" service record to discover
any USB Forum vendor-id and product-id values and store them in the
property list if found.
2010-04-28 06:18:07 +00:00