For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Mick's avatar
Mick
Icon for Cirrus rankCirrus
May 17, 2019

Preserve source address from iRule

Hi

I have a VS which i'm using to duplicate SNMP traps to multiple pools. here is my very simple irule:

when CLIENT_ACCEPTED {

 

      set pool1 [HSL::open -proto UDP -pool serverpool1]

       HSL::send $pool1 [UDP::payload]

       set pool2 [HSL::open -proto UDP -pool serverpool2]

       HSL::send $pool2 [UDP::payload]

       set pool3 [HSL::open -proto UDP -pool serverpool3]

       HSL::send $pool3 [UDP::payload]

 

   }

the traps reach each pool ok, however the source IP address on the destination server is showing as the F5 internal IP. I need it to be the original source IP, the same way a normal VS clone pool would pass the traffic.

i've tried various settings on the VS and in my irule but i'm stuck.

any pointers?

Cheers

Mick

 

5 Replies

  • Hi Mick

     

    If this is under a VIP, just disable Automap from Virtual Server configuration.

     

    Cheers.

    Rodrigo

  • Hi Rodrigo

     

    yes thats one of the settings i checked, Source Address Translation is set to none, but its still using the source IP of the trap is still showing as the internal IP of the F5. Any other ideas?

    • Rodrigo_Albuque's avatar
      Rodrigo_Albuque
      Icon for Cirrocumulus rankCirrocumulus

      Have you tried disabling this one (Configuration/Advanced on Virtual Server)?

       

  • yeah i've tried those too, don't change anything

  • Hi, I am still seeing this issue on version 14 code. Does anyone know if a resolution is available?

     

    Thanks.