Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Palo Alto ICMP type not getting through... #333

Closed
ken-adey opened this issue Mar 21, 2022 · 9 comments
Closed

Palo Alto ICMP type not getting through... #333

ken-adey opened this issue Mar 21, 2022 · 9 comments

Comments

@ken-adey
Copy link

Palo Alto ICMP type not getting through nfapd/nfdump. As seen in the below nfdump output and image of the
Wireshark packet/flow, the ICMP type 8 is not in the nfdump output:

Flow Record:
Flags = 0x46 EVENT, Unsampled
label =
export sysid = 8
size = 104
first = 1647459540 [2022-03-16 19:39:00]
last = 1647459540 [2022-03-16 19:39:00]
msec_first = 0
msec_last = 0
src addr = 10.6.68.7
dst addr = 10.206.202.241
ICMP = 0.0 type.code
fwd status = 0
tcp flags = 0x00 ........
biFlow Dir = 0x00 arbitrary
end reason = 0x00
proto = 1 ICMP
(src)tos = 0
(in)packets = 1
(in)bytes = 46
input = 3
output = 3
src mask = 0 /0
dst mask = 0 /0
dst tos = 0
direction = 0
ip router = 10.11.2.4
engine type = 0
engine ID = 0
received at = 1647459359569 [2022-03-16 19:35:59.569]
connect ID = 0
fw event = 1: CREATE
fw ext event = 0: Ignore
secgroup tag = 0
Event time = 0 [1970-01-01 00:00:00.000]

Screenshot from 2022-03-17 09-48-09

@ken-adey
Copy link
Author

Pcap file can be provided.

@phaag
Copy link
Owner

phaag commented Mar 21, 2022

Yes please - send me the pcap, or a link to download. Find my email address in the Authors file.

@phaag
Copy link
Owner

phaag commented Mar 25, 2022

Hmm .. looks like everything is decode correctly:

Flow Record:
  Flags        =              0x06 NETFLOW v9, Unsampled
  label        =            <none>
  export sysid =                 3
  size         =               104
  first        =        1647459000 [2022-03-16 20:30:00]
  last         =        1647459000 [2022-03-16 20:30:00]
  msec_first   =                 0
  msec_last    =                 0
  src addr     =        xx.6.34.13
  dst addr     =         xx.6.38.5
  ICMP         =               8.0  type.code
  fwd status   =                 0
  tcp flags    =              0x00 ........
  biFlow Dir   =              0x00 arbitrary
  end reason   =              0x00
  proto        =                 1 ICMP
  (src)tos     =                 0
  (in)packets  =                 1
  (in)bytes    =                74
  input        =                 3
  output       =                 3
  src mask     =                 0 /0
  dst mask     =                 0 /0
  dst tos      =                 0
  direction    =                 0
  ip router    =         10.11.0.4
  engine type  =                 0
  engine ID    =                 0
  received at  =     1648225300967 [2022-03-25 17:21:40.967]

Did you try it with the master branch or another version?

@ken-adey
Copy link
Author

ken-adey commented Mar 25, 2022 via email

@phaag
Copy link
Owner

phaag commented Mar 25, 2022

could you try the master branch to verify that?
Maybe the master branch should be tagged more clear - sorry.
1.6.24 should follow soon

@ken-adey
Copy link
Author

ken-adey commented Mar 25, 2022 via email

@phaag
Copy link
Owner

phaag commented Mar 26, 2022

The pcap-reader is just a simple module for debugging purpose and does not handle all possible options.
You need either record directly on an ethernet or convert the pcap after collection:

tcprewrite --dlt=enet --enet-dmac=52:54:00:11:11:11 --enet-smac=52:54:00:22:22:22 -i input.pcap -o output.pcap

@phaag
Copy link
Owner

phaag commented Apr 23, 2022

Fixed in master branch. Palo Alto event does not send ICMP as event FNF type/code but flow ICMP.

@ken-adey
Copy link
Author

ken-adey commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants