xen dev blog

Discussion in 'Spam Forum' started by Sythe, Dec 29, 2015.

xen dev blog
  1. Unread #81 - Jan 2, 2016 at 5:13 AM
  2. Verts
    Joined:
    Aug 23, 2007
    Posts:
    5,420
    Referrals:
    8
    Sythe Gold:
    32
    Discord Unique ID:
    265793039971123200
    Discord Username:
    verts#0001
    Lumpy Space Princess Le Pokémon Trainer Two Factor Authentication User

    Verts bleep bloop
    Crabby Retired Administrator

    xen dev blog

    Yup! The XF templates are pretty quirky which makes the CSS a pretty long ass job, but I'm happy to look into anything you need done.
     
  3. Unread #82 - Jan 2, 2016 at 5:22 AM
  4. Sythe
    Joined:
    Apr 21, 2005
    Posts:
    8,071
    Referrals:
    465
    Sythe Gold:
    5,271
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi

    Sythe Join our discord

    test

    Administrator Village Drunk

    xen dev blog

    Having a look at php runkit extension. It's got some nice features including a built in sandboxing system for other php code. Very interesting.
     
  5. Unread #83 - Jan 2, 2016 at 5:41 AM
  6. bogla muffy
    Joined:
    Nov 21, 2014
    Posts:
    444
    Referrals:
    52
    Sythe Gold:
    89
    Discord Unique ID:
    294115592603041794
    Discord Username:
    bogla muffy
    M
    Two Factor Authentication User Pizza Muncher Homosex Brony Easter 2015 (2) Sythe's 10th Anniversary Christmas 2015 Christmas 2014 Heidy Lumpy Space Princess
    Penguin Easter 2016 STEVE

    bogla muffy Forum Addict
    $5 USD Donor New

    xen dev blog

    mfw a wild verts
     
  7. Unread #84 - Jan 2, 2016 at 5:58 AM
  8. Sythe
    Joined:
    Apr 21, 2005
    Posts:
    8,071
    Referrals:
    465
    Sythe Gold:
    5,271
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi

    Sythe Join our discord

    test

    Administrator Village Drunk

    xen dev blog

    So this is quite promising:

    Contents of testfile.txt is: hi there blah lblah

    and for output I'm getting:
    Even cooler, I can remove the dangerous function redefinition functions using themselves:
    Notice that we get an error on line 21 because runkit_function_remove itself has been removed already and therefore can no longer be called.
    So the idea is to wrap all the dangerous file IO functions at the bootstrap stage of the xen execution stack then let xen go about its business like nothing's happened, meanwhile secretly its actually living in a Truman show bubble (sandbox)
     
  9. Unread #85 - Jan 2, 2016 at 6:11 AM
  10. Sythe
    Joined:
    Apr 21, 2005
    Posts:
    8,071
    Referrals:
    465
    Sythe Gold:
    5,271
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi

    Sythe Join our discord

    test

    Administrator Village Drunk

    xen dev blog

    enable 2fa and send me a fb message to prove you're still in control of your sythe account (which I think you are, IPs look right) and we'll arrange something on monday when I have time to take you through our cluster fuck development system
     
  11. Unread #86 - Jan 2, 2016 at 6:15 AM
  12. Verts
    Joined:
    Aug 23, 2007
    Posts:
    5,420
    Referrals:
    8
    Sythe Gold:
    32
    Discord Unique ID:
    265793039971123200
    Discord Username:
    verts#0001
    Lumpy Space Princess Le Pokémon Trainer Two Factor Authentication User

    Verts bleep bloop
    Crabby Retired Administrator

    xen dev blog

    Sure thing, I'm away from 3rd-7th (trip to Amsterdam, woo!) but we'll catch up on this once I'm back home. Do you have any ETA for going live with this or is it still very much work in progress?
     
  13. Unread #87 - Jan 2, 2016 at 6:16 AM
  14. Sythe
    Joined:
    Apr 21, 2005
    Posts:
    8,071
    Referrals:
    465
    Sythe Gold:
    5,271
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi

    Sythe Join our discord

    test

    Administrator Village Drunk

    xen dev blog

    This is cool. Print the function table. Wonder how long it would take to loop it and destroy every last function in the function table? Lets find out.
     
  15. Unread #88 - Jan 2, 2016 at 6:21 AM
  16. Sythe
    Joined:
    Apr 21, 2005
    Posts:
    8,071
    Referrals:
    465
    Sythe Gold:
    5,271
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi

    Sythe Join our discord

    test

    Administrator Village Drunk

    xen dev blog

    Honestly I've given up on giving estimates. That's why I'm doing this blog so people can see why it's taking time. There's a lot of non trivial problems I've encountered which are mainly due to the size of the site. There's no instruction manual for running or migrating a site like this. None of the software except maybe haproxy is really designed for running sites of this size. You just have to solve problems as they arise.

    I'm hoping to have CDT exploring the new production cluster within the week.
     
  17. Unread #89 - Jan 2, 2016 at 6:30 AM
  18. Sythe
    Joined:
    Apr 21, 2005
    Posts:
    8,071
    Referrals:
    465
    Sythe Gold:
    5,271
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi

    Sythe Join our discord

    test

    Administrator Village Drunk

    xen dev blog

    Ha nice:
    Output:
    It's quite practical to erase the entire function table. That it happens in half a microsecond suggests that internally its just nulling the pointers in the function table which is exactly what it should be doing.

    This is really good. Essentially it means I can "clean" php of all the functions xen doesn't use, and redirect the ones it does use through my own code. A complete sandbox if you will. Definitely considering using this in production.
     
  19. Unread #90 - Jan 2, 2016 at 6:46 AM
  20. Verts
    Joined:
    Aug 23, 2007
    Posts:
    5,420
    Referrals:
    8
    Sythe Gold:
    32
    Discord Unique ID:
    265793039971123200
    Discord Username:
    verts#0001
    Lumpy Space Princess Le Pokémon Trainer Two Factor Authentication User

    Verts bleep bloop
    Crabby Retired Administrator

    xen dev blog

    I know the feeling - I think it took about 12 test imports before we figured out what the hell was causing issues when switching from phpBB to XenForo at work. I'm with you though, it's better to have everything working from day 1 than take the site offline a ton for minor fixes.
     
  21. Unread #91 - Jan 2, 2016 at 6:59 AM
  22. Sythe
    Joined:
    Apr 21, 2005
    Posts:
    8,071
    Referrals:
    465
    Sythe Gold:
    5,271
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi

    Sythe Join our discord

    test

    Administrator Village Drunk

    xen dev blog

    Looking forward to your help. Enjoy the rest of your trip :)
     
  23. Unread #92 - Jan 2, 2016 at 7:06 AM
  24. Sythe
    Joined:
    Apr 21, 2005
    Posts:
    8,071
    Referrals:
    465
    Sythe Gold:
    5,271
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi

    Sythe Join our discord

    test

    Administrator Village Drunk

    xen dev blog

    Cool so I'm leaving it here for the night:

    I have set auto_prepend_file on our php instances to point at my sandboxing script. The sandbox will wrap all the PHP IO functions that Xen uses with lazy load of the blob database script. When the path matches certain patterns the IO calls will be translated to blob database transactions. That's the idea anyway. Very curious to see how it goes in practice. When the sandbox has finished doing its mucking it'll also remove all the functions that Xen doesn't / shouldn't need access to. This adds extra security. If (php) code injection occurs via some zero-day then the attacker will be severely limited in the php functions they can call.

    Next post will be monday
     
  25. Unread #93 - Jan 3, 2016 at 8:27 PM
  26. Sythe
    Joined:
    Apr 21, 2005
    Posts:
    8,071
    Referrals:
    465
    Sythe Gold:
    5,271
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi

    Sythe Join our discord

    test

    Administrator Village Drunk

    xen dev blog

    Back at it today. Have a few things to clean up on the existing production system before I get to deving: One of our upstream providers is having extended planned downtime so I have to move a production server before I start.
     
  27. Unread #94 - Jan 3, 2016 at 9:08 PM
  28. Sythe
    Joined:
    Apr 21, 2005
    Posts:
    8,071
    Referrals:
    465
    Sythe Gold:
    5,271
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi

    Sythe Join our discord

    test

    Administrator Village Drunk

    xen dev blog

    Patched a bug in the banner bidding system on production. Moving the image server to a new datacenter presently to avoid extended downtime.
     
  29. Unread #95 - Jan 3, 2016 at 9:11 PM
  30. Sythe
    Joined:
    Apr 21, 2005
    Posts:
    8,071
    Referrals:
    465
    Sythe Gold:
    5,271
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi

    Sythe Join our discord

    test

    Administrator Village Drunk

    xen dev blog

    Alright running some backups first before migrating, which will take some time so I'll get back to working on the sandbox script now
     
  31. Unread #96 - Jan 3, 2016 at 9:14 PM
  32. Punjabi3
    Joined:
    Jun 14, 2010
    Posts:
    4,881
    Referrals:
    0
    Sythe Gold:
    204
    Sythe's 10th Anniversary Two Factor Authentication User Halloween 2014 Detective Christmas 2014 Paper Trading Competition Participant In Memory of Jon

    Punjabi3 ☬Grand Master☬
    Retired Sectional Moderator Cracker Head

    xen dev blog

    With the addition of Blupig to staff will we finally get to experience 4D on Sythe?
     
  33. Unread #97 - Jan 3, 2016 at 9:17 PM
  34. Sythe
    Joined:
    Apr 21, 2005
    Posts:
    8,071
    Referrals:
    465
    Sythe Gold:
    5,271
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi

    Sythe Join our discord

    test

    Administrator Village Drunk

    xen dev blog

    how to experience sythe in 4D:
    1/ place 4 dicks in your mouth
    2/ open sythe
     
  35. Unread #98 - Jan 3, 2016 at 9:17 PM
  36. Astro
    Joined:
    May 9, 2014
    Posts:
    43,626
    Referrals:
    56
    Sythe Gold:
    9,156
    Former OMM Gracious (3) Detective In Memory of Jon Official LoL Rank Verifier Verified Diamond STEVE (3) Poképedia
    Steam Account Verifier Sythe RSPS Player DIAF Twitter Paper Trading Competition Participant Facebook Promoter Two Factor Authentication User SytheSteamer

    Astro Legend
    Retired Administrator Cool Cat Gracious Donor

    xen dev blog

    Can confirm it working as intended.
     
  37. Unread #99 - Jan 3, 2016 at 9:23 PM
  38. Punjabi3
    Joined:
    Jun 14, 2010
    Posts:
    4,881
    Referrals:
    0
    Sythe Gold:
    204
    Sythe's 10th Anniversary Two Factor Authentication User Halloween 2014 Detective Christmas 2014 Paper Trading Competition Participant In Memory of Jon

    Punjabi3 ☬Grand Master☬
    Retired Sectional Moderator Cracker Head

    xen dev blog

    Blupig can you confirm this is wht u do?

    Sounds like something Finn would promote, are you really finn? ??
     
  39. Unread #100 - Jan 3, 2016 at 11:19 PM
  40. Sythe
    Joined:
    Apr 21, 2005
    Posts:
    8,071
    Referrals:
    465
    Sythe Gold:
    5,271
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi

    Sythe Join our discord

    test

    Administrator Village Drunk

    xen dev blog

    working on sythe sandbox which is described in previous posts

    currently hooked all the php IO functions and I'm sifting through to redirect essential read/write IO from the file system to the blob system
     
< MAKE KOS GREAT AGAIN | Degenerate fucks >

Users viewing this thread
1 guest


 
 
Adblock breaks this site