Hello
I want to capture NetFlow packets that was sent by fprobe.
The fprobe is on my local machine and it send packets to 127.0.0.1:2055 via UDP.
So, I have wrote program which open 2055 port (UDP) for any host (0.0.0.0) and do recvfrom. When I print (printf("%c", buf) buffer it print empty string.
Also I have tried to print each element of buffer:
it's show:Code:for(int i = 0; i < BUFSIZE; i++) { printf("%c", buf[i]); }
>��H��uvP�...
So, how can I decode or I don't know, in short how can I read the packet information?
Thanks