Date: Tue, 24 Jul 2012 08:58:33 -0700 From: Carl Johnson <carlj@peak.org> To: freebsd-questions@freebsd.org Subject: Re: help about free bsp version netcat to work it on ubuntu Message-ID: <87629d6thy.fsf@oak.localnet> In-Reply-To: <CAHsH0E8ysWykjUCgRGA6=VwqfxMjcsTtKw9duZJWHiBE7OAFXw@mail.gmail.com> (lei yang's message of "Tue, 24 Jul 2012 19:19:44 %2B0800") References: <CAHsH0E_mj-g3YZcuMe0%2BDYLy_6=gzJNrhFE=CAy2SmiufUCAYA@mail.gmail.com> <20120722182545.39d6b96c.freebsd@edvax.de> <CAHsH0E9NkghmTPB=81bdquxq58kNFWuzyQAnzgZrhM54S7n9vA@mail.gmail.com> <87a9yq79cx.fsf@oak.localnet> <CAHsH0E8ysWykjUCgRGA6=VwqfxMjcsTtKw9duZJWHiBE7OAFXw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
lei yang <yanglei.fage@gmail.com> writes: > On Tue, Jul 24, 2012 at 12:03 AM, Carl Johnson <carlj@peak.org> wrote: >> lei yang <yanglei.fage@gmail.com> writes: >> >>> On Mon, Jul 23, 2012 at 12:25 AM, Polytropon <freebsd@edvax.de> wrote: >>>> On Sun, 22 Jul 2012 22:41:57 +0800, lei yang wrote: >>>>> Hi, >>>>> >>>>> I want to build a "netcat" on my local pc (ubuntu) with gcc, is it >>>>> possible? I'm new to free bsd >>>> >>> >>> >>> it has no "-U" flag, can you point me where I get this version >>> >> Have you checked the other version of netcat already available? A quick >> check shows these four versions for Ubuntu: >> >> netcat: TCP/IP swiss army knife -- transitional package >> netcat-openbsd: TCP/IP swiss army knife >> netcat-traditional: TCP/IP swiss army knife >> netcat6: TCP/IP swiss army knife with IPv6 support >> > > how did you get the list? I used the surfraw package which is available on freebsd, debian, and ubuntu. In this case I just used 'debpackages -u netcat' to do access the ubuntu packages search page. There is also 'freebsd -psearch' to search freebsd ports, and debpackages without -u shows debian packages. > To be clear, haha, I just want to know how to build a fress bsd netcat > on a no-fressbsd platform Others have probably already mentioned this, but you are probably better off trying ports source instead. Most of those are written to be portable and are easily configured for other OSs. Freebsd port search shows the following for netcat: net/cryptcat Standard netcat enhanced with twofish encryption net/gnetcat GPL'ed re-write of the well known networking tool netcat net/nc6 Netcat clone with IPv6 support net/netcat Simple utility which reads and writes data across network connections net/sbd A netcat clone with more features and crypto net/scnc SSL Capable Netcat security/sst A simple SSL tunneling tool (uses netcat) -- Carl Johnson carlj@peak.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87629d6thy.fsf>