History log of /freebsd-current/sbin/route/Makefile
Revision Date Author Comments
# 51e16cb8 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

sbin: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by: Netflix


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

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# ab4d1b73 13-Jun-2023 Yan Ka, Chiu <nyan@myuji.xyz>

route(8): teach route to attach to jails

Add -j <jail> flag to route(8) to allow route to perform actions in
a Jail.

Differential Revision: https://reviews.freebsd.org/D40377
MFC after: 2 weeks


# 091fec11 08-Apr-2023 Alexander V. Chernikov <melifaro@FreeBSD.org>

route: switch transport protocol to Netlink.

All known bugs have been fixed, try to enable Netlink once again.


# bd9d75e4 28-Mar-2023 Alexander V. Chernikov <melifaro@FreeBSD.org>

route: revert transport to rtsock

Temporary switch route(8) back to using rtsock to address
the discovered issues.


# c597432e 26-Mar-2023 Alexander V. Chernikov <melifaro@FreeBSD.org>

route(8): convert to netlink

This change converts all kernel rtsock interactions in route(8)
to Netlink.

Based on the WITHOUT_NETLINK_SUPPORT src.conf(5) variable, route(8)
now fully operates either via Netlink or via rtsock/sysctl.
The default (compile-time) is Netlink.

The output for route delete/add/get/flush is targeted to be exactly
the same (apart from some error handling cases).
The output for the route monitor has been changed to improve
readability and support netlink models.

Other behaviour changes:
* exact prefix lookup (route -n get a.b.c.d/e) is not yet supported.
* route monitor does not show the change originator yet.

Differential Revision: https://reviews.freebsd.org/D39007


# 3b01bf88 22-Jul-2020 Tom Jones <thj@FreeBSD.org>

Add tests for "add", "change" and "delete" functionality of /sbin/route.

Add tests to cover "add", "change" and "delete" functionality of /sbin/route
for ipv4 and ipv6. These tests for the existing route tool are the first step
towards creating libroute.

Submitted by: Ahsan Barkati
Sponsored by: Google, Inc. (GSoC 2020)
Reviewed by: kp, thj
Approved by: bz (mentor)
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D25220


# 406d87b1 09-Feb-2016 Glen Barber <gjb@FreeBSD.org>

Explicitly add more files to the 'runtime' package.

Sponsored by: The FreeBSD Foundation


# 478290db 30-Sep-2014 Enji Cooper <ngie@FreeBSD.org>

Check in first src/tests snapshot from NetBSD anoncvs

Sources were obtained like so:

% export CVSROOT="anoncvs@anoncvs.NetBSD.org:/cvsroot"
% cvs -z9 co -D "09/30/2014 20:45" -P src/tests
% mv src/tests/* tests/dist/.

'*CVS*' has been added to svn:ignore to ease updating periodically from
upstream

Some line ending issues had to be resolved with test outputs and scripts
via dos2unix and by deleting the eol-style property set in usr.bin/sort

Discussed with: rpaulo
Sponsored by: EMC / Isilon Storage Division


# c6063d0d 05-May-2014 Warner Losh <imp@FreeBSD.org>

Use src.opts.mk in preference to bsd.own.mk except where we need stuff
from the latter.


# 826b6d69 17-Jul-2013 Hiroki Sato <hrs@FreeBSD.org>

- Add support of MK_INET_SUPPORT=no.
- Fix a bug in sodump() which prevented struct sockaddr_in6 from displaying.
- Fix a bug in in fiboptlist_csv() which could cause free() of uninitialized
pointer.
- Style cleanups:
. Add missing "static" keywords.
. Use an array of struct sockaddr_storage instead of sockunion for rtmsg.
. Use err() and errx() instead of pair of fprintf(stderr, "...") + exit(1).
. Use nitems() macro.
. Various style(9) fixes.


# 0365230a 17-Jul-2013 Hiroki Sato <hrs@FreeBSD.org>

Simplify keywords.h generation.


# 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.


# f62e48f5 27-Feb-2010 Ulrich Spörlein <uqs@FreeBSD.org>

route(8): make WARNS=3 clean

- add static and const where appropriate
- check pointers against NULL
- minor styling nits
- it is actually WARNS=6 clean for non-strict alignment platforms

This is shamelessly stolen from DragonflyBSD and reduces our diff.

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


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

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


# 491bafe5 27-Jul-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Obey MK_INET6_SUPPORT.
This is also a good chance to apply style.Makefile(5) in some cases.


# 604d24db 23-Feb-2004 Johan Karlsson <johan@FreeBSD.org>

style.Makefile(5):
Use WARNS?= instead of WARNS=.


# 90862ca2 04-Aug-2003 Andrey A. Chernov <ache@FreeBSD.org>

LANG->LC_ALL

Pointed by: ru


# b13fdf99 04-Aug-2003 Andrey A. Chernov <ache@FreeBSD.org>

Fix problem differently, use 
LANG=C tr 'a-z' 'A-Z' 
for hypotetical case that script may generate non-ascii characters


# 7f0ea49c 04-Aug-2003 Andrey A. Chernov <ache@FreeBSD.org>

Use tr '[:lower:]' '[:upper:]' to work with any locale


# df422a12 12-Apr-2002 Ruslan Ermilov <ru@FreeBSD.org>

Removed the cruft that became cruft after rev. 1.4.
Fixed CLEANFILES.


# 2d68bf45 03-Dec-2001 David E. O'Brien <obrien@FreeBSD.org>

Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0.

Reviewed by: mike


# 162c0b2e 30-Aug-2001 Ruslan Ermilov <ru@FreeBSD.org>

Synch with NetBSD and OpenBSD.

Allow non-superuser to open, listen to, and send safe commands on the
routing socket. Superuser priviledge is required for all commands
but RTM_GET.

Lose `setuid root' bit of route(8).

Reviewed by: wollman, dd


# 0a5779d4 26-Mar-2001 Ruslan Ermilov <ru@FreeBSD.org>

- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.


# fe655281 20-Mar-2001 Ruslan Ermilov <ru@FreeBSD.org>

Set the default manual section for sbin/ to 8.


# 57a40e9e 14-Dec-1999 Yoshinobu Inoue <shin@FreeBSD.org>

Enable INET6 by default.
This should be OK on non INET6 enabled kernel.


# cfa1ca9d 07-Dec-1999 Yoshinobu Inoue <shin@FreeBSD.org>

udp IPv6 support, IPv6/IPv4 tunneling support in kernel,
packet divert at kernel for IPv6/IPv4 translater daemon

This includes queue related patch submitted by jburkhol@home.com.

Submitted by: queue related patch from jburkhol@home.com
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project


# be0cde6f 19-Sep-1998 David E. O'Brien <obrien@FreeBSD.org>

Remove useless `BINOWN=root' now that it is the default.


# 8fd0ef39 02-Apr-1997 Poul-Henning Kamp <phk@FreeBSD.org>

unifdef CCITT, ISO & CRUFT.


# 98ca8a3e 16-Oct-1996 Jordan K. Hubbard <jkh@FreeBSD.org>

Bring back NS support for this utility - we need it for the commercial Novell
server software.


# 914b41c2 09-Aug-1996 Julian Elischer <julian@FreeBSD.org>

Reviewed by: julian
Submitted by: archie@whistle.com

This patch allows true interface routing to be controlled
from the command line..
you can now do:
route add default -interface ppp0
even if you have no clue what the address at the other end is..

this is part of a set of changes that allow true "unnumbered links"
such as netcom run between their sites..
In practice you should assign the address from one of your ethernet
interfaces to the local side of the P2P link so that IP doesn't
say that the packet comes from 255.255.255.255, but
there is no need whatsoever to assign an address of any kind
to the remote end of the link.. useful for frame relay links etc also.


# 0761cb29 06-Feb-1996 Garrett Wollman <wollman@FreeBSD.org>

Remove support for OSI networking in user-land (#ifdef OSI aor CCITT)
in preparation for its removal from the kernel source tree. NB: because
a function was deleted, libc is now at version 3.0 (was 2.2 previously).


# 0a1c8875 14-Aug-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Make keywords.h get properly built.
Submitted by: jkh


# 404c1a5f 04-Aug-1994 Garrett Wollman <wollman@FreeBSD.org>

Convert to our man installation style. Also fixed long-standing bug
in `fastboot'/`fasthalt' in which the interpreter would hang around
after `reboot' or `halt' is run, causing an irritating ``Killed'' message.


# 1e0b7c18 28-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

Remove old style manual page depends so make install with NOMAN set
can run.


# 8fae3551 26-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite sbin Sources

Note: XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.