05-19-2017
Thanks for the reply RudiC. You are correct, it will be madness to just replace given there is a good chance there is current setting that can be broken. So, instead of just the replacing of both files, comparing and adding the updates.
We are looking to possibly leverage the script via a configuration management tool(puppet, chef) for our cloud servers also. So, I need a script that is "tool independent" and more Linux native.
Regards,
Mide.
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I need to get a script together to edit the dhcp service configuration file dhcpd.conf.
Mac addresses are defined in classes ex.
class "HOST1" { match if substring (hardware, 1,18)=00:11:11:FF:FF:FF;}
class "HOST2" ...
class "HOST3" ...
...
followed by allow or deny statements:... (4 Replies)
Discussion started by: sahilb
4 Replies
2. Solaris
Anyone have a perl script that can be run via a web browser to turn ftp or telnet on and off in etc/inetd.conf ? Believe it or not but I ride a motorcycle a lot in the summer and carry a laptop in my saddlebags to connect from almost anywhere via Verizon alongside the highway. However, have too... (0 Replies)
Discussion started by: thomi39
0 Replies
3. UNIX for Advanced & Expert Users
HI,
I want a help for Configuring snmpd.conf and snmptrapd.conf (i.e Configuring SNMP)
for receiving
TRAPS in my networks. I am using RHEL4.0 OS.
Please tell me How I can configure above two files in a proper way and at an
advanced level.
Especially I am getting... (2 Replies)
Discussion started by: jagdish.machhi@
2 Replies
4. Red Hat
What would be Redhat RHEL 4.0 equivalent for Solaris sd.conf and lpfc.conf? What are the files called and where are the files located? (1 Reply)
Discussion started by: soupbone38
1 Replies
5. Solaris
Hello Guys,
Do we need to configure this file only if we add SAN disk or even if we add local disk, do we need to modify? (4 Replies)
Discussion started by: mokkan
4 Replies
6. Shell Programming and Scripting
This is my first time posting here...so be gentle.
Suppose I have a test.conf file that contains a value such as a IP. I would like to be able to use the Dialog Utility in Linux to allow me to enter the new IP in a Dialog form...and the results get saved into the test.conf file in the place... (4 Replies)
Discussion started by: calahanp
4 Replies
7. Shell Programming and Scripting
Hi,
I have to prepare a script to check the dhcp conf file. The script has to check for a specific parameter called circuit ID. If the Circuit ID is unique it should show the output that it is unique and if it is duplicate it should show that the Circuit ID is duplicate. I have prepared the... (4 Replies)
Discussion started by: Crazy_Nix
4 Replies
8. Solaris
Hi,
I've installed Solaris 11.3(live media) and configured DNS. Everytime I reboot the server, resolv.conf got deleted and it created a new nsswitch.conf.
I used below to configure both settings:
# svccfg -s dns/client
svc:/network/dns/client> setprop config/nameserver = (xx.xx.xx.aa... (1 Reply)
Discussion started by: flexihopper18
1 Replies
LEARN ABOUT DEBIAN
racoon-tool
RACOON-TOOL(8) System Manager's Manual RACOON-TOOL(8)
NAME
racoon-tool - program to manage the racoon(8) IPSEC IKE daemon.
SYNOPSIS
racoon-tool [-h] reload|restart|force-reload|start|stop
racoon-tool [-h] sadflush|spdflush|saddump|spddump
racoon-tool [-h] vpndown|vdown|vpnup|vup connection-name|all
racoon-tool [-h] vpnreload|vreload connection-name|all
racoon-tool [-h] vpnlist|vlist [connection-name|all]
racoon-tool [-h] vpnmenu|vmenu [connection-name-regexp]
racoon-tool [-h] racoonstart|racoonstop|rstart|rstop
DESCRIPTION
This manual page documents briefly the racoon-tool command. racoon-tool(8) is a perl script that can be used to control the racoon(8) IKE
daemon and the SPD database within the kernel via the setkey(8) command. Various operations that it can do are described below.
You can also optionally choose not to use it via reconfiguring the racoon package using dpkg-reconfigure(8).
OPTIONS
A summary of options are included below.
-h Show summary of options.
COMMANDS
start Start racoon(8), loading any needed modules, configuring the SPD, and generating a configuration from /etc/racoon/racoon-tool.conf
(head) and following up with *.conf files from /etc/racoon/racoon-tool.conf.d/.
stop Stop racoon(8) unloading any crypto/IPSEC modules, flushing the SAD and SPD.
reload Regenerate configuration from /etc/racoon/racoon.conf, and /etc/racoon/racoon.conf.d/, HUP racoon(8) and reinitialise the SPD and
SAD.
restart|force-reload
Perform a stop followed by a start
sadflush
Flush the SAD via setkey(8).
spdflush
Flush the SPD via setkey(8).
saddump|dump
Dump the SAD to screen via setkey(8), paginating via your pager.
spddump
Dump the SPD to screen via setkey(8), paginating via your pager.
vpnup|vup connection-name|all
Bring up the VPN connection(s).
vpndown|vdown connection-name|all
Take down the VPN connection(s).
vpnreload|vreload connection-name|all
Reload the VPN connection(s).
vpnlist|vlist [connection-name|all]
List the known VPN connections in /etc/racoon/racoon-tool.conf, etc. Can be used by a script or administrator to see if a VPN con-
nection exists.
vpnmenu|vmenu [connection-name-regexp]
Start the VPN menu management mode. This displays the SPD, and you can shutdown VPNs from here. Latter on support will be added
for checking status and reloading the chosen connection.
racoonstart|rstart
Start only the racoon(8) daemon.
racoonstop|rstop
Stop only the racoon(8) daemon.
FILES
/etc/racoon/racoon-tool.conf
- configuration file (head).
/etc/racoon/racoon-tool.conf.d
- configuration file segment directory read after the above.
/var/lib/racoon/racoon.conf
- generated racoon.conf
SEE ALSO
racoon(8), racoon.conf(5), setkey(8), racoon-tool.conf(5).
AUTHOR
This manual page was written by Matthew Grant <matthewgrant5@gmail.com>, for the Debian GNU/Linux system (but may be used by others).
RACOON-TOOL(8)