christos
63a6577561
make error messages more consistent.
2011-01-04 20:45:12 +00:00
kefren
57323b5589
check from_cidr_to_union() result
2011-01-04 10:58:15 +00:00
wiz
b6d5645a8f
Fix fd leaks. Found by cppcheck.
2011-01-04 10:32:34 +00:00
wiz
e57ebdb6c5
Close masterfd after reading from it. Found by cppcheck.
2011-01-04 10:30:21 +00:00
wiz
ecde3f3716
Fix possible NULL pointer dereference in #ifdef AS_DEBUG_FILE.
...
Found by cppcheck.
2011-01-04 10:26:56 +00:00
wiz
57af1dbb63
unifdef -U RCSSTAT
...
This code was added in 1.2 by brezak with changes for the commit message:
"Change <sys/dir.h> to <dirent.h>"
and looks like it never worked.
2011-01-04 10:23:40 +00:00
kefren
53e5c5d4ca
Fix more memory leaks in case malloc fails
2011-01-04 10:18:42 +00:00
wiz
28f00e2eeb
Fix fd leaks in error cases. Found by cppcheck.
2011-01-04 10:14:25 +00:00
wiz
74431f1f44
Fix fd leak in error case. Found by cppcheck.
2011-01-04 10:10:39 +00:00
wiz
ff17b1fa3b
Use pclose() after popen(). Found by cppcheck.
2011-01-04 10:05:55 +00:00
wiz
a148caca6e
Fix fd leaks in error cases. Found by cppcheck.
2011-01-04 10:01:51 +00:00
wiz
89152edad2
Fix memory leak in error case. Found by cppcheck.
2011-01-04 09:58:03 +00:00
wiz
613c28210d
Fix fd leaks in error cases. Found by cppcheck.
2011-01-04 09:48:21 +00:00
wiz
c15af5889a
Fix fd leak in error cases. Found by cppcheck.
2011-01-04 09:43:39 +00:00
wiz
f5249cc468
Fix memory leak in error case. Found by cppcheck.
...
XXX: so_tag has same problem?
2011-01-04 09:42:21 +00:00
wiz
bcfe662395
Fix fd leaks in error cases. Found by cppcheck.
2011-01-04 09:32:31 +00:00
wiz
f5e448fd74
Fix fd leaks. Found by cppcheck.
...
While here, fix typo in warning message.
2011-01-04 09:28:44 +00:00
wiz
7892952169
Fix fd leak in error case. Found by cppcheck.
2011-01-04 09:25:21 +00:00
wiz
7e975aaf96
Add missing breaks in switch statement. Found by cppcheck.
2011-01-04 09:16:17 +00:00
wiz
baacf5e062
Fix fd leak in error case. Found by cppcheck.
2011-01-04 09:14:42 +00:00
wiz
f5bd7d1980
Close fd in error case. Found by cppcheck.
2011-01-04 09:13:22 +00:00
wiz
260bd09a04
Use format string for err(). From Henning Petersen in PR 44326.
2011-01-04 09:04:24 +00:00
kefren
1eed43ba6c
show in neighbour information if peer is MD5 authenticated
2010-12-31 11:29:33 +00:00
wiz
8e0432a723
Make usage match SYNOPSIS.
2010-12-31 06:16:17 +00:00
wiz
0161387400
Sort SYNOPSIS, use Pa for path.
2010-12-31 06:15:08 +00:00
christos
92b36398b7
- detect calloc failure
...
- int -> size_t
- cache strlen
- proper cast for ctype macro
2010-12-30 21:26:00 +00:00
kefren
e64aab24d3
* add config file so one can control id, timers and label assignment and
...
use neighbour specific options - XXX: needs documentation
* add peer authentication using TCP_MD5SIG. Interoperability tested with
Cisco IOS
* use SLIST_FOREACH_SAFE when deleting labels instead of re-looping.
2010-12-30 11:29:21 +00:00
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