[337] in RedHat Linux List
Bug in netcfg for SLIP
daemon@ATHENA.MIT.EDU (Alec Muffett)
Tue Oct 22 04:48:12 1996
From: Alec.Muffett@UK.Sun.COM (Alec Muffett)
To: redhat-list@redhat.com
Date: Tue, 22 Oct 1996 09:46:40 +0100 (BST)
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Hi - I've been hacking around with RH4.0 (after an great deal of help
from Michael K Johnson @ RedHat - much kudos to him for helping with
my SCSI problems 8-)) - and I tihnk I've uncovered a bug in the
Control Panel Netconfig program.
In short: I set up a hardwired 115Kbps SLIP link between two machines
running RH4.0; one I set up as a "dip" server, using "diplogin", and
the other machine I configured up as a client.
For many hours I was trying to work out why I could "ping" between the
hosts but not establish a TCP connection, and after a few hints from
friends who play with SLIP more thn I do, found that the NetConfig
program will *not* accept "CSLIP" as a transfer mode...
IE: you configure a slip device using the GUI, you change the
appropriate box to read "CSLIP", save, reload, and the field still
says "SLIP", as does the file /etc/sysconfig/network-scripts/dip-sl0
This is a pain. If you can reproduce it, please fix it.
Also: shouldn't "dip" be SUID root? Otherwise the "diplogin"
documentation in the man-page will not work as advertised, as the
interface can't be bound to a slip device by ordinary users...
Ok, ok, I of all people realise possible security implications of
this, so might I suggest creating a group "dipusers", and then do:
chmod 4750 /usr/sbin/diplogin
chown root /usr/sbin/diplogin
chgrp dipusers /usr/sbin/diplogin
- and then document that DIP users should add "diplogin"-type people
to the "dipusers" group?
- alec
ps: an option to NetCfg to designate a SLIP link as "hardwired", which
would bypass installing modem-config stuff in
/etc/sysconfig/network-scripts/dip-sl0, would be nice... 8-)
--
PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-HOWTO
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null