ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Unfinished Requests

IDEA: script or a little app to update ipsec policies from a text file

(1/1)

quantumrider:
Hi,

I really need this one =)

A script or a little app to update ipsec policies from a text file. Here is a sample text file:

128.254.124.60|128.254.124.60|128.254.124.60|128.254.124.60

and so on, a single line with different ip addresses separated by some character.

basically the idea is to create an ipsec rule with the ip address and date of creation as name, blocking all ports and all protocols to and from the ip.

then the rule would be deleted at next run if 7 days elapsed, for example.

I do have some commandline text that creates the rules and removes them, I'm just confused by it =)

also I work with asp on iis, so the asp generates the list, there is no component that I know off that would allow me to edit the ipsec rules from asp.

let me know what you think, or if you know alternative, please.

thanks,
ark

Navigation

[0] Message Index

Go to full version