 
 </cfloop>
 
-
-<cfdump var=#x#>
 </cfoutput>
 
 

	<cfquery name="thisRequests" dbtype="query">
		select * from x where ip='#ip#' order by ts
	</cfquery>
	<cfif thisrequests.recordcount lte 10>
		<br>less than 10, ignore
	<cfelse>

		<cfset lastTime=ISOToDateTime("2000-11-08T12:36:0")>
		<cfset nrq=0>

		<cfloop query="thisRequests">
			<br>#ts#
			<br>#rqst#


			<cfset thisTime=ISOToDateTime(ts)>
			<cfset ttl=DateDiff("s", lastTime, thisTime)>
			<br>#ttl#

			<cfif ttl lte 10>
				<cfset nrq=nrq+1>
			</cfif>

			<cfset lastTime=thisTime>

		</cfloop>

		<cfif nrq gt 10>
			<p>
				abuse....
			</p>
			<cfset maybeBad=listappend(maybeBad,'#ip#|#nrq#',",")>
		</cfif>
		<p>
			NRQ: #nrq#
		</p>
		gonna loop....
	</cfif>
</cfloop>

<p>
	maybeBad: #maybeBad#
</p>
<cfloop list="#maybeBad#" index="o" delimiters=",">
	<br>--o=#o#
	<cfset thisIP=listgetat(o,1,"|")>


<!--- don't care about scheduled tasks ---->
<cf_qoq>
	delete from x where ip='0.0.0.0'
</cf_qoq>
<!--- for now, ignore cfc request ---->
<cfquery name="x" dbtype="query">
	select * from x where rqst not like '%.cfc%'
</cfquery>

<cfquery name="dip" dbtype="query">
	select distinct(ip) from x
</cfquery>
