I am trying to install inetsim on Ubuntu 14.04 where I have been following instructions from several blogs and the inetsim.org documentation itself at: inetsim download and installation
Now one of the blogs mentions the way to install several of the dependencies of inetsim.
Everything from the above blog works fine, except for the part where you are supposed to install a dependency called Perlipq.
When i try to make perlipq as suggested in the blog above, i get an error that says
IPQueue.xs:11:20: fatal error: libipq.h: No such file or directory
some further research suggested that Makefile was trying to locate libipq.h in /usr/local/include as suggested by line number 155 in my Makefile as :
INC = -I/usr/local/include
I checked the location and figured out that the libipq.h header file is not present at that location. Nor does locate/find for libipq.h returns any results.
Through some further digging in I came across the change logs of IPTABLES and figured out that libipq.h references have been removed from IPTABLES beyond a certain version. In my case :
iptables --version is iptables v1.4.21
which falls in the above category.
Now one way to fix this could be to remove the iptables I have and install an older version that still supports libipq.h, but am afraid doing so might break the other stuff that might be dependent on the latest versions of iptables.
Is there some other way to get inetsim working on my Ubuntu 14.04? Or do I have to take the approach of installing an older iptables itself ?