I see the following pattern in every 2-3 sec, for several minutes in syslog:
Shorewall:net2fw:DROP:IN=eth0 OUT= MAC=aa:bb:cc:dd:ee:ff:gg:hh:ii:jj:kk:ll:mm:nn SRC=12.34.56.78 DST=98.76.54.32 LEN=60 TOS=0x00 PREC=0x00 TTL=41 ID=12746 DF PROTO=TCP SPT=41611 DPT=22 WINDOW=5840 RES=0x00 SYN URGP=0
where values at ID and SPT are different in each line.The server is Debian 6.0, with shorewall and fail2ban.
How can I narrow down what is going on and use fail2ban and shorewall to better block this?

DPT=destination port,SYN= connection establishment attempt) on your machine (SSH). – Mat Dec 19 '12 at 12:28