vsys-scripts.git
12 years agoSetting tag vsys-scripts-0.95-36 vsys-scripts-0.95-36
Sapan Bhatia [Tue, 20 Mar 2012 15:26:19 +0000 (11:26 -0400)]
Setting tag vsys-scripts-0.95-36
Disable namespaces for pl_netflow

12 years agoDont use namespaces for pl_netflow slice
Sapan Bhatia [Tue, 20 Mar 2012 15:23:54 +0000 (11:23 -0400)]
Dont use namespaces for pl_netflow slice

12 years agoSupport for default VREFs
Sapan Bhatia [Thu, 15 Mar 2012 15:27:46 +0000 (11:27 -0400)]
Support for default VREFs

12 years agoSetting tag vsys-scripts-0.95-35 vsys-scripts-0.95-35
Sapan Bhatia [Tue, 14 Feb 2012 21:50:45 +0000 (16:50 -0500)]
Setting tag vsys-scripts-0.95-35
Added a script for users to create custom distributions within their slices. Use as follows:
mkdir /rootfs;cd /rootfs
wget <your distribution tarball>
tar xvfz <tarball>
[copy in PlanetLab /etc/resolv.conf and /etc/passwd files. mkdir /var/run; mkdir /var/lock]
cat /vsys/switcheroo.out &
echo 1 > /vsys/switcheroo.in

12 years agoAdded script to set up custom distributions
Sapan Bhatia [Tue, 14 Feb 2012 21:48:27 +0000 (16:48 -0500)]
Added script to set up custom distributions

12 years agoSetting tag vsys-scripts-0.95-34 vsys-scripts-0.95-34
Sapan Bhatia [Fri, 13 Jan 2012 22:38:31 +0000 (17:38 -0500)]
Setting tag vsys-scripts-0.95-34
Added a new script from Jude.

12 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/vsys-scripts
Sapan Bhatia [Fri, 13 Jan 2012 22:36:48 +0000 (17:36 -0500)]
Merge branch 'master' of ssh://git.planet-lab.org/git/vsys-scripts

12 years agoNew script from Jude Nelson
Sapan Bhatia [Fri, 13 Jan 2012 22:36:42 +0000 (17:36 -0500)]
New script from Jude Nelson

12 years agoFix hardcoded values
Andy Bavier [Mon, 28 Nov 2011 22:33:56 +0000 (17:33 -0500)]
Fix hardcoded values

12 years agoSetting tag vsys-scripts-0.95-33 vsys-scripts-0.95-33
Sapan Bhatia [Mon, 24 Oct 2011 21:33:21 +0000 (17:33 -0400)]
Setting tag vsys-scripts-0.95-33
Build fd_netlink, a new script that lets slices stream packet headers

12 years agoBuild fd_netlink
Sapan Bhatia [Mon, 24 Oct 2011 21:32:00 +0000 (17:32 -0400)]
Build fd_netlink

12 years agoSetting tag vsys-scripts-0.95-32 vsys-scripts-0.95-32
Sapan Bhatia [Mon, 3 Oct 2011 21:29:57 +0000 (17:29 -0400)]
Setting tag vsys-scripts-0.95-32
New script for slices to stream the headers of all packets going out of a node.

12 years agoAdding fd_nelink: a script for slices to read the nodes packet headers
Sapan Bhatia [Mon, 3 Oct 2011 15:59:52 +0000 (11:59 -0400)]
Adding fd_nelink: a script for slices to read the nodes packet headers

12 years agoSetting tag vsys-scripts-0.95-31 vsys-scripts-0.95-31
Thierry Parmentelat [Wed, 31 Aug 2011 10:14:06 +0000 (12:14 +0200)]
Setting tag vsys-scripts-0.95-31
vif_up has support for GRE tunnels
sliceip is known to cause kernel crashes with 2.6.32 at least

12 years agocosmetic - svn kwd
Thierry Parmentelat [Tue, 30 Aug 2011 19:42:30 +0000 (21:42 +0200)]
cosmetic - svn kwd

12 years agoadd support for creating gre tunnels
Thierry Parmentelat [Tue, 30 Aug 2011 13:04:16 +0000 (15:04 +0200)]
add support for creating gre tunnels
minor cleanup

12 years agoSetting tag vsys-scripts-0.95-30 vsys-scripts-0.95-30
Sapan Bhatia [Mon, 18 Jul 2011 22:43:51 +0000 (18:43 -0400)]
Setting tag vsys-scripts-0.95-30
New script: claimport.

12 years agoDocumentation
Sapan Bhatia [Mon, 18 Jul 2011 22:40:16 +0000 (18:40 -0400)]
Documentation

12 years agoNew script for port reservation. Use with the vsys_portreservation attribute
Sapan Bhatia [Mon, 18 Jul 2011 22:38:56 +0000 (18:38 -0400)]
New script for port reservation. Use with the vsys_portreservation attribute

12 years agoThe previous commit had some extra gunk.
Sapan Bhatia [Mon, 18 Jul 2011 22:37:09 +0000 (18:37 -0400)]
The previous commit had some extra gunk.

This reverts commit 91a70f483609c9700ebe156cc38659906e717db4.

12 years agoNew script for port reservation. Use with the vsys_portreservation attribute
Sapan Bhatia [Mon, 18 Jul 2011 22:25:53 +0000 (18:25 -0400)]
New script for port reservation. Use with the vsys_portreservation attribute

12 years agoSetting tag vsys-scripts-0.95-29 vsys-scripts-0.95-29
Thierry Parmentelat [Tue, 7 Jun 2011 13:16:38 +0000 (15:16 +0200)]
Setting tag vsys-scripts-0.95-29
vif_down,vif_up: more tidy, pointopoint, and work around ip route get <> oddly returning nothing
new vroute

12 years agoprefer $() over backquotes
Thierry Parmentelat [Tue, 31 May 2011 10:17:12 +0000 (12:17 +0200)]
prefer $() over backquotes

12 years agovif_up should abort if pointopoint does not validate
Claudio-Daniel Freire [Mon, 23 May 2011 09:06:40 +0000 (11:06 +0200)]
vif_up should abort if pointopoint does not validate

12 years agovroute script, minor fixes
Claudio-Daniel Freire [Mon, 23 May 2011 09:01:07 +0000 (11:01 +0200)]
vroute script, minor fixes

12 years agovroute script to permite manipulation of routing tables in a secure manner (ie: doesn...
Claudio-Daniel Freire [Mon, 23 May 2011 08:59:42 +0000 (10:59 +0200)]
vroute script to permite manipulation of routing tables in a secure manner (ie: doesn't affect other slices)

12 years agopointopoint support
Claudio-Daniel Freire [Mon, 23 May 2011 08:59:26 +0000 (10:59 +0200)]
pointopoint support

12 years agoFix SNAT option in tun/tap vsys scripts
Claudio-Daniel Freire [Wed, 18 May 2011 16:31:35 +0000 (18:31 +0200)]
Fix SNAT option in tun/tap vsys scripts

13 years agoSetting tag vsys-scripts-0.95-28 vsys-scripts-0.95-28
Sapan Bhatia [Mon, 21 Feb 2011 18:53:12 +0000 (13:53 -0500)]
Setting tag vsys-scripts-0.95-28
Bug fix for 2.6.27+ kernels

13 years agoBug fix
Sapan Bhatia [Mon, 21 Feb 2011 18:51:16 +0000 (13:51 -0500)]
Bug fix

13 years agoSetting tag vsys-scripts-0.95-27 vsys-scripts-0.95-27
Thierry Parmentelat [Wed, 2 Feb 2011 08:37:01 +0000 (09:37 +0100)]
Setting tag vsys-scripts-0.95-27
first draft of new scripts to handle openvswitch

13 years agoSupport scripts for openvswitch
Sapan Bhatia [Wed, 19 Jan 2011 21:44:53 +0000 (16:44 -0500)]
Support scripts for openvswitch

13 years agoSetting tag vsys-scripts-0.95-26 vsys-scripts-0.95-26
Andy Bavier [Tue, 11 Jan 2011 18:18:18 +0000 (13:18 -0500)]
Setting tag vsys-scripts-0.95-26
rsyncnodelogs script, make it easy to bring up tun/tap devices

13 years agoScript for copying NodeManager and system logs into a slice
Andy Bavier [Tue, 11 Jan 2011 17:27:14 +0000 (12:27 -0500)]
Script for copying NodeManager and system logs into a slice

13 years agoMake it easier to bring up tun/tap devices
Sapan Bhatia [Thu, 2 Dec 2010 16:17:41 +0000 (11:17 -0500)]
Make it easier to bring up tun/tap devices

13 years agoSetting tag vsys-scripts-0.95-25 vsys-scripts-0.95-25
S.Çağlar Onur [Mon, 18 Oct 2010 15:54:28 +0000 (11:54 -0400)]
Setting tag vsys-scripts-0.95-25
support newer kernels

13 years agoremove hardcoded value
S.Çağlar Onur [Mon, 18 Oct 2010 15:04:40 +0000 (11:04 -0400)]
remove hardcoded value

13 years agosupport mounting pf directory to slicewith newer kernels
S.Çağlar Onur [Mon, 18 Oct 2010 15:03:13 +0000 (11:03 -0400)]
support mounting pf directory to slicewith newer kernels

13 years agoSetting tag vsys-scripts-0.95-24 vsys-scripts-0.95-24
Sapan Bhatia [Fri, 15 Oct 2010 18:56:52 +0000 (14:56 -0400)]
Setting tag vsys-scripts-0.95-24
Add executable tag to vif_up to let it run.

13 years agoMerge branch 'master' of ssh://sapanb@git.planet-lab.org/git/vsys-scripts
Sapan Bhatia [Fri, 15 Oct 2010 18:54:46 +0000 (14:54 -0400)]
Merge branch 'master' of ssh://sapanb@git.planet-lab.org/git/vsys-scripts

13 years agoSetting tag vsys-scripts-0.95-23 vsys-scripts-0.95-23
Sapan Bhatia [Fri, 15 Oct 2010 18:36:06 +0000 (14:36 -0400)]
Setting tag vsys-scripts-0.95-23
Added execute attribute to vif_up, the absence of which prevented it from being used.

13 years agoMerge branch 'master' of ssh://sapanb@git.planet-lab.org/git/vsys-scripts
Sapan Bhatia [Fri, 15 Oct 2010 18:33:38 +0000 (14:33 -0400)]
Merge branch 'master' of ssh://sapanb@git.planet-lab.org/git/vsys-scripts

13 years agoScripts without +x will not run
Sapan Bhatia [Fri, 15 Oct 2010 18:33:25 +0000 (14:33 -0400)]
Scripts without +x will not run

13 years agofix conflict
Barış Metin [Thu, 14 Oct 2010 14:05:20 +0000 (16:05 +0200)]
fix conflict

13 years agoSetting tag vsys-scripts-0.95-22 vsys-scripts-0.95-22
Sapan Bhatia [Mon, 11 Oct 2010 21:55:02 +0000 (17:55 -0400)]
Setting tag vsys-scripts-0.95-22
vif_up has now been modified with the ability to create tap devices and to be able to SNAT over randomly selected
ports. Thanks to Matthias Goerner for his help developing and testing these changes.

13 years agoAllow creation of tun / tap devices with the ability to nat random ports
Sapan Bhatia [Mon, 11 Oct 2010 21:51:24 +0000 (17:51 -0400)]
Allow creation of tun / tap devices with the ability to nat random ports

13 years agoSetting tag vsys-scripts-0.95-21 vsys-scripts-0.95-21
Sapan Bhatia [Fri, 17 Sep 2010 18:31:32 +0000 (14:31 -0400)]
Setting tag vsys-scripts-0.95-21
Added script fd_packetseer, also updated tun/tap script to be able to create tun devices in addition to tap devices
and other minor changes.

13 years agoNot sure why taglevel in the spec file is 19, but 20 in build
Sapan Bhatia [Fri, 17 Sep 2010 18:28:57 +0000 (14:28 -0400)]
Not sure why taglevel in the spec file is 19, but 20 in build

13 years agoBug fix: Receive control channel from vsys
Sapan Bhatia [Fri, 17 Sep 2010 16:14:08 +0000 (12:14 -0400)]
Bug fix: Receive control channel from vsys

13 years agoADded packetseer script for pl_drl to see all packets via libpcap
Sapan Bhatia [Thu, 16 Sep 2010 21:36:30 +0000 (17:36 -0400)]
ADded packetseer script for pl_drl to see all packets via libpcap

13 years agoCreate tun devices in addition to tap devices
Sapan Bhatia [Thu, 2 Sep 2010 20:07:49 +0000 (16:07 -0400)]
Create tun devices in addition to tap devices

13 years ago+x on run_with_devices
Sapan Bhatia [Thu, 2 Sep 2010 14:46:42 +0000 (10:46 -0400)]
+x on run_with_devices

13 years agoVsys script for a user to be able to manage a TCP port in Layer 4
Sapan Bhatia [Thu, 2 Sep 2010 14:46:24 +0000 (10:46 -0400)]
Vsys script for a user to be able to manage a TCP port in Layer 4

13 years agoSetting tag vsys-scripts-0.95-20 vsys-scripts-0.95-20
Barış Metin [Mon, 19 Jul 2010 10:34:17 +0000 (12:34 +0200)]
Setting tag vsys-scripts-0.95-20
fix dotsshmount

13 years agoMerge remote branch 'origin/master'
Barış Metin [Mon, 19 Jul 2010 08:50:55 +0000 (10:50 +0200)]
Merge remote branch 'origin/master'

13 years agocheck paths w/o the trailing /
Barış Metin [Mon, 19 Jul 2010 08:50:19 +0000 (10:50 +0200)]
check paths w/o the trailing /

13 years agoSetting tag vsys-scripts-0.95-19 vsys-scripts-0.95-19
Barış Metin [Thu, 1 Jul 2010 10:13:06 +0000 (12:13 +0200)]
Setting tag vsys-scripts-0.95-19
change dotsshmount's mount point

13 years agomount in ~/.ssh
Barış Metin [Thu, 1 Jul 2010 10:11:56 +0000 (12:11 +0200)]
mount in ~/.ssh

13 years agoSetting tag vsys-scripts-0.95-18
Sapan Bhatia [Fri, 25 Jun 2010 17:41:49 +0000 (17:41 +0000)]
Setting tag vsys-scripts-0.95-18
Switch fd_tuntap to 2.6.27.

13 years agoPorted this code to the 2.6.27 kernel.
Sapan Bhatia [Fri, 25 Jun 2010 03:17:10 +0000 (03:17 +0000)]
Ported this code to the 2.6.27 kernel.

13 years agodotsshmount vsys script. to be used on omf enabled slices
Barış Metin [Thu, 24 Jun 2010 11:03:24 +0000 (11:03 +0000)]
dotsshmount vsys script. to be used on omf enabled slices

13 years agoUse deployed version of the fd_tuntap script, rather than the local test version.
Sapan Bhatia [Wed, 9 Jun 2010 19:56:37 +0000 (19:56 +0000)]
Use deployed version of the fd_tuntap script, rather than the local test version.

13 years agoSetting tag vsys-scripts-0.95-17
Sapan Bhatia [Fri, 30 Apr 2010 19:00:26 +0000 (19:00 +0000)]
Setting tag vsys-scripts-0.95-17
Tweak to if_port_forward script.

13 years agoMake sure only one instance of the port-forwarding rule is inserted.
Sapan Bhatia [Fri, 30 Apr 2010 18:58:50 +0000 (18:58 +0000)]
Make sure only one instance of the port-forwarding rule is inserted.

13 years agoSetting tag vsys-scripts-0.95-16
Sapan Bhatia [Fri, 30 Apr 2010 15:53:31 +0000 (15:53 +0000)]
Setting tag vsys-scripts-0.95-16
Added if_port_forward script to enable slices to forward ports for their
allocated IP addresses.

13 years agoif_port_forward lets a slice forward traffic from one port to another
Sapan Bhatia [Fri, 30 Apr 2010 15:52:11 +0000 (15:52 +0000)]
if_port_forward lets a slice forward traffic from one port to another
for its allocated IP addresses. Hack for DONAR on mlab for now, but
likely to come in useful later.

14 years agoSetting tag vsys-scripts-0.95-15
Barış Metin [Wed, 3 Mar 2010 22:35:41 +0000 (22:35 +0000)]
Setting tag vsys-scripts-0.95-15
- hostname filter and updated documentation for ipfw scripts - Marta
- vsys script for letting users to set the Type of Services(ToS) byte in the IPv4 header - Caglar
(if this is not needed anymore please remove and tag again)

14 years agoAdded hostnames filtering and updated documentation.
Marta Carbone [Mon, 1 Mar 2010 14:01:17 +0000 (14:01 +0000)]
Added hostnames filtering and updated documentation.

14 years agoReduce the keywords used to configure pipes.
Marta Carbone [Tue, 2 Feb 2010 14:49:33 +0000 (14:49 +0000)]
Reduce the keywords used to configure pipes.

14 years agovsys script for letting users to set the Type of Services(ToS) byte in the IPv4 header
S.Çağlar Onur [Fri, 22 Jan 2010 15:47:44 +0000 (15:47 +0000)]
vsys script for letting users to set the Type of Services(ToS) byte in the IPv4 header

14 years agoSetting tag vsys-scripts-0.95-14
Sapan Bhatia [Thu, 21 Jan 2010 19:34:28 +0000 (19:34 +0000)]
Setting tag vsys-scripts-0.95-14
Tweak to Thom Haddow's script to let a slice see packets related to
existing connections.

14 years agoTweak to Thom Haddow's script, by Thom Haddow.
Sapan Bhatia [Thu, 21 Jan 2010 19:32:47 +0000 (19:32 +0000)]
Tweak to Thom Haddow's script, by Thom Haddow.

14 years agoTweak to Thom Haddow's script.
Sapan Bhatia [Wed, 13 Jan 2010 15:37:06 +0000 (15:37 +0000)]
Tweak to Thom Haddow's script.

14 years agoSetting tag vsys-scripts-0.95-13
Thierry Parmentelat [Mon, 11 Jan 2010 13:24:47 +0000 (13:24 +0000)]
Setting tag vsys-scripts-0.95-13
ipfw frontend has a rules cleanup feature
ongoing work around vif_up
new script 'run_with_devices'

14 years agoCode cleanup and integration of the cleanup expired function.
Marta Carbone [Mon, 11 Jan 2010 10:06:35 +0000 (10:06 +0000)]
Code cleanup and integration of the cleanup expired function.

14 years agoMajor changes:
Marta Carbone [Wed, 6 Jan 2010 19:27:23 +0000 (19:27 +0000)]
Major changes:
- allocate a block of rules to each slice;
- configure the lookup table for each new block allocated,
  allowing ipfw to jump directly to the user section.
Minor changes:
- added the hook call, allowing to execute a hook program
  each time a rule is configured by a user;
- added the refresh command;
- added usage help (netconfig help);
- code cleanup.

14 years agoRename to the vsys convention.
Sapan Bhatia [Fri, 18 Dec 2009 22:06:50 +0000 (22:06 +0000)]
Rename to the vsys convention.

14 years agoMake sure the new process has its net namespace unshared.
Sapan Bhatia [Fri, 18 Dec 2009 22:05:58 +0000 (22:05 +0000)]
Make sure the new process has its net namespace unshared.

14 years agoRun with devices lets you isolate a given device in your slice. It is not complete
Sapan Bhatia [Fri, 18 Dec 2009 22:03:53 +0000 (22:03 +0000)]
Run with devices lets you isolate a given device in your slice. It is not complete
yet.

14 years agoStore the timeout value in seconds.
Marta Carbone [Wed, 16 Dec 2009 17:18:40 +0000 (17:18 +0000)]
Store the timeout value in seconds.

14 years agoAdded comments on ipfw pipe and rules allocation.
Marta Carbone [Wed, 9 Dec 2009 10:58:40 +0000 (10:58 +0000)]
Added comments on ipfw pipe and rules allocation.

14 years agoOptions support for vif_up, from Thom Haddow.
Sapan Bhatia [Fri, 4 Dec 2009 15:21:21 +0000 (15:21 +0000)]
Options support for vif_up, from Thom Haddow.

14 years agoSetting tag vsys-scripts-0.95-12
Thierry Parmentelat [Thu, 26 Nov 2009 14:32:44 +0000 (14:32 +0000)]
Setting tag vsys-scripts-0.95-12
improve usability of the ipfw backend

14 years agoFilter by jail_id (corresponding to the PlanetLab slice_id).
Marta Carbone [Mon, 23 Nov 2009 19:19:09 +0000 (19:19 +0000)]
Filter by jail_id (corresponding to the PlanetLab slice_id).

14 years agoAdded the type of configuration in the ipfw rule comment field.
Marta Carbone [Thu, 19 Nov 2009 12:23:53 +0000 (12:23 +0000)]
Added the type of configuration in the ipfw rule comment field.

14 years agoBugfix.
Marta Carbone [Wed, 18 Nov 2009 16:49:57 +0000 (16:49 +0000)]
Bugfix.

14 years agoremove some debugging messages.
Luigi Rizzo [Tue, 17 Nov 2009 18:33:47 +0000 (18:33 +0000)]
remove some debugging messages.
Also use this as a test to check my commit privs

14 years agoAllocated a part of rules for user free configuration and a part
Marta Carbone [Mon, 16 Nov 2009 22:34:32 +0000 (22:34 +0000)]
Allocated a part of rules for user free configuration and a part
for server|client|service configuration.
Added test and quiet options.

14 years agoUpdate
Marta Carbone [Wed, 11 Nov 2009 16:51:18 +0000 (16:51 +0000)]
Update

14 years agoSetting tag vsys-scripts-0.95-11
Sapan Bhatia [Thu, 29 Oct 2009 01:09:20 +0000 (01:09 +0000)]
Setting tag vsys-scripts-0.95-11
* Load the tun module if it is not already loaded
* Fixed a bug in fd_tuntap

14 years agoThese files need to be in the exec/ directory.
Sapan Bhatia [Thu, 29 Oct 2009 01:07:47 +0000 (01:07 +0000)]
These files need to be in the exec/ directory.

14 years agoThought I had fixed this bug.
Sapan Bhatia [Thu, 29 Oct 2009 01:05:11 +0000 (01:05 +0000)]
Thought I had fixed this bug.

14 years agoSome support scripts for tun/tap
Sapan Bhatia [Thu, 29 Oct 2009 00:53:18 +0000 (00:53 +0000)]
Some support scripts for tun/tap

14 years agoRemoving a debugging line.
Sapan Bhatia [Thu, 29 Oct 2009 00:48:16 +0000 (00:48 +0000)]
Removing a debugging line.

14 years agoLoad the legacy tun module if the first attempt doesn't work out.
Sapan Bhatia [Thu, 29 Oct 2009 00:42:59 +0000 (00:42 +0000)]
Load the legacy tun module if the first attempt doesn't work out.

14 years agoAdding tun/tap test module, for users to refer to.
Sapan Bhatia [Thu, 29 Oct 2009 00:31:16 +0000 (00:31 +0000)]
Adding tun/tap test module, for users to refer to.

14 years agoSetting tag vsys-scripts-0.95-10
Sapan Bhatia [Wed, 28 Oct 2009 02:58:00 +0000 (02:58 +0000)]
Setting tag vsys-scripts-0.95-10
Adds Thom Haddow's tun/tap changes. I omitted a change in my previous commit.

14 years agoChecking in some recent tun/tap changes.
Sapan Bhatia [Wed, 28 Oct 2009 02:55:33 +0000 (02:55 +0000)]
Checking in some recent tun/tap changes.

14 years agoSetting tag vsys-scripts-0.95-9
Sapan Bhatia [Wed, 28 Oct 2009 02:53:39 +0000 (02:53 +0000)]
Setting tag vsys-scripts-0.95-9
This update adds Thom Haddow's custom tun/tap-device scripts.

14 years agovif_down script from Thom Haddow
Sapan Bhatia [Tue, 27 Oct 2009 18:44:06 +0000 (18:44 +0000)]
vif_down script from Thom Haddow