/[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 376 - (view) (annotate) - [select for diffs]
Modified Sun Aug 30 15:22:41 2009 UTC (10 years, 11 months ago) by dpavlin
File length: 10716 byte(s)
Diff to previous 363
toggle power state using amt

Revision 363 - (view) (annotate) - [select for diffs]
Modified Sun Aug 30 11:20:18 2009 UTC (10 years, 11 months ago) by dpavlin
File length: 10582 byte(s)
Diff to previous 348
send local syslog messages to pxelator


Revision 348 - (view) (annotate) - [select for diffs]
Modified Sat Aug 29 18:07:49 2009 UTC (10 years, 11 months ago) by dpavlin
File length: 10556 byte(s)
Diff to previous 347
execute shell commands over ssh for OpenVZ


Revision 347 - (view) (annotate) - [select for diffs]
Modified Sat Aug 29 17:03:35 2009 UTC (10 years, 11 months ago) by dpavlin
File length: 10588 byte(s)
Diff to previous 346
rename deploy to config to be same as package name which is invoked
one less reference to remember


Revision 346 - (view) (annotate) - [select for diffs]
Modified Sat Aug 29 16:51:07 2009 UTC (10 years, 11 months ago) by dpavlin
File length: 10608 byte(s)
Diff to previous 343
make selected configuration options for clients editable
or returned in table format


Revision 343 - (view) (annotate) - [select for diffs]
Modified Sat Aug 29 15:30:49 2009 UTC (10 years, 11 months ago) by dpavlin
File length: 10839 byte(s)
Diff to previous 335
another try at making everything two clicks away


Revision 335 - (view) (annotate) - [select for diffs]
Modified Sat Aug 29 00:06:32 2009 UTC (10 years, 11 months ago) by dpavlin
File length: 10479 byte(s)
Diff to previous 334
ping host and offer wake-on-lan if down

Revision 334 - (view) (annotate) - [select for diffs]
Modified Fri Aug 28 23:30:38 2009 UTC (10 years, 11 months ago) by dpavlin
File length: 10247 byte(s)
Diff to previous 333
cleanup client detection (again), added ping to single host


Revision 333 - (view) (annotate) - [select for diffs]
Modified Fri Aug 28 22:55:01 2009 UTC (10 years, 11 months ago) by dpavlin
File length: 10096 byte(s)
Diff to previous 330
better formatting of brctl output


Revision 330 - (view) (annotate) - [select for diffs]
Modified Fri Aug 28 22:29:08 2009 UTC (10 years, 11 months ago) by dpavlin
File length: 9961 byte(s)
Diff to previous 329
added fping to all hosts

Revision 329 - (view) (annotate) - [select for diffs]
Modified Fri Aug 28 21:55:41 2009 UTC (10 years, 11 months ago) by dpavlin
File length: 9636 byte(s)
Diff to previous 328
move refresh from arp into client


Revision 328 - (view) (annotate) - [select for diffs]
Modified Fri Aug 28 19:44:38 2009 UTC (10 years, 11 months ago) by dpavlin
File length: 9842 byte(s)
Diff to previous 327
correctly decode url escape -- should I move to real http server like Mojo?

Revision 327 - (view) (annotate) - [select for diffs]
Modified Fri Aug 28 19:41:16 2009 UTC (10 years, 11 months ago) by dpavlin
File length: 9793 byte(s)
Diff to previous 326
cleanup dev column from arp

Revision 326 - (view) (annotate) - [select for diffs]
Modified Fri Aug 28 19:39:54 2009 UTC (10 years, 11 months ago) by dpavlin
File length: 9834 byte(s)
Diff to previous 322
added remove button

Revision 322 - (view) (annotate) - [select for diffs]
Modified Fri Aug 28 16:41:46 2009 UTC (10 years, 11 months ago) by dpavlin
File length: 9575 byte(s)
Diff to previous 320
refactored into client:all_ips


Revision 320 - (view) (annotate) - [select for diffs]
Modified Fri Aug 28 15:58:25 2009 UTC (10 years, 11 months ago) by dpavlin
File length: 9710 byte(s)
Diff to previous 319
hopefully, finally fixed editing of clients


Revision 319 - (view) (annotate) - [select for diffs]
Modified Fri Aug 28 12:34:10 2009 UTC (10 years, 11 months ago) by dpavlin
File length: 9440 byte(s)
Diff to previous 318
show edit mask just for machines which are within our range


Revision 318 - (view) (annotate) - [select for diffs]
Modified Thu Aug 27 20:01:29 2009 UTC (10 years, 11 months ago) by dpavlin
File length: 9221 byte(s)
Diff to previous 314
edit every address in our interface


Revision 314 - (view) (annotate) - [select for diffs]
Modified Thu Aug 27 19:03:56 2009 UTC (10 years, 11 months ago) by dpavlin
File length: 9381 byte(s)
Diff to previous 311
arp visible clients are not integrated into table


Revision 311 - (view) (annotate) - [select for diffs]
Modified Thu Aug 27 17:44:03 2009 UTC (10 years, 11 months ago) by dpavlin
File length: 9569 byte(s)
Diff to previous 309
added nmap scanning and discovery of network

Revision 309 - (view) (annotate) - [select for diffs]
Modified Thu Aug 27 16:47:42 2009 UTC (10 years, 11 months ago) by dpavlin
File length: 9143 byte(s)
Diff to previous 306
work a bit more on clients table layout

Revision 306 - (view) (annotate) - [select for diffs]
Modified Thu Aug 27 14:31:15 2009 UTC (10 years, 11 months ago) by dpavlin
File length: 9092 byte(s)
Diff to previous 304
show configuration using clinet::all_conf

Revision 304 - (view) (annotate) - [select for diffs]
Modified Thu Aug 27 12:52:23 2009 UTC (10 years, 11 months ago) by dpavlin
File length: 9094 byte(s)
Diff to previous 303
sort by ip addresses


Revision 303 - (view) (annotate) - [select for diffs]
Modified Thu Aug 27 12:42:53 2009 UTC (10 years, 11 months ago) by dpavlin
File length: 9003 byte(s)
Diff to previous 284
columns ip, mac, hostname


Revision 284 - (view) (annotate) - [select for diffs]
Modified Mon Aug 24 22:04:39 2009 UTC (10 years, 11 months ago) by dpavlin
File length: 9003 byte(s)
Diff to previous 262
show client setup just to... well clients within range

Revision 262 - (view) (annotate) - [select for diffs]
Modified Wed Aug 19 11:02:15 2009 UTC (10 years, 11 months ago) by dpavlin
File length: 8843 byte(s)
Diff to previous 251
use client IP if it's not specified in amt file
(assuming that AMT is on DHCP settings)


Revision 251 - (view) (annotate) - [select for diffs]
Modified Tue Aug 18 12:46:41 2009 UTC (10 years, 11 months ago) by dpavlin
File length: 8838 byte(s)
Diff to previous 243
move debug to server tab

Revision 243 - (view) (annotate) - [select for diffs]
Modified Mon Aug 17 13:25:48 2009 UTC (10 years, 11 months ago) by dpavlin
File length: 8825 byte(s)
Diff to previous 231
better process messages and start/stop

Revision 231 - (view) (annotate) - [select for diffs]
Modified Sun Aug 16 22:24:22 2009 UTC (10 years, 11 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 (10 years, 11 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 (10 years, 11 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 (10 years, 11 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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 (11 years 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