Skip to main content.

2002-Aug-06

My anonymous ftp passwd entry was like:

ftp:*:99:99:ftp:/usr/pkgsrc/packages:/bin/sh
So /home/ftp/pub wasn't even used.

To port forward on Linux box, I used: Used:

ipmasqadm portfw -a -P tcp -L local.ip.here 2121 -R 192.168.0.2 21
Then view that list:
pilchuck:/home/reed# ipmasqadm portfw -l
prot localaddr            rediraddr               lport    rport  pcnt  pref
TCP  pilchuck.reedmedia.net rainier                  2121      ftp    10    10
So this worked for me. But another user couldn't get to it. So I also port forwarded port 20 to port 20. Still didn't work. I tried from three locations and three FTP clients and it worked for me. I had to use active mode. I assume it didn't work for the other user (on three different systems too), because his firewall didn't accept my ftpd contacting him. And I am not sure passive wouldn't work. (Maybe, I'll look at that some later day.)

So I port forwarded to an internal webserver instead. thttpd when started up uses the current directory as its "document root". Then I used "-l /tmp/thttpd.log" to log connections.

My live-cd crashed twice. Both times I had ethereal listening.

I had removed the "vnc" entry from /etc/services, so it didn't work via inetd anymore. This is what I have in /etc/services now:

vnc           5900/tcp                # VNC
And my inetd.conf config (wrapped for readability):
vnc             stream  tcp     nowait.10       nobody
/usr/X11R6/bin/Xvnc Xvnc -inetd -broadcast -once -geometry 1024x768 -depth 16
In this case, I have gdm running. (Sometimes, it uses gdm on other box though; I need to fix that.)