Re: [Patch] Allow to limit SVDRP port to given IP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Il 09/01/2010 18:10, Theunis Potgieter ha scritto:
> Sorry to make things complicated, but would it not satisfy everybody
> needs if you could bind to an ip address, which could be any one you
> specify? For example, I would prefer mine to be bind to my eth0's ip
> for internal lan clients to connect, but not accessible via ppp0 for
> example.
>
> So I guess what I'm asking is, if you could start vdr with a listen
> parameter switch and could specify for each listen switch a source ip
> address or even a interface name?
>
> Theunis
>
> 2010/1/9 Manuel Reimer <Manuel.Reimer@xxxxxx>:
>   
>> Hello,
>>
>> I've attached a second patch. This patch changes VDR's svdrp port handling in the following way: If only the localhost item is found in svdrphosts.conf, then the port is attached to "INADDR_LOOPBACK", which makes it impossible to reach the port from outside. As soon as even one additional item is added, the port is opened to "INADDR_ANY", again, so the port is accessible from network. This way, the default configuration of VDR is "rock solid" and there should be no need to disable svdrp at all. We also have no additional configuration mechanisms. The user only has to work with svdrphosts.conf, as he did with previous VDR versions.
>>
>> CU
>>
>> Manuel
>> --
>> ()  ascii ribbon campaign - against html mail
>> /\                        - gegen HTML-Mail
>> answers as html mail will be deleted automatically!
>> Antworten als HTML-Mail werden automatisch gelöscht!
>>
>> GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
>> Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
>>
>> _______________________________________________
>> vdr mailing list
>> vdr@xxxxxxxxxxx
>> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>>
>>
>>     
> _______________________________________________
> vdr mailing list
> vdr@xxxxxxxxxxx
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>
>   
Right!!!

>From a simple user (not a technical one) i appreciate an item menu so i
can set the local IP to enable, without need to modify configuration
files on the file system.

That's a simple, functional and easy solution, obvious IMHO.

Diego

-- 
Member of the Italian VDR Wiki
http://vdr.spaghettilinux.org/


_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux