On Thu, Mar 9, 2017, at 18:06, Warren Toomey wrote:
On Thu, Mar 09, 2017 at 06:49:45PM -0700, John Floren
wrote:
I've now got it working and it made me think
a little.
In order to do these "serial ports over TCP" things, we basically are
putting login prompts out to the Internet. Is it possible to restrict
things so the only user allowed on ttyN is 'uucp', or should I just
put in iptables rules to only allow traffic from my UUCP peers?
Yes, I'm trying to work on that. There is a way set some DZ lines
to listen on port Y and the others on port X.
sim> ATTACH DZ X,Line=3,Y,line=4,Z
But there isn't a way to bind to localhost AFAICT. So we should be able
to
run uucico only on certain /dev/tty lines, but this still will require
you to iptables block the other port.
Unless someone has a way to bind simh DZ lines to localhost?
sim> att dz -m 127.0.0.1:5000
Listening on port 127.0.0.1:5000
Modem control activated
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connected to the VAX 11/780 simulator DZ device, line 1
[root@lethe] ~# telnet 10.12.10.1 5000
Trying 10.12.10.1...
telnet: connect to address 10.12.10.1: Connection refused
telnet: Unable to connect to remote host
Cheers, Warren
Email had 1 attachment:
+ signature.asc
1k (application/pgp-signature)
--
Cory Smelosky
b4(a)gewt.net