[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Port Forwarding on a Cobalt Qube 2 ?



rpaiz@xxxxxxxxxxxxxx wrote:
> 
> I can't give you the whole story since I haven't fully figured it out
> yet. But "dr. mikey" did and posted a lot of stuff on how to do it with
> a small utility known as "portfwd".
> 
> he posted a great message within the last month
> on how to do it and where the previous posts were found. Check around
> 22/Feb; I just saw it in my archives. Full text copied below, but there
> were more messages near there so go check.

there was also a recent discussion on the qube users list hosted by jeff
lasman (see: http://majordomo.email-lists.com/qube-users) where i posted
some tips on compiling the current version of portfwd (0.17) on the
qube2 platform.  fwiw, i included the relevant text after my sig.

peace,

mikey.

-- 
mike songster                  work1:           www.biosearchtech.com
mikey@xxxxxxxxxxxxxxxxx        work2:  www.chem.umn.edu/orgs/ampepsoc

sometimes it's important to stop and ask yourself:
"how would this look on the police report?"


***** included message follows *****

     Subject: Re: [qube-users] Firewall Routers
        Date: Tue, 13 Mar 2001 11:39:30 -0800
        From: "dr. mikey" <mikey@xxxxxxxxxxxxxxxxx>
    Reply-To: qube-users@xxxxxxxxxxxxxxx
Organization: biosearch technologies, inc.
          To: qube-users@xxxxxxxxxxxxxxx

...snip...

note, that the currently stable version is 0.17, which runs great on our
qube2.  however, since the qube2 is mips based, you have to compile the
program from source, and this can lead to problems.  for example, you
need to have a couple of compiler tools installed, like flex and egcs
and such, which you can get from the cobalt site as described in the
previous posts.  another compiler related problem i had is that the
older compilers (egcs v 1.0.2-9, gcc v 2.7.2-C2 and glibc v 2.0.7-29)
available for the qube causes v0.17 of portfwd to crash during
compiling.  and unfortunately, i was unable to get any newer compilers
(egcs v 1.1.2, gcc v 2.95.2 and glibc v 2.1.3, which i downloaded from
redhat) to compile and install on the qube2.

fortunately, portfwd will compile correctly after a minor edit to one of
the files in the source tar ball.  what you need to do is expand the
portfwd source files, and then change line 93 of the file "util.c" to
"int fd;" (it currently reads "rlim_t fd;"). portfwd will then compile
successfully.  this is in fact a change you must make to successfully
compile any version of portfwd since v0.12 unless you upgrade your
compiler programs.

in any case, it is a good program and, although compiling can be a
problem, once installed it is very easy to configure and use.  if anyone
wants the 0.17 binary compiled for mips, i can always send it to you,
along with an init script i wrote and a dependand library rpm (extracted
from a cobalt pkg) and you can give it a go.  i would love to make a pkg
file for this, but i have not yet bothered to learn how to creat valid
pkg files and i really don't have the time right now to begin tackling
that particular project.

i hope this rises somewhat above random babble and makes some sort of
sense,

mikey

-- 
mike songster                  work1:           www.biosearchtech.com
mikey@xxxxxxxxxxxxxxxxx        work2:  www.chem.umn.edu/orgs/ampepsoc

sometimes it's important to stop and ask yourself:
"how would this look on the police report?"
--
Messages for this list should be sent to qube-users@xxxxxxxxxxxxxxx
--
Commands (subscribe, unsubscribe, etc.) should be sent to
qube-users-request@xxxxxxxxxxxxxxx, with the command in the
body of the message. The word "help" by itself will send you
a complete list of available commands. Or use the web-based
interface at http://majordomo.email-lists.com/qube-users.