| PLEX86 | ||
|
agetty questionMan agetty? Whitelisting a host with iptables On Thu, 28 Sep 2006 17:04:22 -0400, Geico Caveman staggered into the Black Sun and said: We're going to want to see the relevant parts from iptables -L -n. Yep, unless you allow ICMP... Certainly all serial ports could be used by modem programs like cu even with getty programs hanging off the back. So you could use the modem to accept calls and dial out with as well. I haven't got agetty here - just Linux getty - or cu...try looking for source code for cu and see what it does.. Something in my brain is telling me that the serial port has two interfaces, one that getty attaches to and another that can be opened by another program...can't remember the syntax, but on some systems it uses to be the samedev-ttysS but with upper case for the getty one. Or at least it had on SCO unix. Hmm. There's also pseudo terminals..I am buggered if I can remember what does what.. Anyway there is another program that opens serial ports whilst getty is hung on them - pppd. So you can dial outwards and connect to a router etc. It looks like MY linux (Debian) only uses one instance of the port - dev-ttyS1-4 That has a straight getty hung on it, and also pppd uses it (or would if I had it configured) I am FAIRLY sure that even with a getty on, you can open and close and read and write a serial device...some magic ensures that YOUR open disables and kills the getty, which is respawned after you close the device.
|
||||
Whitelisting a host with iptables Linux groups from Newsgroups The #1 Usenet Provider on the Internet
Mozilla 1.2.1 + RedHat 9.0 "popup" text entry window problem |
||||