How can I block ip address for 24 hours if in 1 second it hits is more than 100 using iptables.?
100
iptables
iptables does not have the concept of expiration dates.
You would need a program like fail2ban which runs as a daemon and remembers to remove entries that it creates.