Post Reply 
Proxomitron Reborn
Mar. 12, 2019, 03:11 AM
Post: #166
RE: Proxomitron Reborn
(Feb. 14, 2019 04:20 PM)Blazer Wrote:  
(Feb. 10, 2019 02:51 AM)amy Wrote:  Life is busy, but work on 4.6.0.4 continues slowly...
Being a software developer and previous user of The Proxomitron I would be happy to help fix bugs etc.

After all your hard work re-creating the source code it would be a good idea to make it available to the community so that others like myself can participate in its resurrection.

Maybe you you can attach it here.

We don't want to lose the source code a second time.

As a C++ programmer of a few years, I'll agree with Blazer here. I've missed having a working proxomitron. I'd love to take a look at the source to see how I could lend a hand.
Add Thank You Quote this message in a reply
Mar. 26, 2019, 06:24 AM (This post was last modified: Apr. 01, 2019 05:42 AM by JJoe.)
Post: #167
RE: Proxomitron Reborn
(Jan. 05, 2019 04:00 AM)whenever Wrote:  If you turn on debug in the log window, then visit a https site say https://twitter.com, you will see the stylesheet for the dbug view is not applied. If you right click to view the source of that page, you will see the viewsrc.css is inserted via href="http://....." and that's why it's not loaded on a https site. That http:// thing is hardcoded in the program so it needs to be adjusted to automatically adapt to the protocol of the page.

It seems the https backend of the Reborn version handles http requests also, so a temporary workaround is to change the hardcoded href="http://Local.ptron/ViewSrc.css" to href="//Local.ptron:8443/ViewSrc.css" (assuming you have set up 8443 for https) so that the stylesheet will loaded anyway on http or https sites.

For those who don't want to manually patch the file, you can download gsar121.zip from http://tjaberg.com/ , extract gsar.exe from the archive and put it to where your proxo.exe is, and execute:

Code:
gsar -shttp:://Local.ptron/View -r//Local.ptron::8443/View proxo.exe patched_proxo.exe

Edit by JJoe: added space after http://tjaberg.com/


Attached File(s)
.png  toChange.png (Size: 23.71 KB / Downloads: 39)
Add Thank You Quote this message in a reply
[-] The following 1 user says Thank You to whenever for this post:
defconnect
Apr. 08, 2019, 01:03 PM (This post was last modified: Apr. 14, 2019 05:43 AM by DullFace.)
Post: #168
RE: Proxomitron Reborn
ProxomitronReborn_4603R.zip bugs:

Crashes with OpenSSL 1.0.2k, works with 1.0.1l: OpenSSL: FATAL OPENSSL_Uplink(6D857000,08): no OPENSSL_Applink
https://www.upload.ee/files/9803621/Open...k.zip.html

Message log: pressing ctrl disables arrows and pgup/pgdn; next pressing ctrl enables them.
Also Naoko-4.5 2003-6-1 crashed on copying long strings from log (over 1KB crap like Content-Security-Policy; don't have a sample).

4603R and Naoko-4.5 2003-6-1 don't allow downloading files >4GB - they break connection on border filesize & 0xFFFFFFFF (low 32 bits).
Removing 'Content-Length' header helps, but i need it :-D

http://speed.hetzner.de/10GB.bin - Content-Length: 10485760000
(10485760000 & 0xffffffff) - 1234 = 1895824174
Works:
Code:
curl -o test --header "Range: bytes=1895824174-" http://speed.hetzner.de/10GB.bin
Stops after 1234 bytes:
Code:
curl -o test --header "Range: bytes=1895824174-" --proxy 127.0.0.1:2345 http://speed.hetzner.de/10GB.bin
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0 8192M    0  1234    0     0   5273      0  18d 20h --:--:--  18d 20h  5273
curl: (18) transfer closed with 8589934592 bytes remaining to read


Please add:

Support launching of multiple independed Proxomitrons (from different dirs: c:\Prox1, c:\Prox2; with their own different configs).

Font setting for filter editor and testing dialogs.

Changing 'Host:' header name case and SNI manipulation for bypassing censorship: remove, replace, append space/dot/semicolon, uppercase

Someting like header filter URL:

Code:
[HTTP headers]
In = FALSE
Out = TRUE
Key = "HOST: make hOsT:"
URL = "$LST(Host_case)"
Replace = "hOsT"

In = FALSE
Out = TRUE
Key = "SNI: remove"
URL = "$LST(SNI_remove)"

In = FALSE
Out = TRUE
Key = "SNI: replace"
URL = "$LST(SNI_google)"
Replace = "www.google.com"

In = FALSE
Out = TRUE
Key = "SNI: add space to host"
URL = "$LST(SNI_space)"
Replace = "\h "

In = FALSE
Out = TRUE
Key = "SNI: upper case"
URL = "$LST(SNI_upper)"
Replace = "$UPPER(\h)"

Or make magic '?' in fist symbol of key and use replace field for header name and value:
Code:
[HTTP headers]
In = FALSE
Out = TRUE
Key = "?Host: make hOsT:"
URL = "$LST(Host_case)"
Replace = "hOsT: \h"
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: