freebsd-src/usr.sbin
Brian Somers 6815097bf7 Allow `host:port/udp'' devices and support `host:port/tcp'' as
being the same as the previous (still supported) ``host:port''
syntax for tcp socket devices.

A udp device uses synchronous ppp rather than async, and avoids
the double-retransmit overhead that comes with ppp over tcp (it's
usually a bad idea to transport IP over a reliable transport that
itself is using an unreliable transport).  PPP over UDP provides
througput of ** 1.5Mb per second ** with all compression disabled,
maxing out a PPro/200 when running ppp twice, back-to-back.

This proves that PPPoE is plausable in userland....

This change adds a few more handler functions to struct device and
allows derivations of struct device (which may contain their own
data etc) to pass themselves through the unix domain socket for MP.
** At last **, struct physical has lost all the tty crud !

iov2physical() is now smart enough to restore the correct stack of
layers so that MP servers will work again.

The version number has bumped as our MP link transfer contents have
changed (they now may contain a `struct device').

Don't extract the protocol twice in MP mode (resulting in protocol
rejects for every MP packet).  This was broken with my original
layering changes.

Add ``Physical'' and ``Sync'' log levels for logging the relevent
raw packets and add protocol-tracking LogDEBUG stuff in various
LayerPush & LayerPull functions.

Assign our physical device name for incoming tcp connections by
calling getpeername().

Assign our physical device name for incoming udp connections from
the address retrieved by the first recvfrom().
1999-05-12 09:49:12 +00:00
..
ac
accton
adduser Added myself as maintainer. 1999-02-09 17:23:03 +00:00
amd Cosmetic reformating. 1999-02-14 22:04:09 +00:00
apm
apmconf
arp Use Cd macro instead of Em for SYNOPSIS, as do other section 4 pages. 1999-05-04 20:42:26 +00:00
atm
bad144
boot0cfg Finish implementing "setdrv" option. This is intended to be used 1999-02-26 14:57:17 +00:00
bootparamd
btxld
cdcontrol (1) Make usage() and SYNOPSIS agree with each other. 1999-01-31 15:30:21 +00:00
chkgrp
chown
chroot
ckdist
config Understand 'config kernelname' and pretend it was a 1999-05-10 02:42:58 +00:00
cron This is a hack. Cron runs with stdin/out/err pointing to /dev/console, 1999-04-06 04:31:23 +00:00
crunch
ctm Use 4 digit year in log file, rather than 2. 1999-01-19 11:52:57 +00:00
dev_mkdb
diskpart
dpt
edquota Fixed overflow in 1K-blocks to disk-blocks conversions. Use quad 1999-01-01 13:15:02 +00:00
fdcontrol
fdformat
fdwrite
i4b fix name clash for variables named "minor" and "major" 1999-05-11 08:22:15 +00:00
inetd Don't stop listening to the signal pipe just because you don't have 1999-05-11 12:50:14 +00:00
iostat
ipfstat
ipftest
ipmon
ipnat
ipresend
ipsend
iptest
IPXrouted Add an option to disable responses to SAP_GETNEAREST_SERVER requests. 1999-04-24 09:18:49 +00:00
jail Various cosmetics. 1999-05-05 19:23:45 +00:00
kbdcontrol Added backward compatibility to set key repeat rate. 1999-05-09 04:57:51 +00:00
kbdmap Added myself as maintainer. 1999-02-09 17:23:03 +00:00
kernbb Now bb structures are linked together. 1999-03-21 12:32:17 +00:00
keyadmin
keyserv
kgmon
kvm_mkdb
lpr lpd tries to be clever and checks if RM == my_hostname. 1999-04-27 07:09:18 +00:00
lptcontrol Add -e option and change unit to device access in lptcontrol.8 1999-02-14 12:23:49 +00:00
mailstats
makemap
manctl
memcontrol Commandline tool for manipulating memory range attributes. 1999-04-07 04:11:14 +00:00
mixer
mount_portalfs
mountd Typo fix in diagnostic: -alldir --> -alldirs 1999-04-21 22:42:36 +00:00
moused USB is only on PC's at the minute, don't try and use the MOUSE_IF_USB 1999-03-01 04:47:37 +00:00
mptable
mrouted Use the proper mdoc macro 1999-03-20 04:26:57 +00:00
mtest
mtree When bootstrapping mtree, don't depend on there being a libmd at all. 1999-03-01 02:43:42 +00:00
named
named.reload
named.restart
ndc Allow both old and new rc.conf syntax. 1999-02-12 00:17:12 +00:00
newsyslog Fix description of size, it's in kilobytes, not bytes. 1999-04-10 15:09:07 +00:00
nfsd Update refs for KLD's and kldload. 1999-04-01 01:42:28 +00:00
nologin Added xref to nologin(5). 1999-02-01 21:02:38 +00:00
nslookup
nsupdate
pccard Fix typo. 1999-05-10 22:01:38 +00:00
pciconf Replace LKM with KLD. 1999-04-06 14:04:37 +00:00
pcvt
periodic local_cron -> local_periodic 1999-04-23 18:26:55 +00:00
pkg_install Revive the PKG_ADD_BASE stuff a bit. 1999-05-12 06:06:49 +00:00
pnpinfo
portmap Fixed world breakage in previous commit. -lwrap was in LDFLAGS where 1999-03-29 03:17:43 +00:00
ppp Allow `host:port/udp'' devices and support `host:port/tcp'' as 1999-05-12 09:49:12 +00:00
pppctl Add support for NetBSD (history() from libedit is different). 1999-04-26 08:53:52 +00:00
pppd pppd/Makefile: 1999-04-29 17:56:28 +00:00
pppstats
praliases
procctl
pstat Tidy up references to <sys/rlist.h> and support for the old swap management 1999-05-11 14:32:18 +00:00
pw Fix date parsing to allow '0' (none) date value. 1999-03-15 08:16:01 +00:00
pwd_mkdb Enable source file locking in pwd_mkdb by including the proper letter 1999-01-01 20:39:37 +00:00
quot
quotaon
rarpd
repquota
rmt
rndcontrol
rpc.lockd
rpc.statd
rpc.yppasswdd Host names are case-insensitive. 1999-03-16 01:23:09 +00:00
rpc.ypupdated
rpc.ypxfrd
rtprio
rwhod Implement the -l commandline option which turns off broadcast of 1999-01-11 05:27:37 +00:00
sa
sade Add some extra checks to make *sure* we got what we were told we got. 1999-05-12 09:22:47 +00:00
sendmail Enable tcp_wrapper support by default. 1999-03-28 10:55:03 +00:00
sgsc
sicontrol
sliplogin
slstat
spkrtest Added myself as maintainer. 1999-02-09 17:23:03 +00:00
spray
stallion
sysinstall Add some extra checks to make *sure* we got what we were told we got. 1999-05-12 09:22:47 +00:00
syslogd readklog(): rename variable 'l' to 'len', to avoid possible confusion with 'i' 1999-05-06 13:57:57 +00:00
tcpdchk Build tcp_wrappers' userland. I am not building tcpd, because in a day 1999-03-14 18:02:14 +00:00
tcpdmatch Build tcp_wrappers' userland. I am not building tcpd, because in a day 1999-03-14 18:02:14 +00:00
tcpdump World, I'd like you to meet the first FreeBSD token Ring driver. 1999-02-20 11:18:00 +00:00
timed
traceroute Add '-fno-builtin' to CFLAGS for alpha. 1999-01-13 10:27:00 +00:00
trpt
tzsetup Add a `default' feature to tzsetup for use in script-driven installation 1999-02-02 20:26:31 +00:00
usbd Syncing with NetBSD version 1998/12/14 1999-04-11 21:03:28 +00:00
usbdevs Syncing with NetBSD version 1998/12/14 1999-04-11 21:03:28 +00:00
vidcontrol Change LKM to KLD. 1999-04-08 13:51:54 +00:00
vipw
vnconfig Submitted by: Matt Dillon <dillon@freebsd.org> 1999-03-14 09:20:01 +00:00
watch
wicontrol Fix a couple of small buglets. 1999-05-07 23:35:55 +00:00
wlconfig
wormcontrol
xntpd Correct typo. 1999-04-19 07:17:58 +00:00
xten
yp_mkdb
ypbind Use u_int32_t for sin_addr.s_addr rather than u_long to avoid 1999-04-13 16:26:21 +00:00
yppoll
yppush
ypserv Close PR #10971: flush the database cache after forking in ypproc_all_2_svc() 1999-04-30 16:59:48 +00:00
ypset
zic Add a prototype to silence warnings. 1999-02-23 12:02:07 +00:00
Makefile Move sysctl/ to src/sbin/ where it now belongs. 1999-05-10 10:17:22 +00:00
Makefile.inc