Commit Graph

3518 Commits

Author SHA1 Message Date
itojun 08507c14c9 declare new function for getting my IPv4 address.
get_myaddress() is not usable any more for security reasons.
the change addresses PR8119.
2000-04-14 12:14:40 +00:00
simonb f4be79ac40 Don't declare 'extern opt*' getopt variables.
Don't declare 'extern int h_errno;' - it's in <netdb.h>.
2000-04-14 06:28:18 +00:00
simonb fd4ede242b Don't declare 'extern opt*' getopt variables. 2000-04-14 06:26:52 +00:00
itojun b9c3c448e1 use getifaddrs to avoid alignment constraints in SIOCGIFCONF.
(do you have PR # for this? >lukem)
2000-04-13 09:12:16 +00:00
itojun e9c5139f22 use getifaddrs, not SIOCGIFCONF. (should use pcap_lookupdev instead...) 2000-04-13 08:52:44 +00:00
itojun 4e4447b130 use getifaddrs, not SIOCGIFCONF, to avoid complex alignment constraints. 2000-04-13 07:53:29 +00:00
kim 13cec62a32 The "ftp" facility was not listed. 2000-04-12 16:38:58 +00:00
itojun 0a68a1147f enable IPv6 ppp. 2000-04-12 10:38:46 +00:00
itojun 2c97d607dd ignore routing socket messages for unexpected (or not interesting) interfaces.
do not advertise reject/blackhole static routes.
2000-04-11 11:57:15 +00:00
itojun ba8e4a38dc use getifaddrs, to avoid complicated alignment constraint in SIOCGIFCONF.
(do we need to keep SIOCGIFCONF code in #ifdef?)
2000-04-11 11:36:47 +00:00
hubertf 320de3ec61 note that this is related to IPsec in the "name" section.
This is intended to make this manpage to show up on "apropos ipsec"
2000-04-11 00:11:46 +00:00
tron 187e2064c1 Only log unauthorized accesses in verbose log mode. Patch supplied by
Urban Boquist in PR bin/9555.
2000-04-10 20:26:31 +00:00
itojun d91c2c728f decode IPv6 packet encapsulated into ppp frame (PPP_IPV6). 2000-04-10 15:24:36 +00:00
mrg 3f207f4f5a - fix usage message to current reality.
- pull over "lpd [port]" code from freebsd's lpr code.
- use posix signal handling.
2000-04-10 08:09:33 +00:00
itojun e4458d9bed address endian issue. sync with tcpdump.org tree. 2000-04-04 05:44:35 +00:00
hubertf d071991a9a Don't abort during quick depends pre-scan when -f is used 2000-04-01 23:31:39 +00:00
hubertf f996345ebf Improve the last change.
Handling all kinds of wildcards properly would be hard, though it should
handle some cases better now. Esp. ones with '-' in the pkg(!) name, and/or
ones with dewer relational versions. I.e. the teTeX-share>1.97 case should
work now.
2000-04-01 22:12:45 +00:00
augustss 93336646e4 Make this compile again. 2000-04-01 14:54:51 +00:00
hubertf 404096ac77 In the "quick depends pre-check" don't only try to replace anything
after a "-" with the "more liberal pattern", but also anything after
any pkg wildcard.

That way if someone has teTeX-share-1.0 installed and pkg_adds
teTeX-1.0.7 (which wants teTeX-share>1.0.2), it will be caught.

XXX This "quick depends pre-check" would be nice to be done in
    bsd.pkg.mk as well
2000-03-31 22:12:56 +00:00
soren 2ef4fd2cdb Consistently move checkeuid() call to after usage() call to allow non-root
to get help. Also remove a few duplicate geteuid() calls.
2000-03-31 04:09:04 +00:00
soren 4d9f35a323 Remove a few unnecessary casts. 2000-03-31 03:11:24 +00:00
soren ae994d44aa Use char NULs. 2000-03-31 02:54:17 +00:00
simonb e06c3570b8 Make these a little more readable. 2000-03-30 01:49:23 +00:00
simonb 69d37f60ab Add ntptime. 2000-03-29 14:35:45 +00:00
simonb e7734f607a Add man pages generated by ntp-html2mdoc.pl. 2000-03-29 13:54:44 +00:00
simonb ccb2265fd2 Add one more ntp reachover Makefile left out of last commit. 2000-03-29 13:47:05 +00:00
simonb b6ce3cdec4 Reach-over Makefile machinery for ntp4 build. 2000-03-29 13:13:42 +00:00
simonb 4cf4ac5591 ./configure generated files for ntp 4.0.99g. 2000-03-29 13:08:33 +00:00
simonb 4be8be837f Not needed with new dist/ntp structure. 2000-03-29 13:02:50 +00:00
deberg 3a9315446b clarify syslog facility, fixes bin/9693 2000-03-29 06:04:49 +00:00
kleink a3c6c197a2 Cast timeval members to types we know the printf conversions of. 2000-03-27 17:03:25 +00:00
itojun f03b262b04 don't traverse NULL pointer on "wiconfig -p 1".
From: veego
2000-03-26 08:58:11 +00:00
jdolecek bb2da7d53d __POOL_EXPOSE is no longer needed (dev/vndvar.h does protect vnd_softc from userland) 2000-03-20 13:20:28 +00:00
hubertf 0c2cdb98d9 * in pkg_add, before the "install dependencies" loop, check ALL
dependencies if they _can_ be installed. I.e. if a package wants
   version X installed, but version Y is already installed, pkg_adding
   that required pkg will blow up later (probably some pkg_add recursions
   down, given what we keep in the depends list). Now, it stopps right
   away:

        noon# pkg_add /usr/pkgsrc/packages/i386ELF/All/xdaemon-1.0.tgz
        pkg_add: pkg `xteddy-1.*' required, but `xteddy-2.0.1' found installed.
        Please resolve this conflict!

   The idea of this is from Thomas Klausner, further inputs from Alistair
   Crooks.

 * allow pkg names without versions given to "pkg_admin check"
 * Use sizeof() instead of hardcoding the buffers' size in some places
2000-03-19 17:24:27 +00:00
soren 4e809d5269 mbrlabel moves to /sbin. 2000-03-15 12:01:19 +00:00
fvdl 57b89fd44c Moved to /cvsroot/basesrc/sbin/mbrlabel/mbrlabel.c,v 2000-03-15 11:56:03 +00:00
fvdl cf8ce84f5b Moved to /cvsroot/basesrc/sbin/mbrlabel/mbrlabel.8,v 2000-03-15 11:55:34 +00:00
fvdl 2d51c28037 Moved to /cvsroot/basesrc/sbin/mbrlabel/Makefile,v 2000-03-15 11:55:04 +00:00
itojun a27d96b078 sync with latest kame.
- fix examples and wording in setkey.8
- allow scoped IPv6 notation (kernel side may not be really ready for this)
2000-03-15 00:24:30 +00:00
jdc 6f9a44ec3e Add serial port power management (hw.serial.power). 2000-03-14 21:27:41 +00:00
soren 89c5a767f8 Fix doubled 'the's. 2000-03-13 22:55:05 +00:00
itojun 9034310694 avoid shlib reference for pfkey_*. compile them on our own. 2000-03-13 21:04:07 +00:00
itojun 6f7d4a0536 bring in latest kame tree. this fixes unclosed file descdriptor
in router renumbering case.
2000-03-13 06:16:46 +00:00
jlam d1246a821e Make "-d homedir" option work -- home directory wasn't being set in this
case.
2000-03-12 19:57:24 +00:00
itojun c415e8231f wording 2000-03-12 16:56:42 +00:00
itojun db69080b84 improve SECURITY section. (sync with kame) 2000-03-12 16:47:24 +00:00
abs fd407a99b7 If we fail due to not being able to lookup our own hostname, display the
name in question in an attempt to reduce the number of people who have to ask
how to get sup working...
2000-03-12 12:16:49 +00:00
itojun 1e22bb586e correct use of perror(). 2000-03-12 02:42:43 +00:00
groo 38cfdfd8fc Add envstat(8) for displaying sensor readings from any envsys(4)
compatible device.
2000-03-10 05:51:56 +00:00
agc 56d283540f When adding a group, check that it doesn't already exist.
Also fix a problem with reading entries when modifying a group.

Both problems found and analysed by Thomas Klausner.
2000-03-07 20:56:45 +00:00