Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 May 2005 17:19:08 +0200
From:      Daniel Gerzo <danger@rulez.sk>
To:        Ivan Voras <ivoras@fer.hr>
Cc:        stable@freebsd.org
Subject:   Re: IP Firewalling by DNS name
Message-ID:  <144623634.20050531171908@rulez.sk>
In-Reply-To: <429C7804.8040709@fer.hr>
References:  <429C7804.8040709@fer.hr>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Ivan,

Tuesday, May 31, 2005, 4:43:16 PM, si pisal:

> Is it possible to use ipfw to filter packets by domain name?

> What I need it for: I'd like to allow ssh logins only from a specific
> TLD (by reverse lookup...) - maybe there's another way?

you can use AllowUsers sshd_config directive e.g:

AllowUsers user@*.domain.tld

or something like:

AllowUsers user@111.111.111.*

I think this is possible too.

-- 
Sincerely,

 DanGer, ICQ: 261701668  | e-mail protecting at: http://www.2pu.net/
 http://danger.rulez.sk  | proxy list at:        http://www.proxy-web.com/
                         | FreeBSD - The Power to Serve!




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?144623634.20050531171908>