summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mrouted/mtrace.c
Commit message (Collapse)AuthorAgeFilesLines
* Check for FD_SET overruns.nectar2002-09-091-0/+2
| | | | Obtained from: NetBSD
* String buffer safety cleanup. I don't think any of these were exploitablekris2000-10-091-3/+1
| | | | | | | | | | | remotely, but they would be if e.g. it happened to call the logging function using a DNS hostname. Also replace random() by arc4random() - only one of these is arguably required since it's directly used in the protocol, but we might as well replace both to avoid using two different PRNGs. Reviewed by: green, alex
* 1000000 usec -> 1 sec 0 usec; fix.charnier2000-03-261-2/+2
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Resolve conflicts.fenner1999-01-201-278/+689
|
* Don't assume that time_t is long. Fixed printf format errors (don'tbde1998-06-291-20/+27
| | | | assume that ntohl() returns long).
* use strncpy correctlyimp1998-06-091-3/+5
| | | | | | | | | | 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
* Add rcsid. Change exit(-1). Use err() instead of warn()/exit().charnier1998-01-161-10/+6
|
* Use err(3). Add usage(). Rewrote man pages in mdoc format.charnier1997-09-301-61/+60
|
* Fix possible gethostbyname-related overflows as pointed out infenner1997-02-091-1/+2
| | | | PR#bin/2585 .
* Merge from release 5.1.fenner1996-12-201-159/+890
|
* Update to the unreleased mrouted 3.8a . This includes a minorfenner1996-11-111-73/+295
| | | | | | | | | | | | | 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 .
* Release setuid immediately after initializing; this minimizes thefenner1996-10-011-5/+4
| | | | | | | | 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>
* Resync our mainline to mrouted release 3.8.peter1996-01-061-127/+473
| | | | | | | 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
* Upgrade to mrouted version 3.6. This includes a substantial clean-upwollman1995-06-281-135/+333
| | | | | | and ANSIfication of much of the source base. Thanks, Bill! Submitted by: patch from Bill Fenner <fenner@parc.xerox.com>
* This is mrouted version 3.5, with the route-change notification hook fromwollman1995-06-131-321/+1136
| | | | | | | | | 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
* Remove trailing whitespace.rgrimes1995-05-301-12/+12
|
* A number of bug fixes to mrouted (no functionality enhancements from 3.5, justjkh1995-05-161-33/+23
| | | | | | | | | | | | | | 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>
* Make it compile and (except for mrouted which is untested as yet) run.wollman1994-09-081-1/+2
| | | | | Some of these ``modified'' files aren't really modified at all, but CVS isn't smart enough to know the difference.
* mrouted from multicast 3.3 distributionwollman1994-09-081-0/+459
OpenPOWER on IntegriCloud