Comments (14)
Solved. Just commented out the line with
ipv4=0;
on https://github.com/TelegramMessenger/MTProxy/blob/master/engine/engine.c line 230
if ((ipv4 >> 24) != 10) {
kprintf ("Bad binded IP address " IP_PRINT_STR ", search in ifconfig\n", IP_TO_PRINT (ipv4));
kprintf("But I dont care about it...");
//ipv4 = 0;
}
Server started and serving connections now. So looks like there is some issue with ipv4 check
from mtproxy.
./mtproto-proxy -u nobody -p 8888 -H 443 -S <secret> --nat-info <intranet ip>:<public ip> --aes-pwd proxy-secret proxy-multi.conf -M 1
--nat-info <intranet ip>:<public ip>
add this will work
from mtproxy.
It probably should’ve been == 10, since 10.0.0.0/8 is a private network.
However, rfc1918 specifies two more subnets for private networks which are not handled.
get_my_ipv4 also only skips 10.0.0.0/8 and loopback
Line 737 in cc7b709
from mtproxy.
Agree, cannot bind to public ip.
from mtproxy.
Just disable this ip address check on line 230 as i mentioned in comment 2 (temporary, until developer fixes it)
from mtproxy.
Same issue.
Change from ipv4 = 0;
to //ipv4 = 0;
doesn't help me, stay binding to local ip.
from mtproxy.
@zvpdev forcely bind to public address by passing
--address 11.22.33.44
from mtproxy.
Also bug label needed for this, as it determines correct ip addresses as incorrect.
UPD: workaround for this is
--nat-info 127.0.0.1:11.22.33.44
where 11.22.33.44 - your public ip
from mtproxy.
I'm really not sure what does this check do but as @stek29 noticed it checks only networks like 10.10... But rfc has two more ranges so I've added them too. Binding to external ip actually work so if it is needed it can be easily changed.
from mtproxy.
Same issue.
Change from ipv4 = 0; to //ipv4 = 0 and use --address
binding to local ip anyway...
UPD
It works when I delete -d option...
but get same issue #34
from mtproxy.
@liquidpredator try cloning my fork of this proxy. you should use --address ur.if.ip.adr for example --address 8.8.8.8 (check interface's ip address in ifconfig)
from mtproxy.
@p1ratrulezzz after last update with padding support seems like it broken again. Is there new workaround?
from mtproxy.
from mtproxy.
@p1ratrulezzz I heard Rostelecom already testing DPI blocking by packet size. So considered to update and stuck...
from mtproxy.
Related Issues (20)
- MTProxy Admin Bot申请不了代理tag,有人懂怎么回事嘛? HOT 2
- @MTproxybot
- Bk
- Proxy sponsor registration error
- Placing a proxy inside the channel for seen
- Head trick
- G
- couldn't get stats HOT 1
- https://github.com/TelegramMessenger/MTProxy/blame/dc0c7f3de40530053189c572936ae4fd1567269b/common/common-stats.h#L4
- ⭐🤑سیگنال طلا ترید روزانه فارکس 🤑⭐
- 𝕳
- J
- Compile failure on Ubuntu 24.04 HOT 1
- Telegram
- Problem with service
- Compilation Failed HOT 1
- R
- آژانس دیجیتال مارکتینگ طوسی ادز HOT 1
- make: *** [Makefile:94: objs/bin/mtproto-proxy] Error 1 HOT 2
- سیگنال فیوچرز تحلیل کریپتو رایگان اموزش ترید
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mtproxy.