vsys-scripts.git
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

14 years agovif_up script from Thom Haddow, for bringing up virtual interfaces
Sapan Bhatia [Tue, 27 Oct 2009 18:43:26 +0000 (18:43 +0000)]
vif_up script from Thom Haddow, for bringing up virtual interfaces

14 years agoSetting tag vsys-scripts-0.95-8
Faiyaz Ahmed [Wed, 9 Sep 2009 17:35:39 +0000 (17:35 +0000)]
Setting tag vsys-scripts-0.95-8
Added script to create UDP sockets instead of TCP sockets w/ big buffers

14 years ago(no commit message)
Sapan Bhatia [Wed, 9 Sep 2009 00:07:18 +0000 (00:07 +0000)]

14 years agoSetting tag vsys-scripts-0.95-7
Thierry Parmentelat [Mon, 7 Sep 2009 11:45:15 +0000 (11:45 +0000)]
Setting tag vsys-scripts-0.95-7
minor changes in sliceip and ipfw, new reserve_udp_port

14 years agoPatch from Giovanni:
Barış Metin [Tue, 1 Sep 2009 11:46:17 +0000 (11:46 +0000)]
Patch from Giovanni:
The patch contains a fix on the tagging of packets (mainly a -j RETURN iptables rule to avoid tagging a packet already tagged) and a small
improvement (specific iptables chains for sliceip).

14 years agoFix slicename and timeout values, use the numeric ip address instead of the 'me'...
Marta Carbone [Mon, 24 Aug 2009 21:17:45 +0000 (21:17 +0000)]
Fix slicename and timeout values, use the numeric ip address instead of the 'me' keyword.

14 years agoScript to reserve udp ports.
Sapan Bhatia [Tue, 4 Aug 2009 13:43:48 +0000 (13:43 +0000)]
Script to reserve udp ports.

14 years agoAdded reserve_tcp_port and Giovanni's slice_ip tool.
Sapan Bhatia [Tue, 4 Aug 2009 03:14:44 +0000 (03:14 +0000)]
Added reserve_tcp_port and Giovanni's slice_ip tool.

Setting tag vsys-scripts-0.95-6

14 years agoDebugged version of reserve_tcp_port
Sapan Bhatia [Tue, 4 Aug 2009 03:12:30 +0000 (03:12 +0000)]
Debugged version of reserve_tcp_port

14 years agoReserve a tcp port on a node.
Sapan Bhatia [Tue, 4 Aug 2009 03:02:37 +0000 (03:02 +0000)]
Reserve a tcp port on a node.

14 years agoMoving sliceip to exec/
Sapan Bhatia [Mon, 27 Jul 2009 13:15:10 +0000 (13:15 +0000)]
Moving sliceip to exec/

14 years agosvn keywords
Thierry Parmentelat [Sun, 26 Jul 2009 05:46:05 +0000 (05:46 +0000)]
svn keywords

14 years agoadding sliceip on behalf of Giovanni
Thierry Parmentelat [Sun, 26 Jul 2009 05:44:58 +0000 (05:44 +0000)]
adding sliceip on behalf of Giovanni

14 years agoTagging module vsys-scripts - vsys-scripts-0.95-5
Thierry Parmentelat [Tue, 7 Jul 2009 12:21:06 +0000 (12:21 +0000)]
Tagging module vsys-scripts - vsys-scripts-0.95-5
tweak in ipfw-be for in-node emulation

14 years agoAdded `ipfw show' and `ipfw pipe show' commands. Minor fix.
Marta Carbone [Mon, 6 Jul 2009 19:14:19 +0000 (19:14 +0000)]
Added `ipfw show' and `ipfw pipe show' commands. Minor fix.

14 years agoTagging module vsys-scripts - vsys-scripts-0.95-4
Thierry Parmentelat [Thu, 11 Jun 2009 10:31:29 +0000 (10:31 +0000)]
Tagging module vsys-scripts - vsys-scripts-0.95-4
Added the ipfw backend script

14 years agoundo previous change before tagging with module-tag
Thierry Parmentelat [Thu, 11 Jun 2009 10:30:15 +0000 (10:30 +0000)]
undo previous change before tagging with module-tag

14 years agoAdded ipfw backend script.
Marta Carbone [Thu, 11 Jun 2009 09:12:42 +0000 (09:12 +0000)]
Added ipfw backend script.

14 years agoTagging module vsys-scripts - vsys-scripts-0.95-3
Faiyaz Ahmed [Fri, 5 Jun 2009 19:08:04 +0000 (19:08 +0000)]
Tagging module vsys-scripts - vsys-scripts-0.95-3
rsync authlogs to ~/

14 years agoRsync auth logs to ~/ in the slice
Faiyaz Ahmed [Fri, 5 Jun 2009 18:47:12 +0000 (18:47 +0000)]
Rsync auth logs to ~/ in the slice

14 years agoActually, just decided that you don't need vsys for this.
Sapan Bhatia [Tue, 26 May 2009 00:45:54 +0000 (00:45 +0000)]
Actually, just decided that you don't need vsys for this.

14 years agoPoor man's virtualization of ntp
Sapan Bhatia [Tue, 26 May 2009 00:44:38 +0000 (00:44 +0000)]
Poor man's virtualization of ntp

14 years agoSecurity update. umount had an issue that might have been exploited.
Sapan Bhatia [Mon, 18 May 2009 19:36:38 +0000 (19:36 +0000)]
Security update. umount had an issue that might have been exploited.

Tagging module vsys-scripts - vsys-scripts-0.95-2

14 years agoSecurity fix
Sapan Bhatia [Mon, 18 May 2009 19:33:19 +0000 (19:33 +0000)]
Security fix

14 years agocleanup
Thierry Parmentelat [Mon, 18 May 2009 16:22:32 +0000 (16:22 +0000)]
cleanup

14 years agoAdd subnet for external NAT interface
Andy Bavier [Mon, 18 May 2009 14:51:37 +0000 (14:51 +0000)]
Add subnet for external NAT interface

14 years agoAdding port reservation script (goodfences)
Sapan Bhatia [Thu, 14 May 2009 18:36:26 +0000 (18:36 +0000)]
Adding port reservation script (goodfences)
Modifying umount to be more (or less, depending on your point of view) robust

Tagging module vsys-scripts - vsys-scripts-0.95-1

14 years agoApparently, some users mess up their directories so badly that they don't stat as...
Sapan Bhatia [Thu, 7 May 2009 22:36:45 +0000 (22:36 +0000)]
Apparently, some users mess up their directories so badly that they don't stat as directories anymore. This change is for them.

14 years agoGood fences - port reservation privilege
Sapan Bhatia [Thu, 7 May 2009 14:52:29 +0000 (14:52 +0000)]
Good fences - port reservation privilege

14 years ago(no commit message)
Sapan Bhatia [Thu, 7 May 2009 14:50:15 +0000 (14:50 +0000)]

15 years agoAdd backslash
Andy Bavier [Fri, 24 Apr 2009 17:18:50 +0000 (17:18 +0000)]
Add backslash

15 years agoUpdate for iproute-2.6.28
Andy Bavier [Mon, 20 Apr 2009 17:48:46 +0000 (17:48 +0000)]
Update for iproute-2.6.28

15 years agoWith this, things ought to be in order wrt module-tools
Sapan Bhatia [Wed, 8 Apr 2009 16:19:32 +0000 (16:19 +0000)]
With this, things ought to be in order wrt module-tools

15 years agoUmount script for unmounting fuse mounts
Sapan Bhatia [Tue, 7 Apr 2009 03:24:03 +0000 (03:24 +0000)]
Umount script for unmounting fuse mounts

15 years agoChecking in KyoungSoo's changes for dynamically setting buffer sizes
Sapan Bhatia [Thu, 2 Apr 2009 19:47:19 +0000 (19:47 +0000)]
Checking in KyoungSoo's changes for dynamically setting buffer sizes

15 years ago(no commit message)
Sapan Bhatia [Wed, 1 Apr 2009 18:08:24 +0000 (18:08 +0000)]

15 years agovsys-scripts
Sapan Bhatia [Wed, 1 Apr 2009 18:06:19 +0000 (18:06 +0000)]
vsys-scripts

15 years agoRenaming factory -> scripts
Sapan Bhatia [Wed, 1 Apr 2009 17:56:03 +0000 (17:56 +0000)]
Renaming factory -> scripts

15 years agoBug fix
Sapan Bhatia [Wed, 1 Apr 2009 17:55:37 +0000 (17:55 +0000)]
Bug fix

15 years agoRenaming to a more intelligible name
Sapan Bhatia [Wed, 1 Apr 2009 17:02:06 +0000 (17:02 +0000)]
Renaming to a more intelligible name

15 years agoMore bug fixes... trunk@12817
Sapan Bhatia [Tue, 31 Mar 2009 18:41:58 +0000 (18:41 +0000)]
More bug fixes...

15 years agoAdded a log file.
Sapan Bhatia [Tue, 31 Mar 2009 18:26:43 +0000 (18:26 +0000)]
Added a log file.

15 years agoFixed another bug
Sapan Bhatia [Tue, 31 Mar 2009 16:30:40 +0000 (16:30 +0000)]
Fixed another bug

15 years agoFixed some bugs, and tested to work.
Sapan Bhatia [Tue, 31 Mar 2009 16:26:58 +0000 (16:26 +0000)]
Fixed some bugs, and tested to work.

15 years ago(no commit message)
Sapan Bhatia [Thu, 26 Mar 2009 14:18:22 +0000 (14:18 +0000)]

15 years ago[End of patch series]
Sapan Bhatia [Tue, 24 Mar 2009 22:01:56 +0000 (22:01 +0000)]
[End of patch series]

15 years ago(no commit message)
Sapan Bhatia [Tue, 24 Mar 2009 22:01:28 +0000 (22:01 +0000)]

15 years ago(no commit message)
Sapan Bhatia [Tue, 24 Mar 2009 21:57:11 +0000 (21:57 +0000)]

15 years agoFd passing script for fusemount
Sapan Bhatia [Tue, 24 Mar 2009 21:46:34 +0000 (21:46 +0000)]
Fd passing script for fusemount

15 years agoWhoops. This script should use RCVBUFFORCE, which overrides the global value of rmem_max
Sapan Bhatia [Tue, 24 Mar 2009 21:30:45 +0000 (21:30 +0000)]
Whoops. This script should use RCVBUFFORCE, which overrides the global value of rmem_max

15 years agoOk, I'm going to have to rewrite this...
Sapan Bhatia [Tue, 24 Mar 2009 20:43:25 +0000 (20:43 +0000)]
Ok, I'm going to have to rewrite this...

15 years ago(no commit message)
Sapan Bhatia [Tue, 24 Mar 2009 20:43:06 +0000 (20:43 +0000)]

15 years agoAdding FUSE related vsys scripts
Sapan Bhatia [Tue, 24 Mar 2009 20:32:54 +0000 (20:32 +0000)]
Adding FUSE related vsys scripts

15 years ago(no commit message)
Sapan Bhatia [Tue, 24 Mar 2009 18:44:25 +0000 (18:44 +0000)]

15 years ago(no commit message)
Sapan Bhatia [Tue, 24 Mar 2009 18:33:18 +0000 (18:33 +0000)]

15 years agoAdding a vsys script for large TCP receive buffers
Sapan Bhatia [Tue, 24 Mar 2009 18:28:49 +0000 (18:28 +0000)]
Adding a vsys script for large TCP receive buffers

15 years agoAdding some scripts that implement fd passing
Sapan Bhatia [Tue, 24 Mar 2009 18:14:59 +0000 (18:14 +0000)]
Adding some scripts that implement fd passing

15 years agomknod script for chopstix
Sapan Bhatia [Fri, 27 Feb 2009 19:57:13 +0000 (19:57 +0000)]
mknod script for chopstix

15 years agoBranch 0.8 for module vsys-factory created (as new trunk) from tag vsys-factory-0.7-0 vsys-factory-0.8-0@12290
Sapan Bhatia [Fri, 27 Feb 2009 18:16:54 +0000 (18:16 +0000)]
Branch 0.8 for module vsys-factory created (as new trunk) from tag vsys-factory-0.7-0

15 years agoLearning module-tool conventions as I go along... 0.7@12288
Sapan Bhatia [Fri, 27 Feb 2009 18:15:31 +0000 (18:15 +0000)]
Learning module-tool conventions as I go along...

15 years ago(no commit message)
Sapan Bhatia [Fri, 27 Feb 2009 18:14:22 +0000 (18:14 +0000)]

15 years ago(no commit message) vsys-factory-0.7-0@12284
Sapan Bhatia [Fri, 27 Feb 2009 18:08:16 +0000 (18:08 +0000)]

15 years ago(no commit message)
Sapan Bhatia [Fri, 27 Feb 2009 18:04:16 +0000 (18:04 +0000)]

15 years ago(no commit message)
Sapan Bhatia [Fri, 27 Feb 2009 17:53:53 +0000 (17:53 +0000)]

15 years ago(no commit message)
Sapan Bhatia [Fri, 27 Feb 2009 17:51:55 +0000 (17:51 +0000)]

15 years ago(no commit message)
Sapan Bhatia [Fri, 27 Feb 2009 17:51:36 +0000 (17:51 +0000)]

15 years ago(no commit message)
Sapan Bhatia [Fri, 27 Feb 2009 17:43:07 +0000 (17:43 +0000)]

15 years agocompile some scripts
Sapan Bhatia [Fri, 27 Feb 2009 17:38:37 +0000 (17:38 +0000)]
compile some scripts

15 years ago(no commit message)
Sapan Bhatia [Fri, 27 Feb 2009 17:31:24 +0000 (17:31 +0000)]

15 years agoUpdating vsys factory. This will become the new location of vsys scripts, outdating...
Sapan Bhatia [Fri, 27 Feb 2009 17:30:42 +0000 (17:30 +0000)]
Updating vsys factory. This will become the new location of vsys scripts, outdating vsys/factory.

15 years agoVsys factory scripts will live here in the future.
Sapan Bhatia [Tue, 15 Jul 2008 17:16:13 +0000 (17:16 +0000)]
Vsys factory scripts will live here in the future.