Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Ramin Alidousti <ramin@cannon.eng.us.uu.net>
To: Maciej Soltysiak <solt@dns.toxicfilms.tv>
Cc: Antony Stone <Antony@Soft-Solutions.co.uk>, netfilter@lists.samba.org
Subject: Re: ssh
Date: Mon, 24 Jun 2002 09:56:30 -0400	[thread overview]
Message-ID: <20020624135630.GC26150@cannon.eng.us.uu.net> (raw)
In-Reply-To: <Pine.LNX.4.21.0206241544220.11832-100000@dns.toxicfilms.tv>

On Mon, Jun 24, 2002 at 03:47:49PM +0200, Maciej Soltysiak wrote:

> > 1. You can't.   Netfilter / IPtables works by port number, not by content, so 
> > you can only filter by port number.
> Hmm, maybe you could...
> Look:
> 1. look for a openingpacket with ssh connection characteristics, say a
>    version string and mark packets, use recent module, put them to a
>    seperate chain. something like that.

Yes. Very expensive though and not full-proof in case of fragments.

Ramin

> 2. filter by port number.
> 
> What do you think?
> 
> Maciej
> 


  reply	other threads:[~2002-06-24 13:56 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-24 12:23 ssh Daniel Sercaianu
2002-06-24 13:31 ` ssh Antony Stone
2002-06-24 13:47   ` ssh Maciej Soltysiak
2002-06-24 13:56     ` Ramin Alidousti [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-01-14 19:59 ssh Simpson, Doug
2003-01-14 21:28 ssh Simpson, Doug
2003-01-15 12:09 ` ssh Zander
2003-01-15 18:44 ` ssh MAB
2004-07-14 14:15 ssh IT Clown
2004-07-14 14:25 ` ssh Koyama Mituru
2004-07-14 15:26 ssh Piszcz, Justin Michael
2004-07-14 15:42 ` ssh Antony Stone
2004-07-14 15:57 ` ssh Koyama Mituru
2004-07-14 16:07   ` ssh Antony Stone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020624135630.GC26150@cannon.eng.us.uu.net \
    --to=ramin@cannon.eng.us.uu.net \
    --cc=Antony@Soft-Solutions.co.uk \
    --cc=netfilter@lists.samba.org \
    --cc=solt@dns.toxicfilms.tv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox