Commit Graph

54 Commits

Author SHA1 Message Date
jkoshy
fc527dc558 Correct use of nonexistent `.SS' macro.
PR: 		docs/8039
Submitted by:	Issei Hirayama <iss@mail.wbs.ne.jp>
1998-09-29 01:42:07 +00:00
obrien
0337d32241 Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:14 +00:00
wosch
68cda92e4a Sort cross references. 1998-08-31 16:41:09 +00:00
bde
64fc186e35 Don't assume that time_t is long. Fixed printf format errors (don't
assume that ntohl() returns long).
1998-06-29 17:51:39 +00:00
bde
be7e982a5e Don't assume that time_t is long. 1998-06-29 17:38:35 +00:00
imp
87738602a9 use strncpy correctly
use strncat correctly
check buffer size in graph_name
Change paths from /tmp to /var/run for server sockets

This has been building in my tree for ages, but has remained lightly
tested.
Reviewed by:	jkh ages ago
1998-06-09 05:01:38 +00:00
bde
34c86699f0 Don't generate y.tab.h, since it is not used. 1998-05-05 13:19:13 +00:00
bde
93e8eab928 Simplified by using new yacc rules. 1998-05-04 19:54:56 +00:00
charnier
6e321f37d4 .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
bde
d3607b7ed9 Use foo/bar.a' instead of -Lfoo -lbar' for linking to static internal
libraries so that `ld -f' in can create correct dependencies for
yet-to-be-built libraries.

Get the default BINDIR correctly (by including ../Makefile.inc recursively.
Override the default it it is wrong.

Don't override defaults when the defaults are correct.

Don't give absolute paths to man page sources.
1998-03-07 09:49:12 +00:00
charnier
c95ad531bd Add rcsid. Change exit(-1). Use err() instead of warn()/exit(). 1998-01-16 07:17:45 +00:00
bde
1a1b424469 Don't use LDDESTDIR. Just put the -L arg in LDADD. 1997-12-17 15:11:43 +00:00
charnier
d6f2e7b752 Use err(3). Add usage(). Rewrote man pages in mdoc format. 1997-09-30 06:15:23 +00:00
pst
1b991716a4 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
b782f4df30 Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
fenner
4c199a227a 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
c02c6e248f Fix possible gethostbyname-related overflows as pointed out in
PR#bin/2585 .
1997-02-09 22:32:04 +00:00
mpp
a6c8953f94 Update some path references to reflect reality.
Submitted by:	max
1997-02-02 00:59:49 +00:00
jkh
808a36ef65 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
5972643f58 Update to match changes in <net/if.h>. 1997-01-03 20:19:50 +00:00
fenner
71ac1d7092 Merge from release 5.1. 1996-12-20 01:32:12 +00:00
fenner
1c08ea8312 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
23dd2b52ec 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
eb4f38517a 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
f0be48c6af 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
8eb37231d4 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
76aaf04516 Change install permissions to 4555 from 4755 1996-05-20 16:42:32 +00:00
mpp
13a1a11a24 Fix a typo.
Submitted by:	David Leonard <d@scry.dstc.edu.au>
1996-04-13 02:09:03 +00:00
peter
35aa0cb102 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
bed17b4ad4 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
43841e4cc0 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
c1d84aebda 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
d4c03f31b9 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
1e46af16e0 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
4443a51352 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
b000628524 - 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
d781851878 - 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
c0e94734e2 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
0fb5fcb5e4 Added a CLEANFILES+= y.tab.h to clean out the temporary file from yacc. 1995-07-08 22:36:06 +00:00
wollman
d3f63bd3ee 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
a7fec366ae 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
d395e15c7c Fix pruning bug described in PR 524.
Submitted by: Soochon Radee <slr@mitre.org>
1995-06-16 16:57:20 +00:00
wollman
7264dc39d6 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
f263333317 Correctly calculate length of local-domain socket name for RSRR server. 1995-06-15 18:30:44 +00:00
cvs2svn
bf0d1f50c5 This commit was manufactured by cvs2svn to create branch 'XEROX'. 1995-06-13 18:05:18 +00:00
wollman
d7ec2bee9b 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
4f960dd75f Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
jkh
87a603cb4d 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
6a4b8abd5d 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
dbd4fdceb7 Forgot to add these two.
Submitted by:	Mark Tinguely <tinguely@plains.NoDak.edu>
1995-03-31 21:18:13 +00:00