/[pxelator]/lib/PXElator/httpd.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Log of /lib/PXElator/httpd.pm

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 231 - (view) (annotate) - [select for diffs]
Modified Sun Aug 16 22:24:22 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 8634 byte(s)
Diff to previous 229
and start it

Revision 229 - (view) (annotate) - [select for diffs]
Modified Sun Aug 16 21:35:23 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 8613 byte(s)
Diff to previous 225
use kernel bridge (named virtual) instead of vde

it's much faster, and we know all commands to use it :-)


Revision 225 - (view) (annotate) - [select for diffs]
Modified Sun Aug 16 00:03:30 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 8493 byte(s)
Diff to previous 224
split out wireshark as separate process from kvm

implemented fork_if_active (for sub-processes) and fork_actions
which can be run without dependencies


Revision 224 - (view) (annotate) - [select for diffs]
Modified Sat Aug 15 22:38:02 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 8290 byte(s)
Diff to previous 216
added ip parser


Revision 216 - (view) (annotate) - [select for diffs]
Modified Thu Aug 13 13:06:18 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 8066 byte(s)
Diff to previous 208
cleanup format::mac

Revision 208 - (view) (annotate) - [select for diffs]
Modified Wed Aug 12 23:59:01 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 7988 byte(s)
Diff to previous 207
cleanup logging a bit


Revision 207 - (view) (annotate) - [select for diffs]
Modified Wed Aug 12 22:56:45 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 8067 byte(s)
Diff to previous 200
first verision which boots virtual machine logging using new CouchDB::audit code

it need some more work to make it less ugly (especially console output) and
less redundant/useful, but it's a start


Revision 200 - (view) (annotate) - [select for diffs]
Modified Tue Aug 11 15:55:26 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 7920 byte(s)
Diff to previous 199
refactor code to make clinet::change_ip which works

Revision 199 - (view) (annotate) - [select for diffs]
Modified Tue Aug 11 15:13:19 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 7814 byte(s)
Diff to previous 193
rewrite ok and redirect headers into subs, allowing configurable url for redirect


Revision 193 - (view) (annotate) - [select for diffs]
Modified Mon Aug 10 16:36:16 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 7608 byte(s)
Diff to previous 190
show mac as table

Revision 190 - (view) (annotate) - [select for diffs]
Modified Mon Aug 10 00:07:38 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 7485 byte(s)
Diff to previous 189
added arp table display

Revision 189 - (view) (annotate) - [select for diffs]
Modified Sun Aug 9 23:18:59 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 7046 byte(s)
Diff to previous 188
start daemons first and then listen to recover from allready running httpd without any other windows

Revision 188 - (view) (annotate) - [select for diffs]
Modified Sun Aug 9 22:05:09 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 7046 byte(s)
Diff to previous 185
display deployment options only if we saw mac from this ip

Revision 185 - (view) (annotate) - [select for diffs]
Modified Sun Aug 9 21:13:36 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 6933 byte(s)
Diff to previous 184
split daemons into own package

Revision 184 - (view) (annotate) - [select for diffs]
Modified Sun Aug 9 20:46:00 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 8480 byte(s)
Diff to previous 181
let daemons create pid files, so we can adopt them if they are still alive (makes httpd restartable)

Revision 181 - (view) (annotate) - [select for diffs]
Modified Sun Aug 9 19:00:52 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 8166 byte(s)
Diff to previous 179
added AMT settings based on Intel::AMT

Revision 179 - (view) (annotate) - [select for diffs]
Modified Sun Aug 9 16:37:46 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 8065 byte(s)
Diff to previous 173
DEV=eth0 ./bin/start.sh

will not run PXElator on existing device eth0 without
touching tap0 or bringing kvm up


Revision 173 - (view) (annotate) - [select for diffs]
Modified Thu Aug 6 22:29:58 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 8002 byte(s)
Diff to previous 166
use x11::xterm, detect existed processes, show clients in table


Revision 166 - (view) (annotate) - [select for diffs]
Modified Thu Aug 6 18:55:51 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 7922 byte(s)
Diff to previous 165
added hostname

Revision 165 - (view) (annotate) - [select for diffs]
Modified Thu Aug 6 18:51:57 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 7884 byte(s)
Diff to previous 162
display client mac addresses

Revision 162 - (view) (annotate) - [select for diffs]
Modified Thu Aug 6 18:10:31 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 7787 byte(s)
Diff to previous 159
implement list of clients if accessing /client from server
and enable changing of all client options


Revision 159 - (view) (annotate) - [select for diffs]
Modified Thu Aug 6 15:40:42 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 7570 byte(s)
Diff to previous 158
use clinet::conf instead of server::shared

Revision 158 - (view) (annotate) - [select for diffs]
Modified Thu Aug 6 15:36:13 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 7547 byte(s)
Diff to previous 153
start each server individually and forget about screen
(since we run httpd as root now)


Revision 153 - (view) (annotate) - [select for diffs]
Modified Wed Aug 5 23:22:17 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 7534 byte(s)
Diff to previous 149
added client hostname and deploy of configuration over web

Revision 149 - (view) (annotate) - [select for diffs]
Modified Wed Aug 5 13:25:55 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 6942 byte(s)
Diff to previous 140
split server status into own page, add menu to top and bottom

Revision 140 - (view) (annotate) - [select for diffs]
Modified Tue Aug 4 17:16:11 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 6821 byte(s)
Diff to previous 136
first try to ifup tap0 and report suggestion if it fails

Revision 136 - (view) (annotate) - [select for diffs]
Modified Tue Aug 4 13:30:47 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 6777 byte(s)
Diff to previous 128
fix warning about undefined $pid


Revision 128 - (view) (annotate) - [select for diffs]
Modified Mon Aug 3 19:59:08 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 6760 byte(s)
Diff to previous 118
added back refresh, this time in as server->refresh


Revision 118 - (view) (annotate) - [select for diffs]
Modified Mon Aug 3 08:52:32 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 6741 byte(s)
Diff to previous 115
added timestamp and moved Module::Refresh->refresh into server


Revision 115 - (view) (annotate) - [select for diffs]
Modified Sun Aug 2 12:09:02 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 6784 byte(s)
Diff to previous 107
implement common (and correct) progress_bar for tftpd and httpd


Revision 107 - (view) (annotate) - [select for diffs]
Modified Sat Aug 1 00:44:52 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 7071 byte(s)
Diff to previous 105
flush data to client and display estimated time to finish

Revision 105 - (view) (annotate) - [select for diffs]
Modified Fri Jul 31 23:22:05 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 7040 byte(s)
Diff to previous 104
better download progress with estimated time

Revision 104 - (view) (annotate) - [select for diffs]
Modified Fri Jul 31 22:52:22 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 6856 byte(s)
Diff to previous 96
display download speed

Revision 96 - (view) (annotate) - [select for diffs]
Modified Fri Jul 31 20:45:09 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 6739 byte(s)
Diff to previous 91
flush socket to client and set block to 1400 bytes so we don't fragment
TCP packets because pxelinux hangs sometimes, cleanup output


Revision 91 - (view) (annotate) - [select for diffs]
Modified Fri Jul 31 18:48:29 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 6692 byte(s)
Diff to previous 89
added clean completed downloads

Revision 89 - (view) (annotate) - [select for diffs]
Modified Fri Jul 31 18:26:28 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 6470 byte(s)
Diff to previous 88
fix REST API for /start_stop/ change


Revision 88 - (view) (annotate) - [select for diffs]
Modified Fri Jul 31 18:16:14 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 6419 byte(s)
Diff to previous 87
code cleanup

- rename start_options to start_fork to better describe what it does
- implemented actions which can be called directly from web
- /start_stop REST API correction


Revision 87 - (view) (annotate) - [select for diffs]
Modified Fri Jul 31 17:43:38 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 6200 byte(s)
Diff to previous 86
sort processes by name


Revision 86 - (view) (annotate) - [select for diffs]
Modified Fri Jul 31 17:41:19 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 6195 byte(s)
Diff to previous 81
fixed kill


Revision 81 - (view) (annotate) - [select for diffs]
Modified Fri Jul 31 16:47:52 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 6181 byte(s)
Diff to previous 78
provide interface to all methods which are defined inside start_options


Revision 78 - (view) (annotate) - [select for diffs]
Modified Fri Jul 31 14:43:30 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 5955 byte(s)
Diff to previous 77
move more output to debug

Revision 77 - (view) (annotate) - [select for diffs]
Modified Fri Jul 31 14:42:45 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 5935 byte(s)
Diff to previous 72
kill using pstree from children to parent

Revision 72 - (view) (annotate) - [select for diffs]
Modified Thu Jul 30 23:57:19 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 5820 byte(s)
Diff to previous 71
record and display log changes by mac addresses


Revision 71 - (view) (annotate) - [select for diffs]
Modified Thu Jul 30 22:55:08 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 5772 byte(s)
Diff to previous 70
much better output for /proc/$pid/status


Revision 70 - (view) (annotate) - [select for diffs]
Modified Thu Jul 30 22:44:55 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 5634 byte(s)
Diff to previous 67
implement forker for static file serving and interface to kill/report them


Revision 67 - (view) (annotate) - [select for diffs]
Modified Thu Jul 30 21:31:30 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 4999 byte(s)
Diff to previous 66
implemented correct start/stop logic (which now works!)
and pushed debug state into $server::debug and file 
conf/debug for shared state between servers


Revision 66 - (view) (annotate) - [select for diffs]
Modified Thu Jul 30 20:15:39 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 4833 byte(s)
Diff to previous 65
turn httpd server into real process manager which starts other components


Revision 65 - (view) (annotate) - [select for diffs]
Modified Thu Jul 30 17:07:48 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 4356 byte(s)
Diff to previous 64
correct static file serving and implement progress bar


Revision 64 - (view) (annotate) - [select for diffs]
Modified Thu Jul 30 16:26:54 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 4057 byte(s)
Diff to previous 57
show server ip and netmask


Revision 57 - (view) (annotate) - [select for diffs]
Modified Thu Jul 30 14:16:59 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 3972 byte(s)
Diff to previous 53
handle our own children, start kvm


Revision 53 - (view) (annotate) - [select for diffs]
Modified Thu Jul 30 12:10:53 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 3654 byte(s)
Diff to previous 45
start/stop screen with servers from web interface


Revision 45 - (view) (annotate) - [select for diffs]
Modified Wed Jul 29 22:04:58 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 2937 byte(s)
Diff to previous 43
dump all other peaces in, first configuration which can again boot
(wrong image, that is :-)


Revision 43 - (view) (annotate) - [select for diffs]
Modified Wed Jul 29 19:57:07 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 2921 byte(s)
Diff to previous 42
turn debug on/off


Revision 42 - (view) (annotate) - [select for diffs]
Added Wed Jul 29 17:42:48 2009 UTC (14 years, 8 months ago) by dpavlin
File length: 2339 byte(s)
simple httpd server


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.26