I have some iptables rules that produces entries in files such as /proc/self/net/xt_recent/DEFAULT
The files contain entries like the following:
src=203.0.113.123 ttl: 64 last_seen: 122885298 oldest_pkt: 4 122852593, 12285459
5, 122858603, 122885298, 122822088, 122823091, 122825095, 122829189, 122829439,
122829829, 122830078, 122830341, 122830591, 122831092, 122832095, 122834099, 122
835401, 122835651, 122836152, 122837155, 122838498, 122838748, 122839249, 122840
078, 122840328, 122840829, 122841831, 122843835, 122847843, 122850840, 122851090
, 122851591
Apparently those times are 'jiffy' and not 'epoch'. I have no idea where to start in converting jiffies to a normal time format. What module(s) can help to convert them to usable times?