We are currently capturing the IP address for a session using the getenv api from Profound UI during our credit card process. We have been informed by law enforcement that we also need to capture the "source port" (which is the remote port when I issue the netstat command on the ibm i. I reviewed the list of environment variables available put the only port number is that of the instance running on the ibm i. The remote port is available via the NETSTAT command for *CNN.
Is anyone aware of this value and could it be made available via the environment variables?
This would be a big help.
Thanks,
Ric TUrner
Remote Port (aka Source Port)
-
- New User
- Posts: 8
- Joined: Wed Feb 05, 2014 6:10 pm
- First Name: Ric
- Last Name: Turner
- Company Name: Jano Justice Systems, Inc
- Phone: 6013627601
- Contact:
-
- New User
- Posts: 16
- Joined: Mon May 08, 2017 11:51 am
- First Name: Lillie
- Last Name: Yarbrough
- Company Name: Profound Logic
- Contact:
Re: Remote Port (aka Source Port)
Hi Ric,
You should be able to get this value with the REMOTE_PORT environment variable. Is this something that could work for you?
Please let us know if you have any other questions!
--Lillie
You should be able to get this value with the REMOTE_PORT environment variable. Is this something that could work for you?
Please let us know if you have any other questions!
--Lillie
-
- New User
- Posts: 8
- Joined: Wed Feb 05, 2014 6:10 pm
- First Name: Ric
- Last Name: Turner
- Company Name: Jano Justice Systems, Inc
- Phone: 6013627601
- Contact:
Re: Remote Port (aka Source Port)
Thanks Lillie, I'll give it a try.
-
- New User
- Posts: 8
- Joined: Wed Feb 05, 2014 6:10 pm
- First Name: Ric
- Last Name: Turner
- Company Name: Jano Justice Systems, Inc
- Phone: 6013627601
- Contact:
Re: Remote Port (aka Source Port)
Thanks again Lillie, it worked, but you have to capture it at INZSR time because it appears that Profound wipes it out at some point in my program.
Thanks,
Ric TUrner
Thanks,
Ric TUrner
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Remote Port (aka Source Port)
Ric,
Profound UI copies all of the variables that Apache sends to us into the application job so that you can use them if you like. It does not, at any time, wipe them out.
Profound UI copies all of the variables that Apache sends to us into the application job so that you can use them if you like. It does not, at any time, wipe them out.
Who is online
Users browsing this forum: No registered users and 7 guests