Unable to add more than 100 Virtual Servers

Home Page Forums Network Management Signal a BUG Unable to add more than 100 Virtual Servers

This topic contains 0 replies, has 0 voices, and was last updated by  jeffrhysjones 9 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #42204

    See thread: http://www.zeroshell.net/eng/forum/viewtopic.php?t=1957

    When you add Virtual Server number 101 to Zero Shell (1.0 beta 11) , and all subsequent rules (rule 102 + etc) – these rules do not get added to the database, even though they are added to iptables – and so appear to work fine.

    However, on your next re-boot – you will lose those virtual server rules!.

    If you then delete some rules, and then add new ones – things are a unpredictable. Often your new rule is added to the database, but it overwrites an old one.

    Your old rule is still in iptables, but when you reboot – it will go.

    So it would be nice to have a fix which would enable me to add more than 100 virtual servers into the database.

    I could then go through and add all rules which appear in iptables, but are not shown in the database listing.





    I’ve posted a patch in the thread linked above.

    Basically, in router_addpat, and router_patgetlist (or whatever it is, I don’t remember exactly) sort needs to be called with the -n option.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.