diff options
-rw-r--r-- | packages/snort/snort_download_rules.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/snort/snort_download_rules.php b/packages/snort/snort_download_rules.php index 7537df5c..3f9459b8 100644 --- a/packages/snort/snort_download_rules.php +++ b/packages/snort/snort_download_rules.php @@ -43,6 +43,15 @@ include("head.inc"); <form action="snort_download_rules.php" method="post"> <div id="inputerrors"></div> + +<?php + if(!$_GET['start'] && !$_POST['start']) { + echo "Press <a href='snort_download_rules.php?start=yes'>here</a> to start download.<br>"; + include("fend.inc"); + exit; + } +?> + <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td> @@ -98,6 +107,8 @@ if(!$oinkid) { exit; } +ob_flush(); + /* setup some variables */ $snort_filename = "snortrules-snapshot-CURRENT.tar.gz"; $snort_filename_md5 = "snortrules-snapshot-CURRENT.tar.gz.md5"; |