mirror of
https://github.com/nabbar/golib.git
synced 2025-10-25 08:40:34 +08:00
- fix tcp,udp,unix socket - add socket unixgram for session less unix socket - optmize process & code - add some standalone test for server / client (add example server config for rsyslog) Package Network/Protocol: - add unixgram protocol Package Errors: - fix bug in loop to prevent circular include
14 lines
265 B
Plaintext
14 lines
265 B
Plaintext
## Unix Forward using sock session less
|
|
## So unixgram type and as unix socket
|
|
## (based on UDP socket)
|
|
|
|
if $syslogtag contains 'testme' then {
|
|
Action(
|
|
Type="omfwd"
|
|
Target="127.0.0.1"
|
|
Port="9001"
|
|
Protocol="udp"
|
|
udp.sendToAll="on"
|
|
)
|
|
}
|