Skip to content

Commit

Permalink
Minor amends
Browse files Browse the repository at this point in the history
  • Loading branch information
kiall committed May 5, 2010
1 parent 5894e9f commit aff90ec
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 85 deletions.
12 changes: 6 additions & 6 deletions lib/Vyatta/Siproxd.pm
@@ -1,5 +1,5 @@
#
# Module: Vyatta::Netflow.pm
# Module: Vyatta::Siproxd.pm
#
# **** License ****
# This program is free software; you can redistribute it and/or modify
Expand All @@ -11,13 +11,13 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# This code was originally developed by Vyatta, Inc.
# Portions created by Vyatta are Copyright (C) 2008-2009 Vyatta, Inc.
# This code was originally developed by Managed I.T.
# Portions created by Managed I.T. are Copyright (C) 2010 Managed I.T.
# All Rights Reserved.
#
# Author: Stig Thormodsrud
# Date: June 2009
# Description: Common netflow definitions/funcitions
# Author: Kiall Mac Innes
# Date: May 2010
# Description: Common Siproxd definitions/funcitions
#
# **** End License ****
#
Expand Down
14 changes: 7 additions & 7 deletions scripts/system/siproxd-config.pl
@@ -1,6 +1,6 @@
#!/usr/bin/perl
#
# Module: siproxd-config.pl
# Module: Vyatta::Siproxd.pm
#
# **** License ****
# This program is free software; you can redistribute it and/or modify
Expand All @@ -11,13 +11,13 @@
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# This code was originally developed by Vyatta, Inc.
# Portions created by Vyatta are Copyright (C) 2008-2010 Vyatta, Inc.
#
# This code was originally developed by Managed I.T.
# Portions created by Managed I.T. are Copyright (C) 2010 Managed I.T.
# All Rights Reserved.
#
# Author: Kiall Mac Innes
# Date: April 2010
# Date: May 2010
# Description: Script to configure sip proxy (siproxd).
#
# **** End License ****
Expand All @@ -44,7 +44,7 @@
);

if ($setup_siproxd) {
# TODO: Change from PREROUTING to VYATTA_PRE_DNAT_HOOK
# TODO: Change from PREROUTING to VYATTA_PRE_DNAT_HOOK after kenwood
system("sudo iptables -t nat -N SIPROXD");
system("sudo iptables -t nat -I PREROUTING 1 -j SIPROXD");
exit 0;
Expand All @@ -55,7 +55,7 @@
}

if ($stop_siproxd) {
# TODO: Change from PREROUTING to VYATTA_PRE_DNAT_HOOK
# TODO: Change from PREROUTING to VYATTA_PRE_DNAT_HOOK after kenwood
system("sudo iptables -t nat -D PREROUTING -j SIPROXD");
system("sudo iptables -t nat -F SIPROXD");
system("sudo iptables -t nat -X SIPROXD");
Expand Down
10 changes: 5 additions & 5 deletions scripts/system/siproxd-interface-config.pl
@@ -1,6 +1,6 @@
#!/usr/bin/perl
#
# Module: siproxd-interface-config.pl
# Module: Vyatta::Siproxd.pm
#
# **** License ****
# This program is free software; you can redistribute it and/or modify
Expand All @@ -11,13 +11,13 @@
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# This code was originally developed by Vyatta, Inc.
# Portions created by Vyatta are Copyright (C) 2008-2010 Vyatta, Inc.
#
# This code was originally developed by Managed I.T.
# Portions created by Managed I.T. are Copyright (C) 2010 Managed I.T.
# All Rights Reserved.
#
# Author: Kiall Mac Innes
# Date: April 2010
# Date: May 2010
# Description: Script to configure sip proxy (siproxd).
#
# **** End License ****
Expand Down
67 changes: 0 additions & 67 deletions scripts/system/siproxd.init

This file was deleted.

0 comments on commit aff90ec

Please sign in to comment.