On Wed, Jul 23, 2008 at 3:55 PM, Sudev Barar <[EMAIL PROTECTED]> wrote: > This may not be correct place but collective wisdom can perhaps point > me to a good resource. > > I have a remote device that is generating data and is sending as a TCP > packet to designated IP:Port. If I open and set a non standard port I > am able to receive the packets using a listener. Problem is that the > host where I have to move this project allows listening only on port > 80 (apache) or port 25/110 (mail) or port 22 (ssh) > > How can I set up apache or iptables to log in incoming data packets > while at the same time allow apache to serve web pages? >
So, are you saying you want two application (apache and some other application) sharing the TCP port. I don't think that would be possible without some scary hacks. I don't know the nature of the data that your remote device is generating, but can you write a script (cgi perhaps) running under apache that distinguishes between an HTTP request and the remote device request and depending on that passes on control. -- http://nomadicrider.com/ _______________________________________________ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/