uml_switch security fixing
Hey, has anyone found the time to put together any patch to workaround the security bug in uml_net?
I think it would be ok also to simply comment out the offending code (even providing some kind of -D configuration option for who really needs SLIP support, and they are few)!
Suggestions?
Signature · 16 lines
Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 1 line · [email protected] wrote:
Suggestions?
FWIW, we have gone off using switch daemon entirely. We are using simply preallocated tap devices, connected to bridges via normal Linux bridging controls. Works cleaner and faster, more places to dump the traffic from and it allows normal linux traffic queueing and firewalling to be used to limit transfers between machines.
All physical networks and virtual network (networks not connected to any physical interfaces) are implemented as bridges.
The only problem was the tap device queue hang (SIGIO problem), which was resolved with the one queue option (and hopefully fixed in UML or mainline kernel later).
-- Naked
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 9 lines · Nuutti Kotivuori
Quoted 1 line · [email protected] wrote:
Suggestions?
FWIW, we have gone off using switch daemon entirely. We are using simply preallocated tap devices, connected to bridges via normal Linux bridging controls. Works cleaner and faster, more places to dump the traffic from and it allows normal linux traffic queueing and firewalling to be used to limit transfers between machines.
Quoted 6 lines
All physical networks and virtual network (networks not connected to any physical interfaces) are implemented as bridges.
The only problem was the tap device queue hang (SIGIO problem), which was resolved with the one queue option (and hopefully fixed in UML or mainline kernel later).
I just verified I was inaccurate in the title... the problem which was found was about the setuid uml_net, not uml_switch. It amounts to the possibility for unprivileged users to do the equivalent of "ifconfig down " for chosen interfaces, by simply running uml_net.
Signature · 17 lines
Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel