Manually opening TCP ports

shaap at uhweb64208.united-hoster.com shaap at uhweb64208.united-hoster.com
Fri Mar 7 09:59:35 UTC 2008


On Fri, Mar 07, 2008 at 09:29:30AM +0000, Siraj Shaikh wrote:
> Tony
> 
> Thanks for your reply. The idea is to run a service (which could be
> available to connect to at various/many ports), or have ports open for
> anyone to atleast to be able to connect to it, and then perhaps log
> any traffic received on it or do nothing.

You could try netcat. It's able to open ports (listen) and print any
tcp-traffic in ASCII to stdout.

> 
> This is part of an experiment, where we are setting this machine up as
> a honeypot, only available to insider (on a network). A university
> network (hint hint, like yours!) is the ideal target environment for
> these purposes.
> 
> Have you had any experiences of deploying anything like this? Feel
> free to reply only to my email address for reasons of privacy
> 
> Thanks

shaap

> 
> 
> 
> On 07/03/2008, Tony Arnold <tony.arnold at manchester.ac.uk> wrote:
> > Siraj,
> >
> > 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.
> >
> > I'm not sure what you are trying to achieve here. You can use a firewall
> > such as firestarter or some such to control which ports are open and
> > which are not. But opening a port is only useful if you have some
> > service listening on that port.
> >
> > > Also, is there any way of running a service on more than a single
> > > port, or on all or many ports?
> >
> > That depends on the particular service and if it can be configured that way.
> >
> > From a security perspective the aim usually is to keep the number of
> > open ports to an absolute minimum, so I'm curious as to what you are
> > trying to do?
> >
> > Regards,
> > Tony.
> > --
> > Tony Arnold, IT Security Coordinator, University of Manchester,
> > IT Services Division, Kilburn Building, Oxford Road, Manchester M13 9PL.
> > T: +44 (0)161 275 6093, F: +44 (0)870 136 1004, M: +44 (0)773 330 0039
> > E: tony.arnold at manchester.ac.uk, H: http://www.man.ac.uk/Tony.Arnold
> >
> > --
> > ubuntu-users mailing list
> > ubuntu-users at lists.ubuntu.com
> > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> >
> 
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




More information about the ubuntu-users mailing list