#!/usr/bin/perl # list_syn.cgi # Show syn attack prevention form require './itsecur-lib.pl'; &can_use_error("syn"); &header($text{'syn_title'}, "", undef, undef, undef, undef, &apply_button()); print "
\n"; print "
\n"; print "\n"; print "\n"; print "
$text{'syn_header'}
\n"; ($flood, $spoof, $fin) = &get_syn(); print "\n", $flood ? "" : "checked", $text{'no'}; print "\n", $spoof ? "" : "checked", $text{'no'}; print "\n", $fin ? "" : "checked", $text{'no'}; print "
$text{'syn_flood'} \n"; printf " %s\n", $flood ? "checked" : "", $text{'yes'}; printf " %s
$text{'syn_spoof'} \n"; printf " %s\n", $spoof ? "checked" : "", $text{'yes'}; printf " %s
$text{'syn_fin'} \n"; printf " %s\n", $fin ? "checked" : "", $text{'yes'}; printf " %s
\n"; print "
\n"; &can_edit_disable("syn"); print "
\n"; &footer("", $text{'index_return'});