Forum Discussion
Bilal_9919
Dec 03, 2011Nimbostratus
iRule to change Destination IP
Hello Team,
I am using clone pool to duplicate the syslog packets to syslog-ng. I see packets been duplicated on F5 and forwarded to host on clone pool by wiresharking on syslog-ng and also ...
Bilal_9919
Dec 20, 2011Nimbostratus
Thank you guys- I was able to make it work by duplicating the syslog messages to two different sources. With clone pool, it was duplicating, but with same destination IP. I created an iRule and it does duplicate events to two different destination; however, it was sending all together 3 messages, meaning two same messages to destination 1 and one unique message to destination 2.
This is what I did and it seems to resolve the issue.
when CLIENT_ACCEPTED {
set hsl [HSL::open -proto UDP -pool Pool_ABC_Replicated]
set hsl1 [HSL::open -proto UDP -pool Pool_OriginalReceiver]
}
when CLIENT_DATA {
HSL::send $hsl [UDP::payload]
}
Somehow, it resolved the issue and send only 2 duplicated packets to destination1 and destination2. When it was sending three packets when I was doing HSL::send $hsl1 [UDP::payload]
Thanks everyone for their much needed support that guided me to right direction.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects