Re: The SA Mess
From: Ross Presser (rpresser_at_imtek.com)
Date: 03/18/05
- Next message: Russell Stevens: "Re: The SA Mess"
- Previous message: DavidH: "Re: SQL Ports Open to questionable Remote address"
- In reply to: Russell Stevens: "Re: The SA Mess"
- Next in thread: Russell Stevens: "Re: The SA Mess"
- Reply: Russell Stevens: "Re: The SA Mess"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 18 Mar 2005 10:00:03 -0500
On Thu, 17 Mar 2005 18:30:52 -0500, Russell Stevens wrote:
> I need to learn more about how to program one of these firewalls - perhaps
> the Windows app can send a password to the firewall, then the firewall could
> open the port for just that IP.
Exactly right.
Instead of opening the SQL port completely, you set up a firewall rule
resembling this (in Checkpoint FW1):
If the packet source matches *INTERNET*
and the packet dest matches *SQL SERVER*
and the protocol matches *TCP SQL PORT*,
pass the packet *ONLY IF CLIENT AUTH*
and *AUTH USER IS MEMBER OF SQLGROUP*
(SQLGROUP is defined on the firewall; it can match back to an LDAP group,
or it could just be a group of "users" defined in the firewall (user in
this case meaning the app itself, not the user's identity.)
When the app needs access to the database, it opens a telnet connection to
the firewall (or else it can use https, but I'm more familiar with telnet),
and gets this sort of conversation:
|| Check Point FireWall-1 Client Authentication Server running on gateway
|| User: RussellsSQLApp
|| password: ***********
|| User RussellsSQLApp authenticated by Radius authentication
||
|| Choose:
||
|| (1) Standard Sign-on
||
|| (2) Sign-off
||
|| (3) Specific Sign-on
|| Enter your choice: 1
||
|| User authorized for standard services (1 rules)
||
||
|| Connection to host lost.
Now, as long as the sql connection doesn't stay idle for 30 minutes
(configurable timeout), the port is open for that IP address.
- Next message: Russell Stevens: "Re: The SA Mess"
- Previous message: DavidH: "Re: SQL Ports Open to questionable Remote address"
- In reply to: Russell Stevens: "Re: The SA Mess"
- Next in thread: Russell Stevens: "Re: The SA Mess"
- Reply: Russell Stevens: "Re: The SA Mess"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|