There is a table you might like, probably called connections.
Yes, however the fail2ban utility (and others like it) only read from log files. I suppose I could write my own script to scrape the data out of the connections table into a log file for fail2ban to watch, but that does seem a bit extreme.
