No pictures, but I figured out what that pipe was: displacement drain pipe for my shower. Probably not the right name, but basically allows air in/out of the drain when large amounts of water move through it. Explains the smell and green rust(we have copper pipes). So, back to square one...