Commit Graph

42 Commits

Author SHA1 Message Date
charnier
a71f6f70af Use err(3). Add usage(). Rewrote man pages in mdoc format. 1997-09-30 06:15:23 +00:00
pst
c22f14d51d NOSHARED takes a yes/YES no/NO value, not "true, false, hey mon!".
NOPIC is used to not generate a shared library, not NOSHARED.
Make NOSHARED advisory where appropriate.
Remove bogus NOSHARED (kbdio).
1997-06-29 06:03:42 +00:00
peter
32d6b795de Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
fenner
861604f2f0 Another fix related to pr#bin/2585 . That'll teach me to
grep h_length *.c ...
1997-02-10 06:46:37 +00:00
fenner
d1e7ae9dce Fix possible gethostbyname-related overflows as pointed out in
PR#bin/2585 .
1997-02-09 22:32:04 +00:00
mpp
645004d3a6 Update some path references to reflect reality.
Submitted by:	max
1997-02-02 00:59:49 +00:00
jkh
9c0cd3f9df Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
wollman
38d624cc24 Update to match changes in <net/if.h>. 1997-01-03 20:19:50 +00:00
fenner
35f4f32871 Merge from release 5.1. 1996-12-20 01:32:12 +00:00
fenner
51a17a630b This commit was generated by cvs2svn to compensate for changes in r20701,
which included commits to RCS files with non-trunk default branches.
1996-12-20 01:29:00 +00:00
fenner
8f3b3c0c8f Import the mtrace "5.1" release. The version number jump is because
mtrace is now distributed seperately from mrouted.
1996-12-20 01:29:00 +00:00
fenner
fe91f930c8 Update to the unreleased mrouted 3.8a . This includes a minor
endian-ness fix, Router Alert options on IGMP messages, and a
new keyword, "advert_metric", for fine-tuning tunnel metrics.

This also includes a new mtrace, which is also unreleased but
builds significantly on the experiences of users' troubles with
using and understanding mtrace in release 3.8 .

(unreleased does not, of course, mean untested!)

This is a candidate for both 2.2 and 2.1.6 .
1996-11-11 03:50:15 +00:00
fenner
f1ee54ac06 Release setuid immediately after initializing; this minimizes the
possibility of security holes allowing root penetration.

Inspired by:	Mark Handley <M.Handley@cs.ucl.ac.uk> and
		Theo de Raadt <deraadt@theos.com> independently
Submitted by:	Theo de Raadt <deraadt@theos.com>
1996-10-01 23:14:35 +00:00
jkh
e693c16dd8 Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src.  This is the final version of the
patches, incorporating the feedback I've received from -current.
1996-06-24 04:26:21 +00:00
pst
3c92abcb98 Change install permissions to 4555 from 4755 1996-05-20 16:42:32 +00:00
mpp
b2aecb6c53 Fix a typo.
Submitted by:	David Leonard <d@scry.dstc.edu.au>
1996-04-13 02:09:03 +00:00
peter
3ef0d926e1 Minor tweak to allow the mbone mapper to work again on hosts which are
themselves acting as multicast routers.

Reviewed by: Bill Fenner (quite some time ago)
1996-01-29 16:04:20 +00:00
peter
6f85952b3c take the $ out of the $Id$ line - when I imported this I used -ko, but
that is conflicting with cvs-1.6's "cvs update -A" when run from freefall's
update jobs.
1996-01-13 13:21:28 +00:00
peter
599e153d46 Pull in the Release notes from release 3.8 - I forgot these last time after
I had moved them out of the way.
1996-01-06 21:12:18 +00:00
peter
4daa567241 This commit was generated by cvs2svn to compensate for changes in r13282,
which included commits to RCS files with non-trunk default branches.
1996-01-06 21:12:18 +00:00
peter
afdebce3f6 Resync our mainline to mrouted release 3.8.
This will make FreeBSD boxes better behaved 'MBONE Citizens', based on
a couple of the comments about the severity of fixes..

Agreed to by: wollman, fenner@parc.xerox.com
1996-01-06 21:10:30 +00:00
peter
088d95180a This is a 'for reference' import of mrouted release 3.8.
I'm using these to try to resync our tree with the vendor branch..
1996-01-06 21:04:38 +00:00
peter
c2890d14af This is a 'for reference' import of mrouted release 3.6. It's pure
conflict markers, but it actually changes nothing.

We've been running this code with small changes for some time, this may
be useful for checking what those changes.  It was unfortunate this
module got so far away from the vendor branch (whitespace changes didn't
help)
1996-01-06 21:00:43 +00:00
dg
f1b9870c63 - mrouted doesn't allow loopback of group-specific queries, thus if a
host sends a leave message for a group that the router is a member of
  that membership gets forgotten until the next general query.
- the second group-specific query generated looks like a general query
  sent to a specific group

Submitted by:	Bill Fenner <fenner@parc.xerox.com>
1995-10-07 03:48:44 +00:00
dg
d4eb1ca587 - mrouted doesn't allow loopback of group-specific queries, thus if a
host sends a leave message for a group that the router is a member of
  that membership gets forgotten until the next general query.
- the second group-specific query generated looks like a general query
  sent to a specific group
1995-10-07 03:47:44 +00:00
wollman
ce8aa81cfe Patches to correct endianness bugs in mtrace and a few other little
problems.

Submitted by: bill Fenner <fenner@parc.xerox.com>
1995-07-10 16:13:05 +00:00
ats
70aa263b8f Added a CLEANFILES+= y.tab.h to clean out the temporary file from yacc. 1995-07-08 22:36:06 +00:00
wollman
392b52483e Upgrade to mrouted version 3.6. This includes a substantial clean-up
and ANSIfication of much of the source base.  Thanks, Bill!

Submitted by:	patch from Bill Fenner <fenner@parc.xerox.com>
1995-06-28 17:58:49 +00:00
wollman
336a70e7f3 Bill Fenner points out that mrinfo and mtrace should probably be set-uid
root so that normal users can use them.  The same caveats apply as for
regular traceroute.
1995-06-21 18:30:16 +00:00
wollman
5262195da4 Fix pruning bug described in PR 524.
Submitted by: Soochon Radee <slr@mitre.org>
1995-06-16 16:57:20 +00:00
wollman
b3f1426366 Add a little program to test the functionality of RSRR by getting
a vif list and printing it a la netstat -g (but simpler).  This
doesn't get installed, so there's no man page.
1995-06-15 19:23:08 +00:00
wollman
256c0feec5 Correctly calculate length of local-domain socket name for RSRR server. 1995-06-15 18:30:44 +00:00
cvs2svn
04bf6d61a2 This commit was manufactured by cvs2svn to create branch 'XEROX'. 1995-06-13 18:05:18 +00:00
wollman
fc3f1a95fb This is mrouted version 3.5, with the route-change notification hook from
mrouted-3.5n.  This is being splatted onto the head rather than properly
imported thanks to the ``delete trailing whitespace'' screw.  This code is
now actively working in an operational environment (the DARTNET) so I
have some confidence that the basic functionality actually works.

Obtained from: Bill Fenner, PARC, and ISI
1995-06-13 18:05:16 +00:00
rgrimes
5a145b5eb1 Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
jkh
0c289ed1b0 A number of bug fixes to mrouted (no functionality enhancements from 3.5, just
the fixes!):

o Scoped addresses might let traffic in
o IGMP queries sent with wrong timeouts
o Possible core dump in mtrace if we get a request for which we have no route
o If a member on a transit network left a group, mrouted would stop forwarding
  even if there was a downstream router
o Various code cleanups and logging changes

Reviewed by:	wollman
Submitted by:	Bill Fenner <fenner@parc.xerox.com>
1995-05-16 00:28:50 +00:00
wollman
9f855daa52 there is a endian problem when setting up tunnel and phyint boundaries
in the mrouted. inet_parse returns network byte ordered address, but there
are a couple comaprisons that need to be done on the addresses and the
comparisons are done in host order. I left the comparisions for 0xffffffff
alone, because this value is the same in network and host orders.

Submitted by:	Mark Tinguely <tinguely@plains.NoDak.edu>
1995-04-10 18:42:10 +00:00
wollman
1697e99bc1 Forgot to add these two.
Submitted by:	Mark Tinguely <tinguely@plains.NoDak.edu>
1995-03-31 21:18:13 +00:00
wollman
428c06c40e Fix paths of dump files and PID file.
Added man pages for mrinfo and map-mbone.
Rewrote all man pages to use mdoc(7).

Submitted by:	Mark Tinguely <tinguely@plains.NoDak.edu>
1995-03-31 21:16:59 +00:00
wollman
31792c4cce This set of patches enables IP multicasting to work under FreeBSD. I am
submitting them as context diffs for the following files:

sys/netinet/ip_mroute.c
sys/netinet/ip_var.h
sys/netinet/raw_ip.c
usr.sbin/mrouted/igmp.c
usr.sbin/mrouted/prune.c

The routine rip_ip_input in raw_ip.c is suggested by Mark Tinguely
(tinguely@plains.nodak.edu). I have been running mrouted with these patches
for over a week and nothing has seemed seriously wrong. It is being run in
two places on our network as a tunnel on one and a subnet querier on the
other. The only problem I have run into is that mrouted on the tunnel must
start up last or the pruning isn't done correctly and multicast packets
flood your subnets.

Submitted by:	Soochon Radee <slr@mitre.org>
1995-03-16 16:25:55 +00:00
wollman
c4bbb7f6e5 Make it compile and (except for mrouted which is untested as yet) run.
Some of these ``modified'' files aren't really modified at all, but CVS
isn't smart enough to know the difference.
1994-09-08 02:51:37 +00:00
wollman
21876867d8 mrouted from multicast 3.3 distribution 1994-09-08 00:26:13 +00:00