-
Notifications
You must be signed in to change notification settings - Fork 129
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
Package for OpenWRT #39
Comments
I'm only providing sources. |
Did anyone compiled this for openwrt? |
@AndrewMargarit i do |
@richb-hanover , just copy contens of ipt-netflow/openwrt folder to ${openwrt build root}/packages/ipt-netflow/ . It will appear in menu. Make as usual. |
@alex-eri It seems that it cannot find iptables.h... Any idea on how to solve this? I'll keep playing with it.
|
Scratch that... I got it working I believe, but i need to install iptables-dev onto the base system... Do you know if there's an easy way to have the makefile pull those dependencies? I might need to create a iptables-dev openwrt package.... |
I will make firmware for tplink today. Tests and more instructions tomorow. You need patch Makefile for using crosscompiler or use devel brunch. Included patch tested only with Dest.Driver (openwrt trunk)
|
@alex-eri I have it built and seems to be installed on the firmware. I'm trying to configure iptables to forward traffic to the module but i'm getting this error.
|
It shows up under
|
Think this could be because i compiled using system |
You also need Look where other targets are located, for example |
@ZackMattor. Buildig example on clean Debian chroot /usr/lib/iptables/libipt_NETFLOW.so in iptables-mod-netflow_2.2-2_ar71xx.ipk There is no libipt_REJECT.so - only .ko I built module, but have no exported flows.
|
@alex-eri It seems to have installed my |
@alex-eri How did you get |
@ZackMattor see https://github.com/alex-eri/ipt-netflow/blob/openwrt-makefile/openwrt/Readme.md What is target device? What versions of OpenWRT, your host OS? I am on ArchLinux and it has problems with crosscompiling kernel. So I use chroot. |
Hi folks, Thanks for all this effort on the ipt-netflow package for OpenWrt. Is there any chance that you'd have time to look at a package for LEDE? It's an offshoot of OpenWrt, but with heavily updated kernel (4.4.47) and modern libraries, with many network performance enhancements, but the same packaging architecture. Their first stable build (17.01) will come out this month. Read more at www.lede-project.org or the get the Release Notes Thanks! |
@richb-hanover it is openwrt fork. You can build it as for openwrt. https://github.com/alex-eri/ipt-netflow/blob/openwrt-makefile/openwrt/Readme.md |
@alex-eri Thanks for the note. I don't have the chops, or the time to build it myself. But your link to those instructions should make it possible for a developer to add it to the standard package set for LEDE. Once it's there, I promise to write simplified instructions for LEDE that let people see who's hogging their bandwidth :-) Thanks again. |
@richb-hanover You need to create "feed" and push it to developers of LEDE to make packages with rest of system. |
@alex-eri Debian, OpenWrt Master Trunk, TP-LINK Archer c7 Followed your instructions, and it still cant find iptables...
|
DOH! I was using v2.2 I believe... trying again. |
I get reproduced this! Will fix |
@alex-eri Alright, I got it working by manually copying my Also.. I see that you opened a new issue regarding exporting to a collector. It seems to be working 100% for me using protocol v9. I think i built this version using the |
Hi, I encountered as well the problem but the solution proposed by ZackMattor solved it. Thank you |
to resolve the xtables / iptables issue add this to makefile: |
I would like to ask...are you planing to port (make package) for openWRT?
Thanks for the answer.
The text was updated successfully, but these errors were encountered: