git commit: [emulab-devel] branch master updated (6cf701f)

1 view
Skip to first unread message

Leigh B. Stoller

unread,
Jul 12, 2012, 9:32:19 AM7/12/12
to geni...@emulab.net, emulab-dev...@googlegroups.com
Branch master has been updated: 388ef6b..6cf701f

- Do not throw a fatal error when event system fails to start.
- Protogeni Rack: Add foam to list of allowed relays.
- When there is a parent pointer, enter an os_submap row.
- Minor fix.
- Decrease boot delay from 60 to 45 seconds. Machines are faster.
- Add some time stamps.
- Add trunk() methods to the interface portion of a Port.
- Add reverse DNS lookup for the jail network.
- Bug fix for fixing VMs to nodes. Changes to shared vlans.
- Performance improvements to previous revision.
- Change example to ask for two shared ports, to reflect changes to lib
- Bug fix for handling shared vlans and trunked ports.
- Dump out nextosid,def_parentos on ez images.
- Cleanup in the web interface to prevent XSS attacks.

========================================================================

commit 758f3da3bd9cc89111f0cee7b40d888f5ad100ef
Author: Leigh B Stoller <sto...@flux.utah.edu>
Date: Tue Jul 10 07:04:45 2012 -0600

Do not throw a fatal error when event system fails to start.

7 1 protogeni/lib/GeniAggregate.pm.in
1 files changed, 7 insertions(+), 1 deletions(-)

http://git-public.flux.utah.edu/?p=emulab-devel.git;a=commitdiff;h=758f3da

------------------------------------------------------------------------

commit 807e7c847c6abdb13d393a036820707dd3ed0166
Author: Leigh B Stoller <sto...@flux.utah.edu>
Date: Tue Jul 10 11:33:40 2012 -0600

Protogeni Rack: Add foam to list of allowed relays.

4 0 install/phases/ops/sendmail
1 files changed, 4 insertions(+), 0 deletions(-)

http://git-public.flux.utah.edu/?p=emulab-devel.git;a=commitdiff;h=807e7c8

------------------------------------------------------------------------

commit 092c8bfe7dc25eaebeab34d1c91b9c435695c373
Author: Leigh B Stoller <sto...@flux.utah.edu>
Date: Wed Jul 11 16:22:42 2012 -0600

When there is a parent pointer, enter an os_submap row.

13 3 backend/newimageid_ez.in
1 files changed, 13 insertions(+), 3 deletions(-)

http://git-public.flux.utah.edu/?p=emulab-devel.git;a=commitdiff;h=092c8bf

------------------------------------------------------------------------

commit 652bed4ad0fedd6a836cf4e75038fa1a7469fd5d
Author: Leigh B Stoller <sto...@flux.utah.edu>
Date: Wed Jul 11 16:23:06 2012 -0600

Minor fix.

1 1 clientside/tmcc/fedora15/ntpd.service
1 files changed, 1 insertions(+), 1 deletions(-)

http://git-public.flux.utah.edu/?p=emulab-devel.git;a=commitdiff;h=652bed4

------------------------------------------------------------------------

commit 6f587c5c02c309a00c0324355dfa7fe38d3587bf
Author: Leigh B Stoller <sto...@flux.utah.edu>
Date: Wed Jul 11 16:23:37 2012 -0600

Decrease boot delay from 60 to 45 seconds. Machines are faster.

1 1 clientside/tmcc/common/vnodesetup
1 files changed, 1 insertions(+), 1 deletions(-)

http://git-public.flux.utah.edu/?p=emulab-devel.git;a=commitdiff;h=6f587c5

------------------------------------------------------------------------

commit ef21ee90e1f2743d1b8a7bbca3714b7ad5dc92f3
Author: Leigh B Stoller <sto...@flux.utah.edu>
Date: Wed Jul 11 16:24:12 2012 -0600

Add some time stamps.

3 2 clientside/tmcc/common/bootvnodes
1 files changed, 3 insertions(+), 2 deletions(-)

http://git-public.flux.utah.edu/?p=emulab-devel.git;a=commitdiff;h=ef21ee9

------------------------------------------------------------------------

commit 563df69f13ebb444cde642ecf3f702318c919c5d
Author: Leigh B Stoller <sto...@flux.utah.edu>
Date: Wed Jul 11 16:24:46 2012 -0600

Add trunk() methods to the interface portion of a Port.

3 0 db/Port.pm
1 files changed, 3 insertions(+), 0 deletions(-)

http://git-public.flux.utah.edu/?p=emulab-devel.git;a=commitdiff;h=563df69

------------------------------------------------------------------------

commit bee73f229ac22a40dde87b959a795449ad11cbc4
Author: Leigh B Stoller <sto...@flux.utah.edu>
Date: Wed Jul 11 16:31:08 2012 -0600

Add reverse DNS lookup for the jail network.

The GPO wants this for the protogeni racks. We now build reverse
map files for the 172.16 subnet, although we do it on a /16 boundry
to avoid a zillion zone files.

I am not planning to write an update script for this, since it would
require scripting changes to named.conf, which I am loath to do. So I
will do it by hand in Utah, and new sites (racks) will get it. If a
site wants it:

boss> cd obj/named

Copy all of the 172 files to /etc/named/reverse
Copy all of the 172 zone entries from named.conf to /etc/named/named.conf

boss> named_setup

6 2 named/GNUmakefile.in
14 1 named/named_makeconf.in
18 2 named/named_makerev.in
59 10 tbsetup/named_setup.in
4 files changed, 97 insertions(+), 15 deletions(-)

http://git-public.flux.utah.edu/?p=emulab-devel.git;a=commitdiff;h=bee73f2

------------------------------------------------------------------------

commit a31ae88625147d867671a9a253764bd79bc1464e
Author: Leigh B Stoller <sto...@flux.utah.edu>
Date: Wed Jul 11 16:38:23 2012 -0600

Bug fix for fixing VMs to nodes. Changes to shared vlans.

People try to fix pc433 to pc433. The former is a node in the topo,
the later is a physical node. Causes confusion, breaks. Look for
this corner case.

Allow lans that use shared lans, to have more then one port. So now
you can do this in your rspec:

<link client_id="link0">
<vlan:link_shared_vlan name="openflow-mesoscale" />
<interface_ref client_id="node1:if" />
<interface_ref client_id="node2:if" />
</link>

45 39 tbsetup/libvtop_test.pm.in
1 files changed, 45 insertions(+), 39 deletions(-)

http://git-public.flux.utah.edu/?p=emulab-devel.git;a=commitdiff;h=a31ae88

------------------------------------------------------------------------

commit bd2366417c60c94a37e0e5cd5eaa3cf30722fa9c
Author: Leigh B Stoller <sto...@flux.utah.edu>
Date: Wed Jul 11 16:39:49 2012 -0600

Performance improvements to previous revision.

27 17 clientside/tmcc/linux/openvz/libvnode_openvz.pm
1 files changed, 27 insertions(+), 17 deletions(-)

http://git-public.flux.utah.edu/?p=emulab-devel.git;a=commitdiff;h=bd23664

------------------------------------------------------------------------

commit fd839f777c9c20746c8ab5d5e8025c270d531c7a
Author: Leigh B Stoller <sto...@flux.utah.edu>
Date: Wed Jul 11 16:40:39 2012 -0600

Change example to ask for two shared ports, to reflect changes
to libvtop.

9 1 protogeni/test/openflow.rspec
1 files changed, 9 insertions(+), 1 deletions(-)

http://git-public.flux.utah.edu/?p=emulab-devel.git;a=commitdiff;h=fd839f7

------------------------------------------------------------------------

commit 5214304638ba804550324050a3be5e6481017fdd
Author: Leigh B Stoller <sto...@flux.utah.edu>
Date: Wed Jul 11 16:42:25 2012 -0600

Bug fix for handling shared vlans and trunked ports.

The code to determine what ports need to be trunked or untrunked was
blindly picking all ports for the experiment, instead of restricting
them to those in the vlans being operated on. The result was a missing
device from the stack.

43 22 tbsetup/snmpit_test/snmpit_lib.pm
10 8 tbsetup/snmpit_test/snmpit_test.in
2 files changed, 53 insertions(+), 30 deletions(-)

http://git-public.flux.utah.edu/?p=emulab-devel.git;a=commitdiff;h=5214304

------------------------------------------------------------------------

commit d1d3ff116c13be0b23dd44c03553086d6db57991
Author: Leigh B Stoller <sto...@flux.utah.edu>
Date: Wed Jul 11 16:42:57 2012 -0600

Dump out nextosid,def_parentos on ez images.

17 1 utils/dumpdescriptor.in
1 files changed, 17 insertions(+), 1 deletions(-)

http://git-public.flux.utah.edu/?p=emulab-devel.git;a=commitdiff;h=d1d3ff1

------------------------------------------------------------------------

commit 6cf701f9e0bb94112679fa7034bcf24f9abcbddc
Author: Leigh B Stoller <sto...@flux.utah.edu>
Date: Wed Jul 11 18:16:28 2012 -0600

Cleanup in the web interface to prevent XSS attacks.

We had a couple of different problems actually.

* We allow users to insert html into many DB fields (say, a project or
experiment description).

* We did not sanitize that output when displaying back.

* We did not sanitize initial page arguments that were reflected in the
output (say, in a form).

Since no one has the time to analyze every line of code, I took a couple of
shortcuts. The first is that I changed the regex table to not allow any <>
chars to go from the user into the DB. Brutal, but in fact there are only a
couple of places where a user legitimately needs them. For example, a
startup command that includes redirection. I handle those as special
cases. As more come up, we can fix them.

I did a quick pass through all of the forms, and made sure that we run
htmlspecialchars on everything including initial form args. This was not
too bad cause of the way all of the forms are structured, with a
"formfields" array.

I also removed a bunch of obsolete code and added an update script to
actually remove them from the www directory.

Lastly, I purged some XMLRPC code I did a long time ago in the Begin
Experiment path. Less complexity, easier to grok and fix.

modified: sql/database-fill.sql
modified: sql/dbfill-update.sql

75 0 install/updates/5/30
32 25 sql/database-fill.sql
30 0 sql/dbfill-update.sql
1 12 www/GNUmakefile.in
2 2 www/approveproject.php3
2 2 www/approveproject_form.php3
12 12 www/approveuser_form.php3
0 314 www/approvewauser.php3
0 192 www/approvewauser_form.php3
9 1 www/archive_tag.php3
1 1 www/archive_tags.php3
2 1 www/archive_view.php3
555 0 www/beginexp.php
8 60 www/beginexp_form.php3
0 215 www/beginexp_html.php3
0 515 www/beginexp_xml.php3
5 1 www/changeuid.php
4 2 www/chpasswd.php3
9 1 www/dbcheck.php3
8 0 www/defs.php3.in
7 1 www/delaycontrol.php3
2 2 www/deletenodelog.php3
0 149 www/deletesfskey.php3
2 2 www/deleteuser.php3
2 1 www/delmmlist.php3
10 7 www/editexp.php3
7 1 www/editgroup.php3
7 1 www/editimageid.php3
1 4 www/floormap.php3
1 0 www/garcia-telemetry/README
6 0 www/gensslcert.php3
7 0 www/joinproject.php3
0 484 www/kb-manage.php3
0 327 www/kb-search.php3
2 13 www/menu.php3
2 3 www/modifyexp.php3
7 2 www/moduserinfo.php3
7 1 www/newgroup.php3
7 1 www/newimageid.php3
17 2 www/newimageid_ez.php3
7 1 www/newmmlist.php3
24 8 www/newnode_edit.php3
6 2 www/newnodes_list.php3
6 0 www/newproject.php3
2 0 www/node_defs.php
14 9 www/nodecontrol.php3
4 1 www/nodecontrol_form.php3
1 8 www/nodecontrol_list.php3
3 2 www/nscheck.php3
0 317 www/nsgen.php3
2 1 www/pagenotworking.php
5 0 www/password.php3
0 736 www/plab_ez.php3
0 23 www/plab_ez_footnote1.html
0 21 www/plab_ez_footnote2.html
0 20 www/plab_ez_footnote3.html
0 13 www/plab_ez_footnote4.html
0 14 www/plab_ez_footnote5.html
0 17 www/plab_ez_footnote6.html
0 15 www/plab_ez_footnote7.html
0 43 www/plab_ez_footnote8.html
0 2269 www/plabmetrics.php3
0 169 www/plabstats.php3
3 1 www/powertime.php3
1 4 www/profile.php
9 2 www/record_revise.php
4 1 www/resendapproval.php
0 390 www/robotmap.php3
1 0 www/robotrack/README
4 3 www/search.php3
3 1 www/setnodeloc.php3
2 24 www/showexp.php3
6 0 www/showpubkeys.php3
0 324 www/showsfskeys.php3
1 1 www/showstats.php3
4 1 www/showsumstats.php3
1 4 www/showuser.php3
9 6 www/showuser_list.php3
4 2 www/template_analyze.php
7 1 www/template_create.php
7 1 www/template_defs.php
7 1 www/template_editevents.php
3 2 www/template_export.php
1 1 www/user_defs.php
2 1 www/verifyusr.php3
1 0 www/webdb/README
5 1 www/widearea_nodeinfo.php3
87 files changed, 1008 insertions(+), 6818 deletions(-)

http://git-public.flux.utah.edu/?p=emulab-devel.git;a=commitdiff;h=6cf701f
Reply all
Reply to author
Forward
0 new messages