I'm on the trail of a puzzle about the skynet logging. With the customary filter:
Code:
# logs everything from Skynet to /opt/var/log/skynet-0.log
filter f_skynet {
program("Skynet") or
message("BLOCKED -") or
message("DROP IN=");
};
I get this in my skynet-0.log file:
Code:
Apr 10 10:17:26 RT-AC56R kernel: [BLOCKED - INBOUND] IN=eth0 OUT= MAC=2c:56:dc:54:63:00:00:7e:95:41:90:19:08:00 SRC=185.176.27.242 DST=96.58.128.193 LEN=40 TOS=0x00 PREC=0x00 TTL=239 ID=56329 PROTO=TCP SPT=59128 DPT=3364 SEQ=741691884 ACK=0 WINDOW=1024 RES=0x00 SYN URGP=0 MARK=0x81000000
Apr 10 10:19:09 RT-AC56R kernel: [BLOCKED - INBOUND] IN=eth0 OUT= MAC=2c:56:dc:54:63:00<4>[BLOCKED - INBOUND] IN=eth0 OUT= MAC=2c:56:dc:54:63:00:00:7e:95:41:90:19:08:00 SRC=185.254.122.20 DST=96.58.128.193 LEN=40 TOS=0x00 PREC=0x00 TTL=237 ID=28881 <4>[BLOCKED - INBOUND] IN=eth0 OUT= MAC=2c:56:dc:54:63:00:00:7e:95:41:90:19:08:00 SRC=89.248.168.112 DST=96.58.128.193 LEN=40 TOS=0x00 PREC=0x00 TTL=236 ID=54321 OOTPST401DT50 E=93166AK0WNO=53 E=x0SNUG= <4>[BLOCKED - INBOUND] IN=eth0 OUT= MAC=2c:56:dc:54:63:00:00:7e:95:41:90:19:08<4>[BLOCKED - INBOUND] IN=eth0 OUT= MAC=<4>[BLO.....
You can see that the 10:17:26 message looks properly logged. The next message, at 10:19:09, is a repeating sequence of partial iptables output (I've truncated it above).
At the same time, in my messages file, I am getting this:
Code:
Apr 10 10:17:17 RT-AC56R kernel: :56:dc:54:63:00:00:7e:95:41:90:19:08:00 SRC=152.171.166.4 DST=96.58.128.193 LEN=40 TOS=0x16 PREC=0x00 TTL=47 ID=40675 PROTO=TCP SPT=15485 DPT=23 SEQ=1614446785 ACK=0 WINDOW=4437 RES=0x00 SYN URGP=0
Apr 10 10:18:39 RT-AC56R kernel: PROTO=TCP SPT=38668 DPT=8000 SEQ=3100892464 ACK=0 WINDOW=65535 RES=0x00 SYN URGP=0
Apr 10 10:19:35 RT-AC56R kernel: :90:19:08:00 SRC=107.170.234.219 DST=96.58.128.193 LEN=40 TOS=0x00 PREC=0x00 TTL=238 ID=54321 PROTO=TCP SPT=44043 DPT=21 SEQ=4103115799 ACK=0 PROTO=TCP SPT=56370 DPT=3438 SEQ=1750090962 ACK=0 WINDOW=1024 RES=0x00 SYN URGP=0 MARK=0x80800000
These look like fragments as well. Both skynet-0 and messages are filled with these stutterings (my technical term for utterings that are not messages). Anyone else seeing this?