Menu

#7 downstream link change detect on the fly

open
nobody
None
5
2013-10-31
2012-09-19
Anonymous
No

This patch can work on a PPP server. When PPP client link up, the new link will set as downstrem interface automatically. I've tested in a Debian 6 x86_64 platform, with pppoeserver, pptpd and xl2tpd. This patch include my last patch for get PPP end point IP.

Discussion

  • cilly

    cilly - 2013-04-18

    @aimwang

    Will this solve the issue I am having on a gentoo linux server, running l2tp (kernel ppp)? I.e. when connecting with ipsec & l2tp the vif are destroyed and igmp transport is broken.

     
  • cilly

    cilly - 2013-05-30

    I have the following problem:

    Without the patch after restarting igmpproxy after newly created l2tp devices, i.e. ppp1, the ppp1 will throw out my downstream interface listed in /proc/net/ip_mr_vif. ---> IGMP-stream broken

    With the patch, any new ppp device (created with l2tp) will be listed in ip_mr_vif and breaks the stream to my IPTV-box listed in downstream.

    My concerns:

    I would need a patch which scans for vifs if some vif is added or removed and honor igmpproxy.conf and only use the interfaces in upstream and downstream. The patch is good since it rechecks the vifs, but it should have an option, i.e. autoadd new interfaces or stick to interfaces listed in igmpproxy.conf.

     
  • Aim Wang

    Aim Wang - 2013-07-26

    @cilly,

    The original igmpproxy without my patch is load config file to setting up/down stream vif, then use vifs to start mroute function. I think it is not easy to reload config file and keep current mroute status.

    My patch is only add new interface as downstream vif, but not change any exist vif in config file setting. If you just want IPTV-box as new downstream vif not all new interface. You will need a command line interface to tell igmpproxy to add specified interface. And when a new ppp connected, you have to check if it a IPTV-box or not, then send cli comand to add the IPTV-box as downstream vif.

     
  • Aim Wang

    Aim Wang - 2013-09-25

    @cilly,

    I've add a option to enable/disable rescan vif in config file. But the whole pack include multi up stream and up/down stream family settings (family is not real final). It is for my device need, but not for common use. With this version, you can set default vif state as disable and enable vif rescan to meet your request. Would you like to help for test is it work great? I can give you whole package but not patch only, because it's not easy to make patch for these two options only from my package.

     
  • Aim Wang

    Aim Wang - 2013-10-24

    This patch is based on git commit bcd7c648e86d97263c931de53a008c9629e7797e

    New feature:
    1. Multiple upstream interface
    2. Set default Vif State in config file
    3. Swith auto scan function on/off in config file.

    When config file have set "defaultdown" means VIFs default status is downstream, oterwise will be disable.

    When config file have set "rescanvif" the igmpproxy will scan the interface state and auto add new Vif, it is very helpful in ppp links.

     
  • cilly

    cilly - 2013-10-31

    @aimwang

    Thanks for this patch, works nice, but didn't apply on the first run, since I had other patches already applied.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.