Hi all,
Is there a way to log source port of new https connection?
The end goal is to log ip + source + timestamp port for each connection
e.g
xxx.xxx.xxx.xxx 49524(source port) 30/5/19 16:12
Thanks,
Alon
Get source port of connection
Re: Get source port of connection
Assuming firewalld: https://access.redhat.com/documentation ... og_Command
or:
https://basildoncoder.com/blog/logging- ... walld.html
(Not verified)
or:
https://basildoncoder.com/blog/logging- ... walld.html
(Not verified)
Re: Get source port of connection
http://httpd.apache.org/docs/2.4/mod/mo ... onfig.html seems to suggest it would be possible to define a custom log format which includes the client's port as well.
Re: Get source port of connection
Hear, hear ^^ you can.
The source port is in the packet (at a "well known" offset).
The source port is in the packet (at a "well known" offset).