Re: IPX without suidroot

Grigory Batalov
2002-08-05T05:47:22Z

On Fri, 02 Aug 2002 21:19:38 +0400
Stas Sergeev <stssppnn@yahoo.com> wrote:

> So if adding route manually doesn't
> help, could you please (only for testing
> purposes) remove the
> if (!capable(CAP_NET_ADMIN))
> return -EPERM;
> from kernel's af_ipx.c:2403
> (ipx_ioctl() ).
> I want to know if my patch
> really works and if there is
> nothing more standing in the way...

Yes, it works.
In 2.2.20 custom kernel it is in line 2283:

case SIOCADDRT:
case SIOCDELRT:
// if(!capable(CAP_NET_ADMIN))
// return (-EPERM);
return (ipxrtr_ioctl(cmd,(void *)arg));

Again, log is here:
http://lrn.ru/~bga/dosemu/attached-boot.log.bz2 (131565)
Now I can attach server and run needed programs.
Thank you, Stas!

One strange thing I noticed:
login.exe eats CPU power (to 99%) about 20 seconds,
but works after it as usual.

--
Grigory Batalov.