Commit Graph

9619 Commits

Author SHA1 Message Date
pgoyette eab26c47c1 Rump-ify powerd. 2010-12-19 22:52:08 +00:00
jruoho 2f16bead08 Fix theoretical buffer overflow by using MAXPATHLEN for realpath(3). 2010-12-19 16:25:16 +00:00
joerg 879c335754 Don't assign CFLAGS. Use default WARNS from usr.sbin/Makefile.inc. 2010-12-18 04:25:37 +00:00
rmind 628e094cdc NPF checkpoint:
- Add support for session saving/restoring.
- Add packet logging support (can tcpdump a pseudo-interface).
- Support reload without flushing of sessions; rework some locking.
- Revisit session mangement, replace linking with npf_sentry_t entries.
- Add some counters for statistics, using percpu(9).
- Add IP_DF flag cleansing.
- Fix various bugs; misc clean-up.
2010-12-18 01:07:25 +00:00
njoly 29263bd796 Add _tcpdump uid/gid checks. 2010-12-17 22:56:22 +00:00
jruoho 27cfff3b3e Make tcpdump(8) to drop root privileges and chroot(2) by default. 2010-12-17 09:54:27 +00:00
wiz 3d3c5d42cb Observe the following spelling:
- wide character (noun)
- wide-character (adjective)

Inspired by jmc@OpenBSD.
2010-12-16 17:42:25 +00:00
pgoyette 120c01c6d1 When skipping output for a temperature of absolute zero, don't forget to
skip past the display columns that the value would otherwise occupy.

Fixes display issue when swsensor(4) is used and it has a value of 0K,
as reported by njoly@
2010-12-16 14:37:23 +00:00
wiz 8d07e89e04 Merge single-letter options in SYNOPSIS. 2010-12-15 18:11:01 +00:00
pgoyette 5702902fe1 Add an option to not actually run the power management scripts, and
when in debug mode send all error messages to stderr rather than to
syslog(8).
2010-12-15 17:12:40 +00:00
cegger 473a16d6eb beautify printing of SVM features across multiple lines 2010-12-15 17:09:07 +00:00
pooka a7c3e616ee RLIMIT_NOFILE stabilized in NetBSD 17 years ago, so it's safe now
to remove the #ifdef's from around code which uses it.
2010-12-15 15:36:15 +00:00
pooka d84441777f Don't need prog_ioctl here, it's a leftover of the previous approach.
pointed out by Paul Goyette
2010-12-15 15:07:54 +00:00
pooka 7d769f0a0f Nuke conditionally compiled MULOG stuff. Itojun wanted to do it
already 8 years ago when he fixed the compilation last time, and
again it hasn't been buildable in years.
2010-12-15 13:13:28 +00:00
pooka 3b00d9689f Use RUMPPRG. I think it's safe to say there's not going to be a
new upstream version of traceroute to import.

AS# lookup is still done using host networking.  Rationale: the
relevance to where that data comes from with respect to network
tracing is zero (be it socket, local file, db, whatever).
2010-12-15 00:09:41 +00:00
christos e64c554fe8 fix uninitialized variable by elimination. 2010-12-14 21:32:43 +00:00
pooka 57ec646236 Use a consistent approach for rump kernel calls made by libs.
Should investigate a dynamic approach in the future.
2010-12-14 08:04:14 +00:00
christos 89d498aa24 moved to external 2010-12-14 03:07:07 +00:00
joerg 674a655551 Prefix ctype bitmask macros with _CTYPE 2010-12-14 02:28:57 +00:00
pooka 3d4766ce57 RUMP_ACTION -> RUMPPRG 2010-12-13 18:00:38 +00:00
christos fc494df71d - no casts for malloc and free
- malloc(type) -> malloc(*value)
- malloc+strcpy -> strdup
2010-12-13 16:52:53 +00:00
cegger 10cb97e079 PR bin/44230: Missing close. 2010-12-13 11:51:23 +00:00
christos 976857bd1b fix build. 2010-12-13 01:44:25 +00:00
christos 38a17f8f2b fix possibly uninitialized variable 2010-12-13 01:25:19 +00:00
christos dc449ddee1 use new tcpdump. 2010-12-12 18:50:31 +00:00
christos 14db3bb9d8 - no cast for malloc
- malloc + memset = calloc
- sizeof(type) -> sizeof(*var)
- small indents
2010-12-09 00:10:59 +00:00
wiz 99b0b43bfa Add all options to usage. 2010-12-08 09:43:28 +00:00
wiz 0b2ab2c48b Add all options to SYNOPSIS. New sentence, new line. Some rewording.
Use more macros.
2010-12-08 09:43:22 +00:00
kefren 6d46555eb8 Remove accidentally added file 2010-12-08 07:34:08 +00:00
kefren e7341ada4c Add ldpd, a RFC 3036 compatible LDP speaker. 2010-12-08 07:20:14 +00:00
pooka 39f08af21d mirror change of -lrumpcrypto ==> -lrumpkern_crypto 2010-12-05 20:13:26 +00:00
christos 185f0723f8 unhook tcpdump 2010-12-05 05:59:17 +00:00
njoly aab4946261 Adjust obsolete_libs to handle both the libraries (unchanged) and the
corresponding .debug files if exists.
2010-11-30 14:35:38 +00:00
plunky 5cf7cee741 don't try to imitate the kernel while doing a reset, just
set the init flags and poll until they are cleared
2010-11-28 20:37:24 +00:00
christos 2579358a05 KNF, pass lint. 2010-11-26 18:58:43 +00:00
plunky 52ea709089 update for ioctl improvements
- use SIOCGBTFEAT to recover device features rather than
  querying the device
- print also the max ACL/SCO buffers
2010-11-22 20:02:06 +00:00
pooka b4c2ac23fe regen 2010-11-22 07:56:54 +00:00
pooka c21dcb457e include script rcsid in generated file
(no change to rendered output)
2010-11-22 07:56:31 +00:00
pooka 7cd2722c7b these files are no longer autogenerated, so remove them 2010-11-22 01:09:34 +00:00
pooka a0afe062df regen 2010-11-22 01:08:23 +00:00
pooka 5e0d1e96f8 Generate different manpages for 1) disk 2) net 3) fictional file systems. 2010-11-22 01:07:51 +00:00
christos 30b8bfbace - don't bitch if /usr/X11R6/lib/X11 does not exist, if /usr/X11R6 does not
exist either. We might have never installed X11R6 on this system.
- spell nonexistent
2010-11-21 22:50:37 +00:00
jym d0e5481abd Sort options. 2010-11-21 21:07:46 +00:00
pooka 76f518f570 regen 2010-11-21 19:32:16 +00:00
pooka 41308443e5 * document disk.img%DISKLABEL:p%
* tweaks
2010-11-21 19:29:01 +00:00
tsutsui 41610f52e9 cd9960 -> cd9660 2010-11-19 15:47:32 +00:00
rmind 97b932f123 NPF checkpoint:
- Add proper TCP state tracking as described in Guido van Rooij paper,
  plus handle TCP Window Scaling option.
- Completely rework npf_cache_t, reduce granularity, simplify code.
- Add npf_addr_t as an abstraction, amend session handling code, as well
  as NAT code et al, to use it.  Now design is prepared for IPv6 support.
- Handle IPv4 fragments i.e. perform packet reassembly.
- Add support for IPv4 ID randomization and minimum TTL enforcement.
- Add support for TCP MSS "clamping".
- Random bits for IPv6.  Various fixes and clean-up.
2010-11-11 06:30:39 +00:00
christos d7b55f9d71 PR/44077: Dr. Wolfgang Stukenbrock: redundant xdr_passwd implementation should
be removed, and the one from -lrpcsvc should be used.
2010-11-10 18:56:17 +00:00
njoly 9220c212a8 Add _atf to uid/gid checks. 2010-11-08 09:01:44 +00:00
wiz 8f582fbe68 Sort options in SYNOPSIS. 2010-11-07 11:49:21 +00:00