Reply
Emerging Member
Posts: 99
Registered: ‎05-26-2015
Kudos: 20

Compiling MIPS binary to run on Edge X SFP

[ Edited ]

Hello

 

i´m trying to build a runnable version of the program "p0f" by Michal Zalewsky.

http://lcamtuf.coredump.cx/p0f3/ 

 

The tool is used to scan for rogue NATs (resellers) and TCP fingerprints behind a LAN.

 

Since i don´t have any MIPS machines available, i went and ran a qemu MIPS debian image and compiled the tool...  when i try to run it on the Edgerouter, i get  "./p0f: cannot execute binary file".

 

Maybe i used the wrong flags to build the bin.??.

Are there any console tools on the Edge X that embed similar algorithms as p0f?

 

What flags should i use so the bin will run in the ER-X?

 

Best

Pedro

Established Member
Posts: 1,369
Registered: ‎07-07-2014
Kudos: 289
Solutions: 90

Re: Compiling MIPS binary to run on Edge X SFP

There are some threads around the forum about this, I found this with a search:

 

https://community.ubnt.com/t5/EdgeMAX/Compiling-own-application/m-p/409251/highlight/true#M5647

Reply