cancel
Showing results for 
Search instead for 
Did you mean: 

Determine client identity in ESP project

former_member259476
Participant
0 Kudos

Hello SCN community,

we are running an ESP project with a GD enabled input stream that receives data from multiple clients, all connecting via the Java SDK. Clients sending data into the same input stream using the REST interface might also be in scope in a later phase.

A new requirement currently is, to determine the identitiy of sending clients (e.g. IP address, MAC address, ...) for each incoming record. The clients shall not provide their identity explicitly by using a separate field in the input stream. Any idea if this is feasible?

Thanks a lot,

Patrick

View Entire Topic
remi_astier
Advisor
Advisor
0 Kudos

Hello Jen,

There are some information I obtain on the client side with the java sdk :

network MTU and client TCP send and receive buffer size.

SocketDetails sd = _publisher.getSocketDetails(); 
_stat_mtu=sd.getInterfaceMtu();
_stat_tcp_send=sd.getSendBufferSize(); _stat_tcp_rec=sd.getReceiveBufferSize();

You can also obtain source IP and port. I don't see how you could obtain the MAC address because it's one OSI network layer below and you don't even know which physical interface is used, or virtual interface if network card bonding is used.

former_member259476
Participant
0 Kudos

Hello Remi,

thanks for your response. The requirement basicially is to obtail the client information on the server side within the ESP project.

Best,

Patrick

remi_astier
Advisor
Advisor
0 Kudos

Did you try looking at _ESP_Client_Monitor ?

former_member259476
Participant
0 Kudos

Yes we already saw this Metadata Stream, but were not sure if/how this can be used to track the sending client based on the records received.

Background is: We have some error handling logic for incoming records within the ESP project. Records which are considered erroneous are logged to a HANA table. Requirement now is, to also log the identification of the sending client in case of erroneous records without providing the client's identification explicitly in the payload of the incoming data stream.