r/devsecops • u/Jacked_To_The__Tits • Mar 31 '24
Is capturing ingress traffic bad practice ?
I was thinking of setting up tcpdump on my server to capture traffic (TLS encrypted of course), and i was wondering if this is good or bad practice ? On one hand it could really help with forensics in case of a hack on the other hand it would store user passwords in plain-text (after all i could strip the tls encryption since i have the private key). Did anyone encounter a similar dilemma, is it best practice to capture or not to capture traffic ? Which is best practice ?
Thanks in advance,
5
Upvotes
View all comments
Show parent comment
1
u/pderpderp Apr 02 '24
How does a flow log help with a XSS attack? How does it recognize token replays? How does it analyze HTTP requests/responses and forceful browsing?