Manually opening TCP ports

Gavin Costello gavcos at
Fri Mar 7 10:31:14 UTC 2008

Have you looked into using the package tinyhoneypot?

Package: tinyhoneypot
State: not installed
Version: 0.4.6-8
Priority: extra
Section: universe/admin
Maintainer: Javier Fernandez-Sanguino Pen~a <jfs at>
Uncompressed Size: 303k
Depends: perl, adduser (>= 3.52)
Description: Small honeypot to trap attackers
 Small honeypot provides an environment which can be used to to lure attackers
 into it. It provides sample responses that simulate a set of services (http,
 pop3, ftp, ssh, mssql and shell) and logs all the connections to these services
 for later auditing. 



On 07-03-2008 10.14, Siraj Shaikh wrote:
> On 07/03/2008, Nils Kassube <kassube at> wrote:
> > Siraj Shaikh wrote:
> > > I am just wondering if there is a utility (or any feature in
> > > ubuntu/Linux) that allows me to manually open a TCP port on a machine.
> > > I am looking for a way that could either allow me to open ALL or many
> > > TCP ports on a machine.
> >
> > If you start a server application it will open the appropriate port
> > accordingly. Only if you have some kind of firewall installed, ports are
> > blocked. Then you should open the wanted ports from the within firewall.
> >
> > > Also, is there any way of running a service on more than a single
> > > port, or on all or many ports?
> >
> > That depends on your application. But using _all_ ports for one
> > application is probably not a good idea.
> >
> >
> Nils
> I am trying to set this machine as part of an experiment, whereby it
> will act like sort of a honeypot. We want anyone port scanning the
> machine to find all (or many specified) ports open, or for particular
> applicaions to be able to connect to them at many/various ports. Any
> ideas on this?
> Thanks
> -- 
> ubuntu-users mailing list
> ubuntu-users at
> Modify settings or unsubscribe at:
---end quoted text---

Gavin Costello
gavcos at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <>

More information about the ubuntu-users mailing list