Hi guys.

        Some time ago (few years as well), i need to store the backslash
"\", the slash "/" and anothers ascii characters on sql server, via an ASP,
the real thing is I could achieve this converting this characters to an
ASCII char code style.

Some example is here. I need to store this string (with cuotation marks) "I
NEED VISIT THE SITE 'http://www.site.tld/somepage.php?id="1233"&col=232'"

The problem to store this string on sqlserver and others DBMS is the single
and doble cuotation marks, I translate this to something like this : 

%22%49%20%4E%45%45%44%20%56%49%53%49%54%20%54%48%45%20%53%49%54%45%20%27%68%
74%74%70%3A%2F%2F%77%77%77%2E%73%69%74%65%2E%74%6C%64%2F%73%6F%6D%65%70%61%6
7%65%2E%70%68%70%3F%69%64%3D%22%31%32%33%33%22%26%63%6F%6C%3D%32%33%32%27%22

Is the same thing but only encoded with javascript engine with function
encode.

Maybe is a good idea maintain the currently style separator is explained by 
Victor, and add the support to add "dots" in host name encoding the dots by
another charset.

Tell me what do you thing about this.

Cheers

Edgar 


-----Mensaje original-----
De: Victor Julien [mailto:[EMAIL PROTECTED] 
Enviado el: Miércoles, 10 de Mayo de 2006 05:42
Para: [email protected]
CC: [EMAIL PROTECTED]
Asunto: Re: [Vuurmuur-users] Request : 3 NEW FEATURES if is possible

Hey guys,

Phil wrote:
>   Hello Edgar,
> 
> -About your first request let's say the "IP group feature":
> 
>     * There is an object type called group in Zone/Networks.
>     * You can add any host you've have previously defined to this group

See my comment below.

> -About the copy/paste feature:
> 
>     * This might be a good idea but with vuurmuur script it's not really
>       needed, check docs
>       <http://wiki.vuurmuur.org/tiki/tiki-index.php?page=Scripting> on
>       the wiki

This is true Phil, but i think it would certainly be a useful addition 
to the GUI as well. I have felt the need before as well :-)

I am having serious time constraints the next few months, so i don't 
think i will get to implementing this. I'll be happy to guide someone 
else through the code though... any takers?

> -About name with dots:
> 
>     * I'll let victor asnwer this one ;-)

This won't be possible because the dots are used to distinguish between 
zones, networks and hosts/groups. Personally, i believe one of the 
strong points of Vuurmuur is this naming scheme, since it forces you to 
always consider a host or network in its context of its zone and network.

The best way to represent domain names would be by using something like 
an underscore.

mx1-1_hotmail_com.world.inet
mx1-2_hotmail_com.world.inet
mx1-3_hotmail_com.world.inet
mx1-4_hotmail_com.world.inet
mx2-1_hotmail_com.world.inet
etc

then create a group:
mx_hotmail_com.world.inet with all the hosts as members and use that in 
your rules.

I could imagine that creating a script that updates this once a day or 
so using vuurmuur_script would be very useful.

Regards,
Victor



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Vuurmuur-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vuurmuur-users

Reply via email to