Determining IP Address of connecting system

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Determining IP Address of connecting system

  • Creator
    Topic
  • #47991
    Henry Bauer
    Participant

      I would like to know if there is a way to determine the ip address of a system sending data to Cloverleaf.

    Viewing 2 reply threads
    • Author
      Replies
      • #57245
        Anonymous
        Participant

          Two ideas occur to me.

          You could exec netstat and parse the output looking for the line that uses your local host.

          Or you could change the connection to a multi server connection.  The enigne provides the remote ip address in the DRIVERCTL metadata field.

        • #57246
          Jim Kosloskey
          Participant

            I also recall from the deep recesses of my somewhat failing memory there is an undocumented variable available within the PDL that you can reference to get the connected system’s IP address.

            Notice I said connected and not connecting. That is because I think you don’t get that variable at the point of connection.

            Also there is not much you can do as I recall at that point.

            Jim Kosloskey

            email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

          • #57247
            Rob Abbott
            Keymaster

              Your best bet is to use Multiserver as Greg suggests.

              Rob Abbott
              Cloverleaf Emeritus

          Viewing 2 reply threads
          • The forum ‘Cloverleaf’ is closed to new topics and replies.