[OpenWrt-Devel] Introducing new IP Virtual Server package and kernel modules

Mauro Mozzarelli mauro at ezplanet.net
Mon Feb 22 14:10:58 EST 2016

I was wondering if somebody could guide me step by step through the
process necessary to submit a new package for OpenWRT with SUCCESS.

I have created the ipvs package to provide Load Balancer capabilities to

The package consists of:
- a change to package/kernel/linux/modules/netfilter.mk to include ip_vs
  modules in the kernel build
- a new ipvsadm package to add ipvsadm tool and newly built start/stop
sript, uci configuration and cron job to check servers' availability

I followed the instructions at the link provided below by Hauke,

I git extracted a fresh trunk
I created a new git feature that I called ipvs
- git checkout -b ipvs
I edited netfilter.mk, I added the new ipvsadm files and I committed the
changes. On commit I add a good description of the package as recommended.
However the following git push fails:

$ git push -u origin ipvs
fatal: remote error: access denied or repository not exported:

Does this require special permissions? It is unclear by reading the
tutorial's page.

I have been using this package for the last four weeks with success now
and it would be nice to share it with the community, but I am getting a
bit frustrated and it would be a shame if my initiative was left only on
my drive.

Best regards,

On Mon, February 15, 2016 16:28, Hauke Mehrtens wrote:
> Hi,
> On 02/13/2016 03:47 PM, Mauro M. wrote:
>> Hello,
>> I am new to this list and this is my first post.
> This was a replay to the " downloads.openwrt.org NOT accessible!!!"
thread and your mail is totally unrelated to that. When you want to
start a new thread next time just send a new mail to the list and do not
replay to an older mail. If you want to answer to this mail because wen
you should use the replay button.
>> I included a new package into OpenWRT, both cc15.05 and trunk, to add Load
>> Balancer capability using Linux IP Virtual Server:
>> http://www.linuxvirtualserver.org/software/ipvs.html
>> I have been testing both CC and trunk build on different Netgear and
Buffalo routers for the last three weeks. Everything works as expected
>> I did not find any stability issues being introduced.
>> I would like to understand if and how it would be possible to include the
>> new package into the mainstream. I can offer to be a maintainer of this
package and in future to add startup and uci configuration scripts (at
>> moment one would have to create his own startup and configuration).
Yesterday I tried to add the new files and commit the changes to
>> files via git (trunk). I am not sure if these reached the destination
>> I
>> have not used any authentication credentials.
>> Please could you guide me through the correct process?
>> Thank you in advance,
>> Mauro
> As this is a separate package you should create a pull request on
github. Here is some documentation on how to do this:
> https://github.com/openwrt/packages/blob/master/CONTRIBUTING.md
> OpenWrt CC is currently in maintenance only mode and we only allow
security fixes and bugfixes, but no new features. You can still send a
pull request to integrate our package into the Openwrt package feed for
trunk which will be used for the next release.
> Hauke

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list