xref: /illumos-gate/usr/src/test/os-tests/tests/tcpsig/tcpsig_fini.ksh (revision eac40bb3773af39d290bd832c86fb016aa367ca4)
1#!/usr/bin/ksh
2#
3# This file and its contents are supplied under the terms of the
4# Common Development and Distribution License ("CDDL"), version 1.0.
5# You may only use this file in accordance with the terms of version
6# 1.0 of the CDDL.
7#
8# A full copy of the text of the CDDL should have accompanied this
9# source.  A copy of the CDDL is also available via the Internet at
10# http://www.illumos.org/license/CDDL.
11#
12
13#
14# Copyright 2024 Oxide Computer Company
15#
16
17for ip in 127.0.0.1 ::1; do
18	/usr/sbin/tcpkey >/dev/null 2>&1 <<- EOM
19	delete src $ip dst $ip dport 24135
20	delete src $ip dst $ip sport 24135
21	delete src $ip dst $ip dport 24136
22	delete src $ip dst $ip sport 24136
23	delete src $ip dst $ip dport 24137
24	delete src $ip dst $ip dport 24138
25	delete src $ip dst $ip sport 24138
26	EOM
27done
28
29exit 0
30