This file is indexed.

/etc/network/if-up.d/ip is in vlan 1.9-3ubuntu10.

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
#!/bin/sh
# This should probably go into ifupdown
# But usually only those with lots of interfaces (vlans) need these
if [ -d "/proc/sys/net/ipv4/conf/$IFACE" ]
then
	if [ -n "$IF_IP_PROXY_ARP" ]; then
		if [ "$IF_IP_PROXY_ARP" -eq "1" ]; then
			echo 1 > "/proc/sys/net/ipv4/conf/$IFACE/proxy_arp"
		else
			echo 0 > "/proc/sys/net/ipv4/conf/$IFACE/proxy_arp"
		fi
	fi
	if [ -n "$IF_IP_RP_FILTER" ]; then
		if [ "$IF_IP_RP_FILTER" -eq "0" ]; then
			echo 0 > "/proc/sys/net/ipv4/conf/$IFACE/rp_filter"
		else
			echo 1 > "/proc/sys/net/ipv4/conf/$IFACE/rp_filter"
		fi
	fi
fi