The GROUP
in GROUP_CONCAT
should tip you off - you're not actually GROUPing anything in your query, e.g. there is no GROUP BY
clause. Since you haven't told MySQL how your data should be grouped, it's not doing ANY grouping. Hence only getting a single value out of your GROUP_CONCAT calls.
Most likely you'd want something more like
SELECT s.ip
etc..
etc..
GROUP BY s.ip <---this line is missing