error once starting,
i get the below.
pdnsd_test: pdnsd-ctl dump failed. pdnsd resolving disabled! Is pdnsd started and setup correctly?
LILA table is empty.
Adding all 292 syslog entries..../lila:575: Warning: Data truncated for column 'timestamp' at row 1
cursor.execute(sql_cmd)
Done!
Hide duplicate packets. Dupe time interval set to 3600 seconds.
Analyzing packets since the last start...
292 of 292 packets shown (0 hidden).
Starting live log monitoring... Done! (Press CTRL + C to exit LILA)
Traceback (most recent call last):
File "./lila", line 1023, in <module>
try: main()
File "./lila", line 1015, in main
sql_output(lila_table, lila_maxid+1, lila_maxid+new_entries_count)
File "./lila", line 925, in sql_output
outstr += color(chain_col.get(packet[3].lower(), "normal"))+packet[3].ljust(max_chainlen+1)
AttributeError: 'NoneType' object has no attribute 'lower'
Hi
Found the issue.
the iptable suffix did not include "ACCEPT" or "DROP" and that is why it did not knew how to color format it.
fixed by adding (as the manual suggested..)
$IPTABLES -A LOGACCEPT -j LOG --log-prefix "iptables: ACCEPT "
$IPTABLES -A LOGDROP -j LOG --log-prefix "iptables: DROP "