Private Winten - Open Source Windows 10 privacy tool with built in Firewall

Discussion in 'MDL Projects and Applications' started by DavidXanatos, Dec 23, 2018.

  1. Carlos Detweiller

    Carlos Detweiller MDL Spinning Tortoise

    Dec 21, 2012
    4,059
    3,878
    150
    @aladdin2006 - Wrong topic? AFAIK, KOCH is no longer here.
     
  2. aladdin2006

    aladdin2006 MDL Junior Member

    Feb 28, 2013
    97
    15
    0
  3. DavidXanatos

    DavidXanatos MDL Senior Member

    May 23, 2010
    386
    1,458
    10
    Try uninstalling and reinstlling priv10 service
     
  4. trueckl

    trueckl MDL Novice

    Jan 10, 2018
    1
    0
    0
    Hello David,

    as I wrote sometime before and already made a pull-request for v0.70, there is still a small bug in the firewall rule handling:
    it is not possible to use ranges of port numbers. You can type in the rule, but next time after reload, there is garbage in it.

    Example:
    steam.exe UDP Port numbers 27015-27036
    changes to
    steam.exe UDP Port numbers 0
    or similar after reloading the rules


    This time, I'm not skillfull enough to use git... I get lost, excuse me, please!
    Three lines to change, please search & replace:


    PrivateWin10/Core/WindowsFirewall/WinNetFwAPI.cs

    wrong variable used:
    - if (ushort.TryParse(portStr, out begin) && ushort.TryParse(portStr, out end))
    + if (ushort.TryParse(portRange[0], out begin) && ushort.TryParse(portRange[1], out end))


    maybe it makes no difference, but it is clearer in the source context:
    - ports.Ports.dwNumEntries = (ushort)portList.Count;
    + ports.Ports.dwNumEntries = (ushort)portRanges.Count;



    PrivateWin10/Core/WindowsFirewall/FirewallRule.cs

    wrong array index is used:
    - if (UInt16.TryParse(strTemp[0], out beginPort) && UInt16.TryParse(strTemp[0], out endPort))
    + if (UInt16.TryParse(strTemp[0], out beginPort) && UInt16.TryParse(strTemp[1], out endPort))



    Thank you for your very useful software.
    SnikoLoft
     
  5. DavidXanatos

    DavidXanatos MDL Senior Member

    May 23, 2010
    386
    1,458
    10
    i will check it out asap the fixes will be included in the next build
     
  6. mdl052020

    mdl052020 MDL Member

    May 31, 2020
    217
    188
    10
    @DavidXanatos Your Apps are Excellent. This Private Win10 , Wumgr , TaskManager , SandBoxiePlus are Awesome.