x-forwarded-for IP not appear in traffic log

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

x-forwarded-for IP not appear in traffic log

L1 Bithead

Hello everyone,

 

I have enable x-forwarded-for in PA.

When I look at the pcap from PA, I see the ip address

HSutanto_0-1705994982774.png

but from monitor log traffic, collum x-forwarded-for ip is empty

HSutanto_1-1705995502941.png

 

Please your help.

Thank you

2 REPLIES 2

Community Team Member

Hi @H.Sutanto ,

 

I've seen scenarios where XFF is not logged because of traffic not getting decrypted (https://live.paloaltonetworks.com/t5/general-topics/xff-ip-does-not-show-the-source-ips-on-the-monit...

Also seen it because the url filtering profile where you enable XFF was not being applied to the rule.  

 

And also saw it when the firewall failed to parse IP address in XFF header due to additional port number being appended by Azure Application Gateway (PA-VM on Azure).
 
If neither of these fit your scenario I'd recommend debugging further with packet-diag flow basic and ctd to get more details.
 
Kind regards,
-Kim.
LIVEcommunity team member, CISSP
Cheers,
Kiwi
Please help out other users and “Accept as Solution” if a post helps solve your problem !

Read more about how and why to accept solutions.

L1 Bithead

Hey,

 

How did you solve the issue?

  • 1487 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!