Jump to content
XPEnology Community

Leaderboard

Popular Content

Showing content with the highest reputation on 11/29/2021 in all areas

  1. Guys, are you serious?! It is unwanted that prebuild bootloader images are shared as they include proprietary code by Synology and are NOT opensource. When I see how careless people treat the warning of TTG to not share prebuild bootloader images due to them containting proprietary Synology code, it kind of makes me regret that I ever have shared the rp-helper/rp-toolch-chain with the public. I don't understand why it's imposible for some people to respect the wishes of the authors. Thus said, please stop publishing any prebuild images! Maybe TTG not beeing around is already the consequence of people publishing prebuild images and attract attention causing legal claims..
    5 points
  2. I agree, and if this is the reason TTG stepped back it is a real damn shame. RedPill was finally something in this community that anyone could build on rather than the code being locked down to one person (Jun). It's what is necessary to make this community bigger and even better. It seems the only people sharing full images are people who don't know how to build the image in the first place..... which indicates they also likely don't understand the nuances of open source software/copyrighted software in the first place. Further proof they shouldn't be messing with RedPill... I pray TTG is okay first of all.... and that they end up coming back if the above is the reason. Please forgive our sins @ThorGroup.
    3 points
  3. The RedPill is back! As some of you may be aware a lot of research materials as well as the code for parts of the kernel module were pulled from GH. We're happy to report it's back and fully public! Before further ado we have a small sneak-peek of the current state: Repositories Both LKM code and the research materials are present in two repositories. Both are automatic forks from our internal serves and are updated few times a day. - RedPill LKM: contains the current version of the Linux kernel module source code along with implementation details description - DSM Research/Docs: hosts documentation for developers regarding the inner details of DSM boot process While the dates and authors in both repos are anonymized, the history is preserved. Thus, your forks and PRs will work properly. The Current State As of now the DSM installs & boots properly (sort of, continue reading). We are currently working on a toolset for generating the loader image automatically so that testing new iterations is easier for people not familiar with full inner workings of the kernel component & the bootloader itself. The tool with instructions will be published in a separate repo. The kernel module is currently missing the PCI-IDs shimming and RTC emulation. While the latter is most likely not crucial, the former must be implemented. However, it's not really straight-forward as naturally the kernel doesn't have a high-level API to lie about nonexisting hardware The current revision of the LKM causes some errors to be sent to the PMU. If anyone in the community (@Vortex? @IG-88?) has an idea of what is the source of these we will be grateful for some pointers. --R--R-p--R-4 -9 --R-r-K-8-3-8 As of now we're working on a robust PCI emulation layer. This isn't hard in theory but has many pitfalls if we want to do it properly and none of us ever studied inner workings of PCI on x86 As described in the PCI document in the research repo there are three methods. We picked the third one (full PCI emulation) as it allows for creation of devices which are indistinguishable from real ones. While this is the hardest to pull off properly, it doesn't rely on a hack but rather an official and documented Linux API. Q&A Who are you? We're a group of passionates dating back to the (great) phreaking times. If you know where to look you will find us on IRC Can I get involved in the development? Yes! As this project took a lot from the community we strongly believe it should continue to be shared and developed under GPL. We greatly appreciate any PRs on GH. I'm not a developer, can I help? At this stage most likely not. However, we wish to have some testing version not too far in time. For various reasons we cannot (and not willing to) accept any donations. If you want to make us feel better leave a like and a good word for us, as naturally this isn't our full-time job :))) Why is making the code public matters? We believe that the code of the loader MUST be public. We aren't sure if the general community is aware of the degree of control the "loader" has over their box. Despite the name it is not just a load-and-leave situation. The majority of the loader code is active in the system for the whole time (you can check that by doing lsmod and looking for an entry which doesn't look like a proper module name but one or more random characters). The kernel module can do literally anything you can as root... and more. It can read files, send them in the background somewhere, hide files from you, execute programs with higher-than-root privileges without showing them in any tools, use your CPU while showing 0% in htop etc... and the worst part is that you will never know that it happened (unless you're monitoring your device from the outside). However, after this scary paragraph we can say two things: Jun's loader doesn't seem to do any evil things, and the actions any loader needs to perform in the system after the initial load are minimal (e.g. fake responses to "turn on HDD led"). We've also reviewed the code we cloned and it's a solid base. Additionally, making the code open means anybody can tinker with it and adjust to new scenarios instead of relying to bit-patching a .ko. What happened to previous repos? Are you crediting the previous author? The author of the original code wishes to distance himself from the project and we are respecting that. That's all we know. Do you/anyone have the code of Jun's loader? We saw that there's some confusion on the forum regarding Jun's loader and why the work had to start from scratch. Neither the Jun's loader code nor any deeper implementation details regarding inner working of his amazing loader were ever shared with the public. We weren't able to obtain the code through our sources either. There's a good chance he never shared the with anybody. Is Syno trying to block the loader? While we cannot comment on any actions, we can surely talk about the code. The new kernel contains something which isn't present before 25556: https://github.com/RedPill-TTG/dsm-research/blob/master/quirks/boot_params-validation.md It is true that the "va not found" error triggered by the Jun's loader when used with >6.2.3 is indeed related to offsets which changed in the new build. However, the rabbit hole doesn't stop there. The new "boot_params" check doesn't seem to have any other purpose than detecting violation of the chain of trust. So did the new kernel build broke the loader intentially? Most likely not (it's probably a by-product of the new validation code present very early in the image) but why the boot params validation was placed in 6.2.4 in the first place? We leave the interpretation to the reader. When we can expect a stable release? Will it work on v7? We cannot promise any date for two reasons: 1) we can hit an unexpected roadblock (e.g. see errors mentioned above), and 2) we will like to test it and have it working on v6.2.4 and v7 as well (as of now v7 is available for selected devices only and from our tests it is not fully stable even on the devices it was officially released). Some of the protections found in v6 were pulled from v7... but don't worry, they will be back as soon as they port them... it's a carrot and a stick situation. cc for people who followed the original topic: @AleAmadoC @alexku44 @Amoureux @Balrog @blindspot @Bobbenoster @Bobur @coolinx @dimcheff @Fede @FiberInternetUser @gadreel @ilovepancakes @impala_84 @intrax @jarugut @juud @kiwiuk @lemon55 @loomes @minigranis @NeoID @Nuno @Piteball @pkdick1 @pro_info @profet @rufik @s2k7 @scoobdriver@setsunakawa @smilenkovski @smileyworld @smoojay @snakefox666 @Snyaify @SpiRe @T-REX-XP @The Chief @toolazy @vasiliy_gr
    1 point
  4. Did this stickied post fail to dissuade you? https://xpenology.com/forum/topic/41801-dsm-624-25556/
    1 point
  5. so you must be in the wrong place playing with the wrong toys, this is a developer section on not an even alpha argument, if you cant follow and undestand that then that’s not for you, it’s easy to understand. imho, without even refering to any brand but generally speaking, sharing copyrighted stuff is plain stupid. still no words about ttg hey? almost 2 months of silence, i hope at least they are ok.
    1 point
  6. Yep, that totaly fixes the problem! Jun's loader was and still is not open source and a one shot contribution. The difference is that TTG open sourced the whol effort. This is a whole different situation. So, your argument is for that sake of some, we shouldn't care that it risks everything for everyone. I am not sure if I am able to understand that spirit. This is not a finished and polished product. At this stage RP targets an audience that provides some skills.. so if someone lack that skills, then I frankly feel those people should wait until the final product (or at least a beta) is available.
    1 point
  7. No i'm using the onboard LAN. The required extension for the LAN is tg3. Unfortunatelly due to CPU limitations, only 3615xs is possible on G7/G8
    1 point
  8. Just with one command and everything will be done for you... Remind: Your machine will restart after executing this command sudo -i && cp /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt.ORIG && curl -k "https://letsencrypt.org/certs/isrgrootx1.pem" >> /etc/ssl/certs/ca-certificates.crt && reboot
    1 point
  9. does anyone know if this redpill loader <redacted> which is for the following cards – Intel(R) Gigabit Ethernet Linux Driver E1000 – VirtIO support for fast network/PCI/SCSI/network/console – VMware vmxnet3 virtual NIC driver Other Lan Driver – Realtek RT8125B Gigabit Ethernet Linux Driver – Realtek RT8111GR Gigabir Ethernet Linux Driver – Intel i210 Gigabit Ethernet Linux Driver will work with Realtek RT8111F CHIPSET which my lan card has ? @pocopico is realtek rt8111gr driver same as realtek rt8111f ?? @pocopico Also @pocopico will any support for Intel® 82579LM and 82574L, be added ? cheers
    0 points
×
×
  • Create New...