Commit Graph

594 Commits

Author SHA1 Message Date
joerg
33e4b8c9c9 Adding the various documentation files that are accompanying
the regular pcvt distribution under pcvt/Misc.
1995-03-05 22:50:24 +00:00
joerg
3f18e6e15e Upgrade to beta 3.20/b22 1995-03-05 22:47:12 +00:00
joerg
17e89e706e Adding the various documentation files that are accompanying
the regular pcvt distribution under pcvt/Misc.
1995-03-05 22:44:03 +00:00
wpaul
6dd86a07d0 ether_addr.c:
- Implement ether_hostton()
- Implement ether_aton()
- Modify ether_aton() and ether_ntoa() to match the semantics of the
SunOS versions of these functions.
- Neaten up ether_hostton() and ether_ntohost() a little.
- Get rid of ether_print() since it isn't needed for rarpd and it isn't
documented as a standard ethers(5) function.

rarpd.8:

- Make it clear that the 'ipaddr' that rarpd looks for in /tftpboot
is actually in hexadecimal (as in /tftpboot/803B4032) since those who
are not versed in the black art of system administration are not likely
to know this.
1995-03-05 22:04:05 +00:00
bde
3d6f0ced06 Don't depend on <stdio.h> bogusly including <sys/types.h>. 1995-03-05 02:19:21 +00:00
phk
e8089e5175 Look at the .ctm_status file and ignores all patches already applied.
Reviewed by:	phk
Submitted by:	J Wunsch <j@uriah.heep.sax.de>
1995-03-04 20:36:46 +00:00
ache
1d871284b4 Use ASCII lock, like everything else does
Submitted by: John Capo <jc@irbs.com>
1995-03-04 00:05:30 +00:00
wpaul
00121f1da7 Gave rarpd back the ability to poke temporary entries into the arp
table; arptab.c is really a hacked up version of arp.c that only
supports adding temporary entries. (This stuff is nasty -- I wish I
knew what was so wrong with SIOCSARP/SIOCGARP/etc... that made the
BSD developers decide to take it out.) The idea here is that the
client issuing the rarp is expected to be in the middle of booting
and would therefore be unable to answer arp queries from other machines
on the wire. Having rarpd stuff a temporary entry for the booting
host into the local arp table helps keep arp requests from going unanswered.

Also added ether_print() and ether_ntoa() to the ether_addr.c module.
Eventually I'll get ether_aton() and ether_hostton() written and
then this file can be dropped straight into libc. (Assuming no one
objects, of course. :)
1995-03-03 22:20:15 +00:00
dima
c5cc3a31fd remove option "-s saver" from usage() 1995-03-03 21:21:24 +00:00
dufault
7008d04653 Fixed bug with wiring down given SCSI bus. 1995-03-03 19:00:39 +00:00
ache
4022e90544 Fix CurHostName ($m macro)
Submitted by: eric@cs.berkeley.edu
1995-03-03 02:06:39 +00:00
wpaul
ffda39fc14 Took out .include "../../Makefile.inc" which shouldn't be needed now that I
put a proper Makefile.inc in the top level of the bootparam heirarchy.
(Someday I'll learn. *sigh*)
1995-03-02 22:00:33 +00:00
wpaul
afb2acb0ed Whoops. I knew I was forgetting something. 1995-03-02 21:24:54 +00:00
wpaul
65db132f68 Add rarpd. 1995-03-02 06:44:30 +00:00
wpaul
4f904c9832 This commit was generated by cvs2svn to compensate for changes in r6823,
which included commits to RCS files with non-trunk default branches.
1995-03-02 06:41:40 +00:00
wpaul
ec46f0f928 Obtained from: An old BPF release packaged with the tcpdump-2.0 source code.
"Yes Virginia, there is a rarpd."

(Before anyone asks, this *not* the rarpd from NetBSD. It did come from
the same place as theirs, however.)

This is a port of the rarpd program included with the tcpdump-2.0
source code (which I finally unearthed after scrounging around
some of the darker corners of the Internet). It's as close to the
original as I could keep it except for the following changes:

- The original program was based on an older version of the Berkeley
  Packet Filter which used different filter programming instructions.
  Fortunately, an updated RARP packet filter is available right in the
  BPF man page so this was easy to fix.

- The old code didn't know how to deal with variable length addresses
  in ifreq buffers. This has been fixed.

- Some byte order weirdness had to be fixed. The sanity checks in
  rarp_check() needed some htons()es, and the rarp_reply() function
  needed to properly set the ether_type field in the ethernet header
  to ETHERTYPE_REVARP before transmitting the packet, otherwise
  the bytes in ether_type would wind up reversed. It is important to note
  that using htons(ETHERTYPE_REVARP) will not work. This is odd, because
  the NetBSD rarpd uses htons(ETHERTYPE_REVARP). (Praise be to tcpdump:
  I would never have been able to track this silliness down without it.)

- The update_arptab() function has been castrated. It depends on
  SIOCSARP which has been deprecated in 4.4BSD. The NetBSD people
  don't seem to be using this function either. It wouldn't be too
  hard to replace this with equivalent code from arp.c, but it
  might not be necessary.

- I put together an ether_ntohost() support function that allows
  both local (/etc/ethers) and NIS lookups. This stuff should go
  in libc at some point, but nothing else seems to need it for now,
  so it can wait a while.

As you may have guessed, you need to have the Berkeley Packet Filter in
your kernel in order to use this program. The good news is that together
with the recently added bootparamd, you can use finally use a FreeBSD
box to boot Sun boxes over the network. (This was my whole motivation
for getting this stuff to work: I have this one subnet that has a whole
bunch of Sun3 X-terminals on it with only two Sun4 workstations, both
of which are locked in peoples' offices. If those two machines crash
(and they do every so often) then none of the X-terms will boot. Now I
can use a spare PC that I have as a boot server. :)
1995-03-02 06:41:40 +00:00
dufault
b6168b9477 Added configuration for SCSI devices wired in place. The documentation
is in "man 4 scsi".
1995-03-01 22:34:05 +00:00
jkh
cdbad5a906 My patch this morning was not complete. I never tested make install - stupidly
thinking that it would work :( The install program never get a destination
directory. Here is another patch that should also be added. I think this
should be the last one for these makefiles :)

[Note:  I realize that there are more things wrong than this, but this should
at least get the tree compiling again! -jkh]

Submitted by:	John Hay <jhay@mikom.csir.co.za>
1995-03-01 20:36:20 +00:00
gibbs
d292d68b01 Implement "clean" entries for device config entries.
Submitted by: Pointed out by Bruce Evans <bde@zeta.org.au>
1995-03-01 10:09:03 +00:00
phk
99829f4964 The current bootparamd makefiles break if you do a make obj first. It does
work if you don't have the obj link. Here is a patch for it. It will still
work if you don't have an obj link:)

(I stuck a ${DESTDIR} in front of the absolute path to /usr/include... /phk)
Reviewed by:	phk
Submitted by:	John Hay <jhay@mikom.csir.co.za>
1995-03-01 08:04:40 +00:00
phk
20c8b8c18d Added lock-files, so we should know if the machine panic'ed in the middle
of an "apply".
1995-02-28 20:52:56 +00:00
phk
196bef337c Latest updates to this. 1995-02-27 22:26:58 +00:00
ugen
f3b7169642 same 1995-02-27 19:48:19 +00:00
wpaul
193c465223 Add entry for bootparamd and friends. 1995-02-27 19:21:16 +00:00
amurai
b136ba78d6 Fixing minor bug and allow help(Not for all command) and quit
but not close line connection by "quit all" command if not
authorized.

Reviewed by:	amurai@spec.co.jp
Submitted by:	tony-o@iij.ad.jp amurai@spec.co.jp
1995-02-27 10:57:54 +00:00
amurai
f7a17fe3ac Compile error occured by missing auth.h/cdefs.h
Reviewed by:	amurai@spec.co.jp
1995-02-27 03:18:28 +00:00
amurai
9887099fbe Re add ppp entry causing by missing auth.h/cdefs.h
Reviewed by:	amurai@spec.co.jp
1995-02-27 03:16:48 +00:00
wpaul
a4f5cd99ad This commit was generated by cvs2svn to compensate for changes in r6751,
which included commits to RCS files with non-trunk default branches.
1995-02-26 23:40:53 +00:00
wpaul
3d7a6e262b Obtained from: The Xkernel source distribution
I hope I'm doing this right.

This is an initial version of bootparamd for FreeBSD based on a public
domain rpc.bootparamd implementation by a gentleman named Klas Heggemann.
This program has apparently been around for a while. The README explicitly
lists the code as public domain, so I guess it's safe to use.

This program is needed for booting diskless SunOS and Solaris machines.
rarpd is also required, but that's in the works too.

I have made two changes to this code:

- Implemented NIS lookups. If /etc/bootparams contains a '+' then the
  bootparams map is consulted.

- Allow 0.0.0.0 as a user-specified router address. The SunOS rpc.bootparamd
  returns this value in many cases.
1995-02-26 23:40:53 +00:00
jkh
acc7eb9733 Take ppp out until it works again - there's actually stuff missing from
the merge.
1995-02-26 18:58:49 +00:00
jkh
c3d57941e3 I assume someone had a good reason for breaking this? Try again!
For now, I'll content myself with fixing the tree.
1995-02-26 18:20:36 +00:00
amurai
7f3209e0ba New user Process PPP based on iij-ppp0.94beta2.
o Supporting SYNC SIO device (But need a device driver)
     - add "set speed sync"
   o Fixing bug for Predictor-1 function.
   o Add new parameter that re-sent interval for set timeout commands.
   o Improving RTT (Round Trip Time) and reducing processor time.
     - Previous Timer service was using polling, and now using
       SIGALRM ;-)
     - A 0.94beta2 will not work correctly....

   -- Follows are additinal feature not including 0.94beta2
   o Support Proxy ARP
     - add "enable/disable proxy" commands
   o Marging common routine in CHAP/PAP.
   o Enhancing LCP/IPCP log information.
   o Support local Authfication connection on port 300x and tty.
     - You can set up pair of your "hostname -s" and
       password in ppp.secret. if either ppp.secret file nor
       your hostname line don't exist, It will notify a message
       and working as same as previous version.(Backword compatibility)
     - If you did set up them, It's allow connection but nothing to do
       except help and passwd command.
     - add "passwd yourpasswd" commands
   o Support afilter - keep Alive filter that a packet can send/receiving
     according to ifilter/ofilter but doesn't count it as preventing idle
     timer expires.
     - Same syntax of other filters.
   o Fixing bugs reported by current user for previous one. Thanks !!

Reviewed by: Atsushi Murai (amurai@spec.co.jp)
1995-02-26 12:18:08 +00:00
wpaul
01e66e7da4 Submitted by: Sebastian Strollo <seb@erix.eriksson.se>
Fixes to ypbind:

- Correctly report the fact that we've bound to a new server when
logging the 'server OK' message.

- Report 'server not responding' just once instead of every
5 seconds while searching for a new server. (Prevents overstuffing
the syslog.)

- Apply patch from Sebstian Strollo to implement '-s' (secure) flag.
ypbind will reject connections from servers that do not originate
from a reserved TCP port.

- Apply patch from Sebastian Strollo to detect when a YP server has
crashed and come back up on a different port number.
1995-02-26 04:42:48 +00:00
bde
b954bd24f7 Remove dbsym. 1995-02-26 02:33:09 +00:00
pst
1108d67e59 Update to use new calling conventions 1995-02-25 20:14:31 +00:00
phk
7c627422ef Add a '-l' option, which lists the argv[0]'s we will respond to. This will
simplify the src/release Makefile quite a bit.
1995-02-25 07:25:31 +00:00
phk
36c6492739 (Not tested yet. I may insist that ctm be invoked with absolute path. /phk)
This patch fixes the concurrency problem, and adds a possibly useful -f switch
(which you can read about in the man page :-) ).  It also removes the absolute
path from the invocation of ctm.  I'll write a note about how to use a script
with sendmail and procmail or some such, and people can fix their PATH there.

BTW, this patch changes ctm_rmail.1, ctm_rmail.c and error.c in the ctm_rmail
directory.

Stephen.

Reviewed by:	phk
Submitted by:	Stephen McKay <syssgm@devetir.qld.gov.au>
1995-02-25 05:10:18 +00:00
phk
b589193b1c Just a precaution: ctm will not accept '..' in paths anymore.
I'm never going to generate one, so this is a guard against hackers mostly.

Reviewed by:	phk
Submitted by:	Stephen McKay <syssgm@devetir.qld.gov.au>
Obtained from:
1995-02-25 05:02:18 +00:00
phk
f1cc7c6dd4 I (phk) blundered with the last change. Make it right & better now.
Reviewed by:	phk
Submitted by:	John Hay <jhay@mikom.csir.co.za>
1995-02-24 05:41:24 +00:00
phk
3a4c276167 OK, we changed our mind again: -ln -s ... 1995-02-24 04:16:26 +00:00
phk
ce8ef60e3a Make sure link to /etc/rmt happens.
Now I know that there was talk of moving it to the release/Makefile or the
etc/Makefile, but I don't think it was ever decided where.

Reviewed by:	phk
Submitted by:	John Hay <jhay@mikom.csir.co.za>
1995-02-23 19:40:48 +00:00
ugen
aca7bd6905 Fix(it was 1 character actually:) 1995-02-23 11:18:35 +00:00
phk
3c98a76d81 Make us a little safer, by writing to a tempfile, and rename when done.
Still needs more locking I belive.
1995-02-23 04:51:36 +00:00
pst
1a323b8754 This commit was generated by cvs2svn to compensate for changes in r6653,
which included commits to RCS files with non-trunk default branches.
1995-02-23 00:53:39 +00:00
pst
01cbc7dd5c Import 8.6.10 release notes 1995-02-23 00:53:39 +00:00
pst
3f0d1ddada Cover 8.6.10 merge conflicts and warnings 1995-02-23 00:46:36 +00:00
pst
96cd997794 Add watch(8) 1995-02-23 00:26:49 +00:00
pst
37063bd4ed Sendmail 8.6.10 update for security problems.
Imported on CSRG/V_8_6_10 branch.

Obtained from: CSRG/Allman
1995-02-23 00:20:00 +00:00
pst
11254f4c0b This commit was generated by cvs2svn to compensate for changes in r6647,
which included commits to RCS files with non-trunk default branches.
1995-02-23 00:20:00 +00:00
pst
cd3d394264 Sendmail 8.6.10 update for security problems.
Imported on CSRG/V_8_6_10 branch.

Obtained from: CSRG/Allman
1995-02-23 00:20:00 +00:00