This file is indexed.

/etc/init.d/setkey is in ipsec-tools 1:0.8.2+20140711-5.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#!/bin/sh
### BEGIN INIT INFO
# Provides:          setkey
# Required-Start:    $remote_fs
# Required-Stop:     $remote_fs
# Default-Start:     S
# Default-Stop:
# Short-Description: option to manually manipulate the IPsec SA/SP database 
### END INIT INFO

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
SETKEY=/usr/sbin/setkey
SETKEY_CONF=/etc/ipsec-tools.conf
SETKEY_CONF_DIR=/etc/ipsec-tools.d
NAME=setkey


RUN_SETKEY="yes"
if [ -f /etc/default/setkey ] ; then
	. /etc/default/setkey
fi

test -x $SETKEY -a -f $SETKEY_CONF || exit 0

if [ $RUN_SETKEY != "yes" ] ; then
	exit 0
fi

set -e

. /lib/lsb/init-functions

case "$1" in
  start)
	log_begin_msg "Loading IPsec SA/SP database: "
	err=0
	for file in $SETKEY_CONF $SETKEY_CONF_DIR/*.conf ; do
	if [ -r "$file" ] ; then
	# Insert a manual newline until lsb-base amends its code.
	echo
	log_progress_msg " - ${file}"
	$SETKEY -f $file || err=1
	fi
	done
	log_end_msg $err
	;;
  stop)
	log_begin_msg "Flushing IPsec SA/SP database: "

	err=0
	$SETKEY -F || err=1
	$SETKEY -FP || err=1
	log_end_msg $err
	;;
  restart|force-reload)
	$0 stop
	$0 start
	echo "done."
	;;
  *)
	N=/etc/init.d/$NAME
	log_success_msg "Usage: $N {start|stop|restart|force-reload}" >&2
	exit 1
	;;
esac

exit 0