freebsd-dev/usr.sbin
Brian Somers 8fa6ebe47d Solve the ``first connection'' problem that occurs on
demand-dial links with dynamic IP numbers where the program
that causes the dial bind()s to an interface address that is
subsequently changed after ppp negotiation.

The problem is defeated by adding negotiated addresses to the
tun interface as additional alias addresses and providing a set
of ``iface'' commands for managing the interface.  Libalias is
also required (and what a name clash!) - it happily IP-aliases
the address so that the source is that of the primary (negotiated)
interface and un-IP-aliases it on the way back.

An ``enable iface-alias'' is done implicitly by the -alias command
line switch.  If -alias isn't given, iface-aliasing is disabled by
default and can't be enabled 'till an ``alias enable yes'' is done.
``alias enable no'' silently disables iface-alias.

So, for dynamic-IP-type-connections, running ``ppp -alias -auto blah''
will work for the first connection, although existing bindings will
not survive a disconnect/connect as the TCP peer will be trying to
send to the old IP address - the packets won't route.

It's now a lot easier to add IPXCP to ppp with minor updates to
the new iface.[ch] (if anyone ever gets 'round to it).

It's also now possible to manually add interface aliases with
something like ``iface add 1.2.3.4/24 5.6.7.8''.  This allows
multi-homed ppp links :-)
1998-10-22 02:32:50 +00:00
..
ac /var/log/wtmp entries for ptys are treated differently in ac, since 1998-07-02 05:34:08 +00:00
accton
adduser Removing -batch option from adduser. Adduser was written as 1998-08-17 18:50:29 +00:00
amd Fixed missing libraries in DPADD. 1998-10-17 13:55:22 +00:00
apm o Enable standby mode in apm utility. You need a newer kernel for this 1998-09-04 16:08:54 +00:00
apmconf
arp
atm Two patches from the HARP people: 1998-09-17 09:35:02 +00:00
bad144 Change MACHINE to MACHINE_ARCH to support MACHINE=pc98. 1998-09-05 08:22:30 +00:00
bootparamd #include <arpa/inet.h> for inet_* definitions. 1998-06-12 14:39:00 +00:00
btxld Enable client entry point support. 1998-09-13 13:28:07 +00:00
cdcontrol Mention all the environment variables that can be used 1998-06-13 19:28:51 +00:00
chkgrp Inserted missing .Bl in the FILES section. 1998-07-14 07:55:27 +00:00
chown Backed out previous commit. chown(8) doesn't follow symlinks by 1998-05-03 04:17:48 +00:00
chroot
ckdist
config Removed unused/unusable "ha" keyword. Device classes should never have 1998-10-16 15:08:30 +00:00
cron Fixed printf format errors. 1998-07-06 20:28:08 +00:00
crunch Temporary use different stubs for the ECOFF case; I'm trying to get this 1998-10-02 11:30:07 +00:00
ctm Paranoia: use mkstemp instead of mktemp. 1998-07-27 22:26:25 +00:00
dev_mkdb
diskpart
dpt Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:14 +00:00
edquota
fdcontrol
fdformat mkdosfs(1) is dead, refere to newfs_msdos(8) 1998-09-29 17:31:28 +00:00
fdwrite Typo. 1998-06-27 21:29:35 +00:00
inetd Bruce says that %p is intended to format void pointers only. So use a void * 1998-08-18 02:10:05 +00:00
iostat Change the devstat generation number from an int to a long. The int-sized 1998-09-20 00:11:23 +00:00
ipfstat
ipftest
ipmon Install ipmon.8 in man8/ not man1/. 1998-08-30 04:48:00 +00:00
ipnat
ipresend
ipsend Added y.tab.h to SRCS. This should have been used to get dependencies 1998-05-05 13:16:35 +00:00
iptest
IPXrouted
kbdcontrol Add description on the "quiet" modifier for bell types. 1998-10-12 09:53:17 +00:00
kbdmap /usr/sbin/spkrtest and /usr/sbin/vidfont (aka kbdmap) use very 1998-08-14 06:26:58 +00:00
kernbb
keyadmin
keyserv Remove irrelevant section. 1998-10-13 08:14:31 +00:00
kgmon
kvm_mkdb Update to use the new elf headers. 1998-08-17 08:47:19 +00:00
lpr Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:14 +00:00
lptcontrol
mailstats Build sendmail-8.9.1 makemap. 1998-08-04 15:25:32 +00:00
makemap Add snprintf.c to SRCS so that the function quad_to_string exists. The 1998-08-06 23:01:49 +00:00
manctl
mixer fix a core dump problem when you don't give -f a parameter... also compare 1998-05-07 14:13:16 +00:00
mount_portalfs Fixed printf format errors. 1998-08-02 16:06:35 +00:00
mountd Spelling. 1998-10-15 13:37:35 +00:00
moused Fix PnP mouse detection routine so that: 1998-10-12 09:36:27 +00:00
mptable
mrouted Correct use of nonexistent `.SS' macro. 1998-09-29 01:42:07 +00:00
mtest Use AF_LINK rather than AF_UNSPEC to set an ethernet multicast address. 1998-05-28 07:31:30 +00:00
mtree Fixed printf format errors. 1998-08-02 14:41:34 +00:00
named bsd.dep.mk doesn't know about -idirafter, and doesn't parse -I the 1998-06-11 10:42:58 +00:00
named.reload These are no longer shipped with bind, but are a well established 1998-05-03 05:11:52 +00:00
named.restart These are no longer shipped with bind, but are a well established 1998-05-03 05:11:52 +00:00
natd Fix inconsistent port numbering in man page. 1998-07-15 03:32:45 +00:00
ndc ndc hardcodes 'named' instead of using $named_program from rc.conf 1998-07-31 08:47:16 +00:00
newsyslog Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:14 +00:00
nfsd Do not dot terminate syslog() string. Remove unused #includes. Add rcsid. -Wall. 1998-07-15 06:33:15 +00:00
nologin Add Id. .Nm nologin -> .Nm. 1998-07-15 06:37:07 +00:00
nslookup Simplified by using new lex rules. 1998-05-04 20:00:14 +00:00
nsupdate New bind8 program 1998-05-03 05:10:23 +00:00
pccard Keywords "iosize" and "memsize" are unused since 1.5. Removed. 1998-04-25 18:10:10 +00:00
pciconf Revive PCIConf. 1998-09-15 08:21:13 +00:00
pcvt Remove identity crisis in ispcvt(8) man page. Include reference to 1998-08-26 02:46:24 +00:00
periodic
pkg_install Revert 1.33; lstat() is indeed the wrong thing to do here. I'll 1998-10-14 18:52:04 +00:00
pnpinfo
portmap Ad #include stdlib.h to get the prototype for malloc(). 1998-08-17 06:05:55 +00:00
ppp Solve the ``first connection'' problem that occurs on 1998-10-22 02:32:50 +00:00
pppctl Sort cross references. 1998-08-31 16:41:09 +00:00
pppd Fix the MS-CHAP support. The code was passing a bit count to 1998-10-11 19:40:38 +00:00
pppstats Remove illegal ".Nm". This file is still using -man, not -mdoc. 1998-07-09 04:53:11 +00:00
praliases Use sendmail-8.9.1 praliases 1998-08-04 15:26:57 +00:00
procctl
pstat Increased column widths for tty input watermark fields so that watermarks 1998-08-19 01:32:28 +00:00
pw Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:14 +00:00
pwd_mkdb Rename a static variable, so it will not shadowed by a local variable. 1998-09-29 20:01:21 +00:00
quot .Sh ENVIRONMENT VARIABLES -> .Sh ENVIRONMENT 1998-05-13 07:57:49 +00:00
quotaon
rarpd
repquota Make it compatible with long usernames 1998-06-14 22:56:31 +00:00
rmt Add support for the 'V'ersion rmt command. 1998-09-15 10:30:25 +00:00
rndcontrol
rpc.lockd Removed bogus dependencies of generated .c files on generated headers. 1998-05-10 16:03:17 +00:00
rpc.statd Removed bogus dependencies of generated .c files on generated headers. 1998-05-10 16:03:17 +00:00
rpc.yppasswdd Protect errno in signal handlers, like in portmap. 1998-06-04 15:11:32 +00:00
rpc.ypupdated Removed bogus dependencies of generated .c files on generated headers. 1998-05-10 16:03:17 +00:00
rpc.ypxfrd Darnit, that last commit was only supposed to change files in the 1998-06-04 15:37:05 +00:00
rtprio PR: 7489 1998-08-04 14:33:42 +00:00
rwhod There is no "rwho" service, it's "who" 1998-04-23 19:12:41 +00:00
sa
sade Add entries for DiskOnChip2000 Flash device. 1998-10-19 14:58:38 +00:00
sendmail Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:14 +00:00
sgsc
sicontrol
sliplogin Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:14 +00:00
slstat Removed bogus #ifdef INET - <net/if_slvar.h> no longer depends on it. 1998-07-06 20:09:36 +00:00
spkrtest /usr/sbin/spkrtest and /usr/sbin/vidfont (aka kbdmap) use very 1998-08-14 06:26:58 +00:00
spray
stallion
sysctl `kern.maxproc' is not changeable using sysctl(1). Change examples 1998-09-29 02:01:06 +00:00
sysinstall Add entries for DiskOnChip2000 Flash device. 1998-10-19 14:58:38 +00:00
syslogd Submitted by: archie@whistle.com 1998-08-25 21:16:47 +00:00
tcpdump Fix CFLAGS: s/ETHER_NTOA/ETHER_NTOHOST/ 1998-10-02 21:56:30 +00:00
timed Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:14 +00:00
traceroute Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:14 +00:00
trpt
tzsetup
vidcontrol - Express various sizes in bytes, rather than Kbytes, in the video 1998-10-01 11:40:22 +00:00
vipw Since vfork() was changed to fork(), we have to pass errno back from the 1998-10-20 11:34:11 +00:00
vnconfig Document meanings of flags to the -r and -s options. 1998-07-30 04:17:12 +00:00
watch
wlconfig
wormcontrol Add 'blank' and 'nextwriteable' commands for atapi CD-R/RW support. 1998-09-08 20:51:24 +00:00
xntpd Use sysctl() rather than kvm_read() when getting information 1998-10-19 20:48:08 +00:00
xten
yp_mkdb
ypbind
yppoll
yppush Don't assume that time_t is long. 1998-06-29 18:15:21 +00:00
ypserv Sort cross references. 1998-08-31 16:41:09 +00:00
ypset
zic PR: docs/5986 1998-06-06 15:37:23 +00:00
Makefile Add crunch back to general targets. 1998-10-02 11:31:36 +00:00
Makefile.inc