History log of /freebsd-10.1-release/sbin/routed/if.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 204405 27-Feb-2010 uqs

routed(8)/rtquery(8) bump/demote to WARNS=3 for all archs

- The MACHINE_ARCH check is not exhaustive (missing at least powerpc),
and generally not worth maintaining.
- While here, fix whitespace and ordering of the Makefile

PR: bin/140081
Approved by: ed (co-mentor)


# 201145 28-Dec-2009 antoine

(S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.
Fix some wrong usages.
Note: this does not affect generated binaries as this argument is not used.

PR: 137213
Submitted by: Eygene Ryabinkin (initial version)
MFC after: 1 month


# 190717 05-Apr-2009 phk

Fix casts which are not by definition safe, but which malloc(3)
makes safe for us.


# 190715 05-Apr-2009 phk

Modernize prototypes (ie: no extern)

Make lots of stuff static.


# 190713 05-Apr-2009 phk

Convert list of remote interfaces to LIST_* macros


# 190712 05-Apr-2009 phk

Kick WARNS level up to 6 by fixing various trivial warnings.


# 190711 05-Apr-2009 phk

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


# 180993 30-Jul-2008 phk

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


# 153558 20-Dec-2005 maxim

o Remove rev. 1.14 debug printf(3) leftovers.

PR: bin/90389
Submitted by: Gavin Atkinson
OK'ed by: phk


# 146838 31-May-2005 stefanf

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


# 133715 14-Aug-2004 phk

Don't declare everything we find on a loopback interface for passive:

Only the actual loopback address should be declared passive, other
addresses are very likely to be desirable to announce.

Check for IFF_LOOPBACK instead of IFF_PASSIVE to determine if we have
an unknown interface type.


# 128186 13-Apr-2004 luigi

Replace ROUNDUP/ADVANCE with SA_SIZE


# 128073 09-Apr-2004 markm

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

Approved by: core, imp


# 126250 25-Feb-2004 bms

Sync HEAD sources to vendor branch import of routed v2.27 from rhyolite.com.
Update <protocols/routed.h> for the MD5 changes requested in bin/35843.
Preserve local changes.

Education by: obrien, markm, pointy-stick
PR: bin/35843 (and doubtless others)


# 108533 01-Jan-2003 schweikh

Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
especially in troff files.


# 90868 18-Feb-2002 mike

o Move NTOHL() and associated macros into <sys/param.h>. These are
deprecated in favor of the POSIX-defined lowercase variants.
o Change all occurrences of NTOHL() and associated marcros in the
source tree to use the lowercase function variants.
o Add missing license bits to sparc64's <machine/endian.h>.
Approved by: jake
o Clean up <machine/endian.h> files.
o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>.
o Remove prototypes for non-existent bswapXX() functions.
o Include <machine/endian.h> in <arpa/inet.h> to define the
POSIX-required ntohl() family of functions.
o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>,
and <sys/param.h>.
o Prepend underscores to the ntohl() family to help deal with
complexities associated with having MD (asm and inline) versions, and
having to prevent exposure of these functions in other headers that
happen to make use of endian-specific defines.
o Create weak aliases to the canonical function name to help deal with
third-party software forgetting to include an appropriate header.
o Remove some now unneeded pollution from <sys/types.h>.
o Add missing <arpa/inet.h> includes in userland.

Tested on: alpha, i386
Reviewed by: bde, jake, tmm


# 64526 11-Aug-2000 sheldonh

(null commit)

Reflect that the update to routed-2.22 addresses a problem discussed
in PR bin/16941. The updated release also incorporates our local
buffer overflow fix (implemented differently) and puts us in a
position where we are completely synchronized with the master
distribution, apart from the stupid spammage of the #ident
definitions, which are supposed to indicate the release version,
not individual source file revisions.

This distribution was not moved into contrib because of objections
from wollman. He feels that the software is original Berkeley
code that shouldn't be imported into contrib just because it
has an external maintainer.


# 64483 10-Aug-2000 sheldonh

Resolve conflicts.


# 50969 05-Sep-1999 peter

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


# 50476 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 46303 02-May-1999 markm

Merge-o-matic and add a bunch of $Id's


# 37908 28-Jul-1998 charnier

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().


# 27503 18-Jul-1997 julian

Check if routed had the same problems that route(1) had.
The answer is not really, but almost.
it sent data that was ok, though it was a hack,
but it was bug-compatible with the kernel on receiving them. This also
had been fixed with a hack.. I hacked it better I think.


# 21379 06-Jan-1997 wollman

This commit was generated by cvs2svn to compensate for changes in r21378,
which included commits to RCS files with non-trunk default branches.


# 21378 06-Jan-1997 wollman

Quoth Vern:

ftp.sgi.com:sgi/src/routed.tar.Z has a fix that has been cooking for a week
or so and that fixes a problem in the new hash tables for zillions of
interface aliases. The bug was that interfaces that come and go, such
as for SLIP and PPP, would get permanently lost.

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


# 20606 17-Dec-1996 wollman

Latest routed from Vern Schryver. This is supposed to fix
Andrey's rtquery problem.

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


# 20339 11-Dec-1996 wollman

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>


# 19880 19-Nov-1996 wollman

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>


# 18316 16-Sep-1996 wollman

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>