diff options
-rw-r--r-- | sbin/route/route.8 | 8 | ||||
-rw-r--r-- | share/man/man4/rdomain.4 | 11 |
2 files changed, 14 insertions, 5 deletions
diff --git a/sbin/route/route.8 b/sbin/route/route.8 index f135dc083d8..32e3a721797 100644 --- a/sbin/route/route.8 +++ b/sbin/route/route.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: route.8,v 1.103 2022/03/31 17:27:20 naddy Exp $ +.\" $OpenBSD: route.8,v 1.104 2022/07/29 18:28:32 kn Exp $ .\" $NetBSD: route.8,v 1.6 1995/03/18 15:00:13 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)route.8 8.3 (Berkeley) 3/19/94 .\" -.Dd $Mdocdate: March 31 2022 $ +.Dd $Mdocdate: July 29 2022 $ .Dt ROUTE 8 .Os .Sh NAME @@ -78,6 +78,8 @@ Suppress all output. .It Fl T Ar rtable Select an alternate routing table to modify or query. The default is to use the current routing table. +The current routing table can be displayed with +.Xr id 1 . .It Fl t Write routing messages to a fake device .Pa ( /dev/null ) @@ -624,10 +626,12 @@ low on resources and was unable to allocate memory to create the new entry. .El .Sh SEE ALSO +.Xr id 1 , .Xr netstat 1 , .Xr gethostbyname 3 , .Xr netintro 4 , .Xr route 4 , +.Xr rtable 4 , .Xr tcp 4 , .Xr hosts 5 , .Xr mygate 5 , diff --git a/share/man/man4/rdomain.4 b/share/man/man4/rdomain.4 index 503cb3c75a6..06100606b6b 100644 --- a/share/man/man4/rdomain.4 +++ b/share/man/man4/rdomain.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rdomain.4,v 1.18 2022/03/31 17:27:21 naddy Exp $ +.\" $OpenBSD: rdomain.4,v 1.19 2022/07/29 18:28:32 kn Exp $ .\" .\" Copyright (c) 2015 Peter Hessler <phessler@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: March 31 2022 $ +.Dd $Mdocdate: July 29 2022 $ .Dt RDOMAIN 4 .Os .Sh NAME @@ -114,10 +114,14 @@ in rtable 4: .Pp .Dl # route -T4 exec /usr/sbin/sshd .Pp -Display to which rdomain processes are assigned: +Display the routing table used by each process: .Pp .Dl $ ps aux -o rtable .Pp +Display the routing table of the current process: +.Pp +.Dl $ id -R +.Pp A .Xr pf.conf 5 snippet to block incoming port 80, @@ -133,6 +137,7 @@ Delete rdomain 4 again: # ifconfig lo4 destroy .Ed .Sh SEE ALSO +.Xr id 1 , .Xr netstat 1 , .Xr ps 1 , .Xr lo 4 , |