#!/usr/bin/perl # list_spoof.cgi # Show spoofing prevention form require './itsecur-lib.pl'; &can_use_error("spoof"); &header($text{'spoof_title'}, "", undef, undef, undef, undef, &apply_button()); print "
\n"; print "
\n"; print "\n"; print "\n"; print "
$text{'spoof_header'}
\n"; ($iface, @nets) = &get_spoof(); print "\n"; print "\n"; print "
$text{'spoof_desc'} \n"; printf " %s
\n", $iface ? "" : "checked", $text{'spoof_disabled'}; printf " %s\n", $iface ? "checked" : "", $text{'spoof_enabled'}; print &iface_input("iface", $iface); print "
$text{'spoof_nets'} \n"; print "
\n"; print "
\n"; &can_edit_disable("spoof"); print "
\n"; &footer("", $text{'index_return'});