On 21.07.2005, at 16:14, Aime wrote:
> I just want to know where is the initial firewall rule
> in SAB Gateway that causes the redirection to the SAB
> Gateway ?
>
> Simply put where the redirection happens in the code ?
It uses the Linux iptables firewall to do the redirect. The first rule
in the firewall essentially says "redirect all traffic to
http://authenticationserver:port/". After the user was authenticated, a
new iptables rule will be inserted on top that lets the traffic of this
user pass through.
You can study the Perl script that manipulates the firewall settings,
it is called "reinst_rules".
Fabian
|