> > so can I use IPTables or similar to recognise if it is being connected
> > to via ssh.server.co.uk on port 443 and forward the traffic to port
> > 22? If www.server.co.uk:443 is used apache gets the traffic? Or is
> > this (As I suspect) Impossible?
> 
> You can look at http://sourceforge.net/projects/l7-filter/ "Application
> Layer Packet Classifier for Linux".
> It is capable to classify the packets based on their headers, not on the
> generating/destination port/ip, I don't know if you can make it work on
> encrypted connection like ssh or https.
> Maybe you must connect ssh to port 80 and difference to know http
> traffic and unknow encrypted traffic (ssh for you).

That looks fantastic! And it appears to support SSH...so you could try
to match against SSH, and redirect to the appropriate port if it does
match. Otherwise, assume it's web traffic...

...I think I'm going to want to look into this a bit more... It looks
pretty rockin'.

--
gentoo-user@gentoo.org mailing list

Reply via email to