Comments (2)
Digging into this more, the issue appears to be related to a a non-standard syslog message format used for the firewall messages. A non standard format is being sent as best I can tell. It is not RFC-3164 nor RFC-5424.
here is an example of one of these firewall messages. You can note how the format is NOT the same as the one received in my ticket description. This is the issue. Migrate the openwrt firewall logs to RFC5424 and this will be solved. I have no clue what "format" this is, but its not any standard. It might be possible to get there by starting with updating the date format used. I have no idea if I can control that or not. For RFC5424, the timestamp must be in RFC3339 format.
<4>Mon May 27 09:42:57 2024 kern.warn kernel: [68681.183689] reject wan out: IN=br-lan.2 OUT=wan MAC=e0:3f:49:f2:2a:d8:24:5e:be:51:6c:34:08:00 SRC=192.168.1.11 DST=1.2.3.4 LEN=52 TOS=0x00 PREC=0x00 TTL=63 ID=57238 DF PROTO=TCP SPT=39966 DPT=443 WINDOW=65535 RES=0x00 SYN URGP=0
The issues are all in the header portion:
VERSION is missing (its "1 "),
DATETIME is not RFC-3339
HOSTNAME is missing
empty ("-") fields for APP-NAME, PROCID, MSGID and STRUCTURED-DATA should be placed
Here is an approx rfc5424 version of the above message:
<4>1 2024-05-27T09:42:57-04:00 OpenWrt - - - - kern.warn kernel: [68681.183689] reject wan out: IN=br-lan.2 OUT=wan MAC=e0:3f:49:f2:2a:d8:24:5e:be:51:6c:34:08:00 SRC=192.168.1.11 DST=1.2.3.4 LEN=52 TOS=0x00 PREC=0x00 TTL=63 ID=57238 DF PROTO=TCP SPT=39966 DPT=443 WINDOW=65535 RES=0x00 SYN URGP=0
from openwrt.
Related Issues (20)
- MT7981/mediatek/filogic ethernet ports ping lost after reboot -f to force reboot HOT 7
- How to Build system setup for macOS (M1/M2) HOT 12
- BT Home Hub 5A once a day LAN ports are completely off HOT 6
- all devices 'disassociated due to inactivity' followed by 'WPA: group key handshake failed (RSN) after 4 tries'
- mac address assignment using nvmem-layout fails for eth0 on mt7981b devices HOT 15
- [23.05] mt76 fails to compile after May 16 commit (fix included) HOT 9
- failed to make source HOT 8
- bmips: SNAPSHOT build - attendedsysupgrade or auc to latest version not possible HOT 2
- Wifi not authenticating via VLAN on OpenWRT v23.05.3 on Netgear R8000 HOT 25
- uboot-mediatek: ubootenv volume cannot be initialized properly on some mt798x devices
- Kernel panic when loading kmod-usb-hid-mcp2221 on LinkSys WRT3200ACM HOT 1
- filogic: xhci-mtk: reset usb disk device when write data HOT 20
- kmod-hwmon-rpi-poe-fan for 23.05.3 HOT 3
- Kernel crash on OOM on 5.15, 6.1, not 6.6 HOT 4
- mt7986-wo-firmware HOT 4
- can't install pkg pbr & luci-app-pbr on version 7.0.0 HOT 3
- AVM FRITZ Repeater 1200 - Using more than one of these devices breaks complete LAN HOT 4
- EA8500 (ipq806x) macaddr for wan device same as lan1-4 HOT 2
- kernel not read correct MAC from OEM partitions HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openwrt.