History log of /freebsd-current/sbin/routed/main.c
Revision Date Author Comments
# 0b8224d1 24-Nov-2023 Warner Losh <imp@FreeBSD.org>

Remove copyright strings ifdef'd out

We've ifdef'd out the copyright strings for some time now. Go ahead and
remove the ifdefs. Plus whatever other detritis was left over from other
recent removals. These copyright strings are present in the comments and
are largely from CSRG's attempt at adding their copyright to every
binary file (which modern interpretations of the license doesn't
require).

Sponsored by: Netflix


# da5432ed 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: alt two-line .c pattern

Remove /^\s*__RCSID\("\$FreeBSD\$"\);\n\n/


# b3e76948 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# 7e757182 25-Dec-2020 Xin LI <delphij@FreeBSD.org>

sbin/routed: Remove unused code for sgi and NetBSD.

MFC after: 2 weeks


# 5539da56 27-Dec-2017 Warner Losh <imp@FreeBSD.org>

When bind fails, make sure we closed the socket we tried to bind the
address to.

CID: 978244


# 8a16b7a1 20-Nov-2017 Pedro F. Giffuni <pfg@FreeBSD.org>

General further adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 3-Clause license.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.


# fbbd9655 28-Feb-2017 Warner Losh <imp@FreeBSD.org>

Renumber copyright clause 4

Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96


# bdfd68dc 15-May-2016 Pedro F. Giffuni <pfg@FreeBSD.org>

routed(8): Use arc4random_uniform instead of arc4random.

Use arc4random_uniform() when the desired random number upper bound
is not a power of two.

While here, we don't need srandom() and friends anymore.

Obtained from: OpenBSD (CVS rev. 1.20)


# 365cb451 14-May-2016 Pedro F. Giffuni <pfg@FreeBSD.org>

routed(8): Use arc4random.

CID: 1305962
Obtained from: NetBSD (CVS Rev. 1.34, Itojun)


# 562c5a82 14-May-2016 Pedro F. Giffuni <pfg@FreeBSD.org>

routed(8): use NULL instead of zero for pointers.


# b9f70ced 20-Sep-2014 Hiroki Sato <hrs@FreeBSD.org>

Fix a bug which could make routed(8) daemon exit by sending a special RIP
query from a remote machine, and disable accepting it by default. This
requests a routed(8) daemon to dump routing information base for debugging
purpose. An -i flag to enable it has been added.


# 4b85a12f 07-Jan-2012 Ulrich Spörlein <uqs@FreeBSD.org>

Spelling fixes for sbin/


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# 49694c6d 05-Apr-2009 Poul-Henning Kamp <phk@FreeBSD.org>

Some constifications


# f2ca6d8a 05-Apr-2009 Poul-Henning Kamp <phk@FreeBSD.org>

Modernize prototypes (ie: no extern)

Make lots of stuff static.


# 38ae6523 05-Apr-2009 Poul-Henning Kamp <phk@FreeBSD.org>

Use <sys/queue.h> to manage the interface list.


# 3b3e61fa 05-Apr-2009 Poul-Henning Kamp <phk@FreeBSD.org>

Remove newlines from string argument of __COPYRIGHT(), it results in
assembler warning messages.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 68b22388 30-Jul-2008 Poul-Henning Kamp <phk@FreeBSD.org>

Update routed to use the RFC 3678 protocol-independent multicast API. Use
IP_MULTICAST_IF with struct ip_mreqn (obtained from Linux) to tell the
stack which interface index to use for sending IPv4 datagrams.

Submitted by: bms
Tested by: phk


# a4fff644 05-Nov-2006 Tom Rhodes <trhodes@FreeBSD.org>

Sync up with rhyolite routed 2.31 which fixes the handling of varargs.
Remove -p from usage, it's gone completely now.

PR: 83387
Submited by: arved


# 92e7a424 31-May-2005 Stefan Farfeleder <stefanf@FreeBSD.org>

Remove #ident directives, they don't exist on the vendor branch anymore.


# 4c723140 09-Apr-2004 Mark Murray <markm@FreeBSD.org>

Remove advertising clause from University of California Regent's license,
per letter dated July 22, 1999.

Approved by: core, imp


# caa79e36 25-Feb-2004 Bruce M Simpson <bms@FreeBSD.org>

Virgin import of rhyolite.com routed v2.27


# ae4ce2c1 10-Feb-2003 Andrey A. Chernov <ache@FreeBSD.org>

Use srandomdev() for FreeBSD


# 8b336df1 10-Aug-2000 Sheldon Hearn <sheldonh@FreeBSD.org>

Import routed-2.22.


# f7434bbd 02-Aug-2000 Sheldon Hearn <sheldonh@FreeBSD.org>

Import routed-2.21.


# 7a6c3acc 05-Sep-1999 Peter Wemm <peter@FreeBSD.org>

$Revision$ -> $FreeBSD$ (more cleanup needed here)


# 7f3dea24 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 2c7a9781 02-May-1999 Mark Murray <markm@FreeBSD.org>

Latest-and-greatest routed.
Includes RIPv2 and Router Discovery.

Submitted by: Vernon Schryver <vjs@calcite.rhyolite.com>


# 90100551 28-Jul-1998 Philippe Charnier <charnier@FreeBSD.org>

Spelling, add rcsid, remove unused #includes.
Convert 1000000 usec to 1 sec 0 usec.
Use provided safe malloc (rtmalloc()) instead of malloc(): exit on allocation
failure.
Correct use of .Nm
Add usage() and use errx().


# 6f1edd29 12-Sep-1997 Daniel O'Callaghan <danny@FreeBSD.org>

Fix typo in comment.


# 768b3fbd 18-Jun-1997 Philippe Charnier <charnier@FreeBSD.org>

Sync man page and usage string. Remove unused -p option from getopt call.


# 8d64695c 28-Mar-1997 Warner Losh <imp@FreeBSD.org>

compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


# a30febec 11-Dec-1996 Garrett Wollman <wollman@FreeBSD.org>

Merge from vendor branch.


# 71965874 11-Dec-1996 Garrett Wollman <wollman@FreeBSD.org>

New version of Vern's routed. This includes more byte-order fixes,
some MD5 fixes, better tracing, configurable redirect processing,
and a fix to split-horizon/poisoned-reverse treatment.

Submitted by: Vernon J. Schryver <vjs@mica.denver.sgi.com>


# 1608c04f 20-Nov-1996 Garrett Wollman <wollman@FreeBSD.org>

For some reason the merge of this file didn't get committed properly.
Who has the conical hat?

Make things compile again.


# d5b718b3 19-Nov-1996 Garrett Wollman <wollman@FreeBSD.org>

Latest version of SGI routed courtesy of Vern Schryver. This version
adds the capability to use MD5 authentication as defined in the latest
documents.

Submitted by: Vernon J. Schryver <vjs@mica.denver.sgi.com>


# 50d2cb3e 16-Sep-1996 Garrett Wollman <wollman@FreeBSD.org>

Layer on FreeBSD local changes from old routed.


# 7b6ab19d 16-Sep-1996 Garrett Wollman <wollman@FreeBSD.org>

Virgin import of new BSD/SGI routed. This update contains a number
of important bug fixes.

Obtained from: Vernon J. Schryver <vjs@mica.denver.sgi.com>