Commit Graph

323 Commits

Author SHA1 Message Date
rofl0r 9ac3ed45d6 rewrite threading code in jobwatchd
now it distributes the tasks properly among all threads,
and it can be used as a standalone program.
there are some minor performance issues which will be fixed shortly.
2019-01-05 06:35:41 +00:00
rofl0r ff5d121d5f allow some config options optionally to be set by command line 2019-01-05 04:41:31 +00:00
rofl0r ffbe450aee outsource configuration to external module 2019-01-05 03:47:03 +00:00
rofl0r 05294186d4 config sample: remove all unused items 2019-01-05 03:41:42 +00:00
mickael 09ea30b4e4 undo last change 2019-01-05 02:39:40 +00:00
mickael f8b1b53fe9 cpu: be gentle
sleep 0.1 sec when adding proxies and urls to database
2019-01-05 01:17:12 +00:00
mickael 8f6f9d2f2e fix nonsense 2019-01-05 01:12:27 +00:00
mickael 6df8fac96e fix: don't re-test all protos every time
all protos (http, socks4, socks5) were tested even for working proxies (whose protocol has been saved..)
also, don't save dummy 'http' protocol for non working proxies..
2019-01-05 01:04:50 +00:00
mickael 85043d8e8a move includes in root directory 2019-01-05 00:22:28 +00:00
mickael df2a2ec072 sort server list; remove freenode 2019-01-04 23:59:06 +00:00
mickael 97416017c4 rename is_usable_ipv4 -> is_reserved_ipv4 2019-01-04 22:52:45 +00:00
mickael 5a2d994b49 get rid of ipcalc 2019-01-04 22:45:15 +00:00
mickael 0c271de1d7 tor: use socks4 instead of socks5 2019-01-04 21:58:30 +00:00
mickael 563f3323ab remove hardcoded tor hosts
use user config
+ minor reorg.
2019-01-04 21:52:29 +00:00
mickael 4a60a23df3 fix imports
+ move soup_parser.py to includes
+ reorganize imports
+ remove double
2019-01-04 21:23:22 +00:00
mickael 4926d6c383 spaces2tabs 2019-01-04 21:23:22 +00:00
mickael d7f79708ca misc minor changes
proxywatchd: remove sleep
ppf: update proxies schemes
2019-01-04 20:23:50 +00:00
mickael 6453494839 bugfix: wrong 'next-check' value inserted in db
the "next check" value for working proxy were set to "time.time()", which (could have) caused the working proxies to be checked sooner than expected.
2019-01-04 20:09:05 +00:00
mickael 785b7c52a5 connect_socket: minor changes
small code rewrite and clarification
2019-01-04 00:18:51 +00:00
mickael d8dd453bdf add sample config file 2019-01-03 23:28:35 +00:00
mickael f0b7e2dc2f cleansing 2019-01-03 23:28:35 +00:00
mickael d7eaa62ae8 test-irc: use SSL (6697) by default 2019-01-03 20:54:04 +00:00
mickael 3fb2dc40a6 initial commit 2019-01-03 16:36:31 +00:00