Pablo Neira Ayuso
43edc72327
netfilter: nf_log: missing vlan offload tag and proto
...
[ Upstream commit 0d9826bc18 ]
Dump vlan tag and proto for the usual vlan offload case if the
NF_LOG_MACDECODE flag is set on. Without this information the logging is
misleading as there is no reference to the VLAN header.
[12716.993704] test: IN=veth0 OUT= MACSRC=86:6c:92:ea:d6:73 MACDST=0e:3b:eb:86:73:76 VPROTO=8100 VID=10 MACPROTO=0800 SRC=192.168.10.2 DST=172.217.168.163 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=2548 DF PROTO=TCP SPT=55848 DPT=80 WINDOW=501 RES=0x00 ACK FIN URGP=0
[12721.157643] test: IN=veth0 OUT= MACSRC=86:6c:92:ea:d6:73 MACDST=0e:3b:eb:86:73:76 VPROTO=8100 VID=10 MACPROTO=0806 ARP HTYPE=1 PTYPE=0x0800 OPCODE=2 MACSRC=86:6c:92:ea:d6:73 IPSRC=192.168.10.2 MACDST=0e:3b:eb:86:73:76 IPDST=192.168.10.1
Fixes: 83e96d443b ("netfilter: log: split family specific code to nf_log_{ip,ip6,common}.c files")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2020-10-29 10:07:50 +01:00
..
2019-05-21 12:33:38 -07:00
2020-10-29 10:07:50 +01:00
2020-05-22 18:30:34 -07:00
2020-03-12 15:55:00 -07:00
2020-03-12 15:55:00 -07:00
2020-03-30 19:52:37 -07:00
2020-05-12 18:12:40 -07:00
2019-11-01 14:57:52 -07:00
2020-05-31 17:48:46 -07:00
2020-06-20 21:33:57 -07:00
2020-02-19 13:52:32 +01:00
2020-09-26 18:05:22 +02:00
2020-03-29 22:30:57 -07:00
2019-10-04 11:10:56 -07:00
2019-10-04 11:10:56 -07:00
2020-06-18 20:21:51 -07:00
2020-09-12 14:22:13 +02:00
2020-06-20 21:33:57 -07:00
2020-03-08 21:25:37 -07:00
2020-01-03 12:24:34 -08:00
2020-10-29 10:07:05 +01:00
2020-05-20 20:31:27 -04:00
2020-08-19 08:26:59 +02:00
2020-05-02 16:42:51 -07:00
2019-08-08 15:55:10 -07:00
2020-08-19 08:26:59 +02:00
2019-05-21 10:50:45 +02:00
2019-11-07 16:15:56 -08:00
2019-09-20 18:23:33 -07:00
2019-08-08 15:55:10 -07:00
2020-05-19 15:45:11 -07:00
2020-03-30 13:45:04 -07:00
2019-06-21 18:35:51 +02:00
2020-09-26 18:05:22 +02:00
2020-05-28 11:11:45 -07:00
2020-06-30 12:29:39 -07:00
2020-06-18 20:12:34 -07:00
2020-06-30 12:29:39 -07:00
2019-07-05 15:01:15 -07:00
2020-03-02 13:11:46 -07:00
2020-06-30 12:29:39 -07:00
2019-10-04 11:10:56 -07:00
2020-05-24 13:47:27 -07:00
2020-06-19 13:03:47 -07:00
2020-03-09 22:34:58 +01:00
2019-05-21 10:50:45 +02:00
2019-01-28 11:32:58 +01:00
2019-05-21 10:50:45 +02:00
2020-10-29 10:07:07 +01:00
2020-07-07 15:26:37 -07:00
2020-03-29 22:14:49 -07:00
2019-05-30 11:26:32 -07:00
2020-03-12 22:34:48 -07:00
2020-03-11 23:19:40 -07:00
2020-10-29 10:06:59 +01:00
2020-01-29 17:45:20 +01:00
2020-08-19 08:26:59 +02:00
2020-01-21 10:45:49 +01:00
2020-03-16 18:26:54 -07:00
2020-06-12 15:10:12 -07:00
2019-05-21 10:50:45 +02:00
2020-07-09 13:07:45 -07:00
2020-06-25 16:08:47 -07:00
2019-05-30 11:26:32 -07:00
2018-10-10 22:26:00 -07:00
2020-02-27 18:50:19 -08:00
2020-08-19 08:26:59 +02:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2020-10-29 10:07:08 +01:00
2020-10-14 11:55:59 +02:00
2019-05-21 10:50:45 +02:00
2019-12-09 20:17:48 -08:00
2020-05-15 12:30:13 -07:00
2019-05-21 10:50:45 +02:00
2019-05-30 11:26:32 -07:00
2020-07-23 12:23:32 -07:00
2019-05-21 10:50:45 +02:00
2018-09-21 19:37:59 -07:00
2020-03-16 18:26:54 -07:00
2020-04-30 13:24:01 -07:00
2020-03-09 22:34:58 +01:00
2019-05-21 10:50:45 +02:00
2017-11-02 11:10:55 +01:00
2020-03-16 18:26:55 -07:00
2019-05-21 10:50:45 +02:00
2020-03-16 18:26:55 -07:00
2020-10-14 11:55:49 +02:00
2019-05-21 10:50:45 +02:00
2020-03-09 22:34:58 +01:00
2020-03-12 22:34:48 -07:00
2019-01-17 15:01:08 -08:00
2020-03-30 10:35:03 -07:00
2020-06-01 14:57:14 -07:00
2020-07-21 15:41:49 -07:00
2019-05-30 11:26:32 -07:00
2020-05-06 09:40:08 +02:00
2020-05-11 15:12:27 +02:00
2019-12-24 22:28:54 -08:00
2019-12-09 09:59:07 +01:00
2020-05-06 09:40:08 +02:00
2019-06-06 08:34:50 +02:00