djzoidberg
Mar 17, 2021Nimbostratus
UDP packet duplication and send them to 2 different pools
Hello everyone,
I have a VIP that is receiving all syslogs of a customer's firewalls. (more or less 350 devices)
The customer needs to send the same an exact copy of each message to another pool.
[SYSLOG MESSAGE]--[POOL 1]--[MEMBER 1 A]
| |-[MEMBER 2 A]
| '-[MEMBER 3 A]
|
[CLONED MESSAGE]--[POOL 2]--[MEMBER 1 B]
'-[MEMBER 2 B]
Do you have some suggestion to obtain this behaviour?
Thanks in advance,
Regards.
EDIT 1
I've tested HSL but it is starting each connection from TMM and it is not possible change the source IP address preserving the original IP.
when CLIENT_ACCEPTED {
set syslog_pool1 [HSL::open -proto UDP -pool pool_1]
set syslog_pool2 [HSL::open -proto UDP -pool pool_2]
}
when CLIENT_DATA {
HSL::send $syslog_pool1 [UDP::payload]
HSL::send $syslog_pool2 [UDP::payload]
}