Re: RES: Splashing different pages to different users
"Doug Parsons" <[email protected]> Fri, 7 Jul 2006 17:20:05 -0400
| Newsgroups | gmane.network.nocat |
|---|---|
| Message-ID | <[email protected]> |
Right you are. Mutitasking strikes again. At least I wasn't doing this over my phone while driving, then I would have a real excuse. Is there any reason you are running a router in between the two? Why not attach the two networks to the NoCat gateway directly and have two virtual ports or real on the nocat box. Then the two networks would appear on the nocat box. Option two is to setup two networks between the router and the NoCat box either real or virtual and point each segment down a separate path to the NoCat box. Doug -----Original Message----- From: Marco Filippetti [mailto:[email protected]] Sent: Friday, July 07, 2006 4:33 PM To: 'Doug Parsons'; [email protected] Subject: RES: [NoCat] RES: Splashing different pages to different users Doug, the internal element on the nocat config file should be binded to the internal ethernet interface, as well as the local network parameter. On the diagram I sent earlier, this would be the network between the router and the nocat server. It has nothing to do with the networks behind the router. Tks, though! Marco. -----Mensagem original----- De: [email protected] [mailto:[email protected]] Em nome de Doug Parsons Enviada em: sexta-feira, 7 de julho de 2006 16:44 Para: [email protected] Assunto: Re: [NoCat] RES: Splashing different pages to different users The InternalDevice element and the LocalNetwork element should control what noCat listens to. Are you running Splash or Auth? Either way both conf files contain these elements. Doug -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Marco Filippetti Sent: Friday, July 07, 2006 2:27 PM To: [email protected] Subject: [NoCat] RES: Splashing different pages to different users Tks for the response Doug. This might not work since the NoCat server is actually behind a router, and the networks, behind this router. If I start 2 or more instances of the NoCat server, there is no way I can tell each to listen to a specific network. This option does not exist on the nocat.conf file. I can only specify which is the INTERNAL network, and which is the EXTERNAL one. Since those will not change, I was hoping to change something in the gateway code so it can treat each origin network differently. Here is the topology we are using: +------+ +-----+ +--------+ N1|-----------|ROUTER|------|NOCAT|------|INTERNET| N2|-----------| | | | | | +------+ +-----+ +--------+ This works if all users are to receive the exact same splash page. I can't figure out a way to serve each network (N1 & N2) a different content, based on the origin IP address of each. If there was a way to customize the application to do that, this would be a killing software. BTW, we are adopting this scenario on a service provider, and it seems to be handling everything quite well. But now it is time to add a little more complexity to it. Rgds Marco. -----Mensagem original----- De: [email protected] [mailto:[email protected]] Em nome de Doug Parsons Enviada em: sexta-feira, 7 de julho de 2006 15:14 Para: [email protected] Assunto: Re: [NoCat] Splashing different pages to different users This may not be possible but could you run two different instances each listening on the individual networks? Doug -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Marco Filippetti Sent: Friday, July 07, 2006 1:33 PM To: [email protected] Subject: [NoCat] Splashing different pages to different users Hello my friends, My question would be... knowing the IP addresses of my network users, is it possible to serve different splash pages to different users, based solely on the IP address they have? For instance, an user has the IP 10.10.10.10, whereas another user has the IP 20.20.20.20 (2 different networks). Can I serve a splash page for network 10.0.0.0, and another splash for network 20.0.0.0? How to implement it??? Anyone? TKS!!! .Marco _______________________________________________ NoCat mailing list [email protected] http://lists.nocat.net/mailman/listinfo/nocat _______________________________________________ NoCat mailing list [email protected] http://lists.nocat.net/mailman/listinfo/nocat _______________________________________________ NoCat mailing list [email protected] http://lists.nocat.net/mailman/listinfo/nocat _______________________________________________ NoCat mailing list [email protected] http://lists.nocat.net/mailman/listinfo/nocat