Forum Discussion

Romel_77740's avatar
Romel_77740
Icon for Nimbostratus rankNimbostratus
Apr 21, 2008

bad IP address format error with node command

I have a very simple TCL script with the node command statement. But I am getting a bad IP address format error. What am I doing wrong?

 

 

when CLIENT_ACCEPTED {

 

if {[UDP::payload] contains "10.10.10.1"} {

 

node 10.10.10.1 5060

 

}

 

}

 

 

Apr 21 16:08:22 tmm tmm[1677]: 01220001:3: TCL error: sbcuachandle2 - bad IP address format while executing "node 10.10.10.1 5060"

4 Replies

  • Colin_Walker_12's avatar
    Colin_Walker_12
    Historic F5 Account
    That's awfully strange. That looks exactly correct to me. Have you tried moving this to another event, yet? This shouldn't matter, but would be worth a try.

     

     

    That IP format looks fine...very odd.

     

     

    Colin
  • Some IPs work and some do not with the node command. It is not clear why. I see no difference between the IP that works and the IP that does not work. I would replace the same node IP with another IP and it works.

     

    If I use the pool command instead of the node, then it always works for all IPs.
  • I am noticing a potential bug with interaction of node statement with UDP::payload in ClLIENT_ACCEPTED event. For the below simple TCL script, if IP a.b.c.d is same as w.x.y.z, then the bad IP address format error is generated. One way around is to use pool statement instead of the node. Any other suggested work around? Is there a way to open a bug report to have F5 fix this in the future?

     

     

    when CLIENT_ACCEPTED {

     

    if {[UDP::payload] contains "a.b.c.d"} {

     

    node w.x.y.z 5060

     

    }

     

    }
  • Colin_Walker_12's avatar
    Colin_Walker_12
    Historic F5 Account
    You can certainly contact Technical Support to get the process rolling on submitting a bug. That sounds like a strange occurrence for sure. I'll try to find some time to test this one out too. Thanks for the heads up!

     

     

    Colin