docker-android icon indicating copy to clipboard operation
docker-android copied to clipboard

proxy setting not working in environment variables

Open pavul opened this issue 3 years ago • 6 comments

i have an issue where; when i set proxy with ... ' -e HTTP_PROXY="ip:port" -e ENABLE_PROXY_ON_EMULATOR=true ' ...

the proxy is not set in the emulator or device, the device inside the emulator is never connecting to my proxy ( hence i don't see traffic on it ), the only way to make it work is to use "adb shell settings put global http_proxy" (inside the running container) and then you have to push a certificate in "/system/etc/security/cacerts/" order to make all the sites connected to the proxy not ask for a trusted certificate, which make thinks that there is no a way to pass that certificate at the moment we run the container.

pavul avatar Oct 08 '21 01:10 pavul

Hi, same issue here but only on emulator container since android12 ist added and 5 was removed.

this codelines should be fixed: https://github.com/budtmo/docker-android/blob/master/src/utils.sh

Greetings Gregor

grichner avatar Oct 20 '21 09:10 grichner

this is the output of a started adb root shell on an android 12 emulator:

content query --uri content://telephony/carriers 
Row: 0 _id=1, name=T-Mobile US, numeric=310260, mcc=310, mnc=260, carrier_id=-1, apn=epc.tmobile.com, user=none, server=*, password=none, proxy=, port=, mmsproxy=, mmsport=, mmsc=http://mms.msg.eng.t-mobile.com/mms/wapenc, authtype=-1, type=, current=1, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 1 _id=2, name=T-Mobile US 250, numeric=310250, mcc=310, mnc=250, carrier_id=-1, apn=epc.tmobile.com, user=none, server=*, password=none, proxy=, port=, mmsproxy=, mmsport=, mmsc=http://mms.msg.eng.t-mobile.com/mms/wapenc, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 2 _id=3, name=T-Mobile US 660, numeric=310660, mcc=310, mnc=660, carrier_id=-1, apn=epc.tmobile.com, user=none, server=*, password=none, proxy=, port=, mmsproxy=, mmsport=, mmsc=http://mms.msg.eng.t-mobile.com/mms/wapenc, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 3 _id=4, name=T-Mobile US 230, numeric=310230, mcc=310, mnc=230, carrier_id=-1, apn=epc.tmobile.com, user=none, server=*, password=none, proxy=, port=, mmsproxy=, mmsport=, mmsc=http://mms.msg.eng.t-mobile.com/mms/wapenc, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 4 _id=5, name=T-Mobile US 310, numeric=310310, mcc=310, mnc=310, carrier_id=-1, apn=epc.tmobile.com, user=none, server=*, password=none, proxy=, port=, mmsproxy=, mmsport=, mmsc=http://mms.msg.eng.t-mobile.com/mms/wapenc, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 5 _id=6, name=T-Mobile US 580, numeric=310580, mcc=310, mnc=580, carrier_id=-1, apn=epc.tmobile.com, user=none, server=*, password=none, proxy=, port=, mmsproxy=, mmsport=, mmsc=http://mms.msg.eng.t-mobile.com/mms/wapenc, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 6 _id=7, name=T-Mobile US 240, numeric=310240, mcc=310, mnc=240, carrier_id=-1, apn=epc.tmobile.com, user=none, server=*, password=none, proxy=, port=, mmsproxy=, mmsport=, mmsc=http://mms.msg.eng.t-mobile.com/mms/wapenc, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 7 _id=8, name=T-Mobile US 800, numeric=310800, mcc=310, mnc=800, carrier_id=-1, apn=epc.tmobile.com, user=none, server=*, password=none, proxy=, port=, mmsproxy=, mmsport=, mmsc=http://mms.msg.eng.t-mobile.com/mms/wapenc, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 8 _id=9, name=T-Mobile US 210, numeric=310210, mcc=310, mnc=210, carrier_id=-1, apn=epc.tmobile.com, user=none, server=*, password=none, proxy=, port=, mmsproxy=, mmsport=, mmsc=http://mms.msg.eng.t-mobile.com/mms/wapenc, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 9 _id=10, name=T-Mobile US 160, numeric=310160, mcc=310, mnc=160, carrier_id=-1, apn=epc.tmobile.com, user=none, server=*, password=none, proxy=, port=, mmsproxy=, mmsport=, mmsc=http://mms.msg.eng.t-mobile.com/mms/wapenc, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 10 _id=11, name=T-Mobile US 270, numeric=310270, mcc=310, mnc=270, carrier_id=-1, apn=epc.tmobile.com, user=none, server=*, password=none, proxy=, port=, mmsproxy=, mmsport=, mmsc=http://mms.msg.eng.t-mobile.com/mms/wapenc, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 11 _id=12, name=T-Mobile US 200, numeric=310200, mcc=310, mnc=200, carrier_id=-1, apn=epc.tmobile.com, user=none, server=*, password=none, proxy=, port=, mmsproxy=, mmsport=, mmsc=http://mms.msg.eng.t-mobile.com/mms/wapenc, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 12 _id=13, name=T-Mobile US 220, numeric=310220, mcc=310, mnc=220, carrier_id=-1, apn=epc.tmobile.com, user=none, server=*, password=none, proxy=, port=, mmsproxy=, mmsport=, mmsc=http://mms.msg.eng.t-mobile.com/mms/wapenc, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 13 _id=14, name=T-Mobile US 490, numeric=310490, mcc=310, mnc=490, carrier_id=-1, apn=epc.tmobile.com, user=none, server=*, password=none, proxy=, port=, mmsproxy=, mmsport=, mmsc=http://mms.msg.eng.t-mobile.com/mms/wapenc, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 14 _id=15, name=T-Mobile UK, numeric=23430, mcc=234, mnc=30, carrier_id=-1, apn=general.t-mobile.uk, user=t-mobile, server=*, password=tm, proxy=, port=, mmsproxy=149.254.201.135, mmsport=8080, mmsc=http://mmsc.t-mobile.co.uk:8002, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 15 _id=16, name=T-Mobile D, numeric=26201, mcc=262, mnc=01, carrier_id=-1, apn=internet.t-mobile, user=t-mobile, server=*, password=tm, proxy=, port=, mmsproxy=172.028.023.131, mmsport=8008, mmsc=http://mms.t-mobile.de/servlets/mms, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 16 _id=17, name=T-Mobile A, numeric=23203, mcc=232, mnc=03, carrier_id=-1, apn=gprsinternet, user=t-mobile, server=*, password=tm, proxy=, port=, mmsproxy=010.012.000.020, mmsport=80, mmsc=http://mmsc.t-mobile.at/servlets/mms, authtype=-1, type=default,supl, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 17 _id=18, name=T-Mobile A MMS, numeric=23203, mcc=232, mnc=03, carrier_id=-1, apn=gprsmms, user=t-mobile, server=*, password=tm, proxy=, port=, mmsproxy=010.012.000.020, mmsport=80, mmsc=http://mmsc.t-mobile.at/servlets/mms, authtype=-1, type=mms, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 18 _id=19, name=T-Mobile CZ, numeric=23001, mcc=230, mnc=01, carrier_id=-1, apn=internet.t-mobile.cz, user=wap, server=*, password=wap, proxy=, port=, mmsproxy=010.000.000.010, mmsport=80, mmsc=http://mms, authtype=-1, type=default,supl, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 19 _id=20, name=T-Mobile CZ MMS, numeric=23001, mcc=230, mnc=01, carrier_id=-1, apn=mms.t-mobile.cz, user=mms, server=*, password=mms, proxy=, port=, mmsproxy=010.000.000.010, mmsport=80, mmsc=http://mms, authtype=-1, type=mms, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 20 _id=21, name=T-Mobile NL, numeric=20416, mcc=204, mnc=16, carrier_id=-1, apn=internet, user=*, server=*, password=*, proxy=, port=, mmsproxy=010.010.010.011, mmsport=8080, mmsc=http://t-mobilemms, authtype=-1, type=default,supl, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 21 _id=22, name=T-Mobile NL MMS, numeric=20416, mcc=204, mnc=16, carrier_id=-1, apn=mms, user=tmobilemms, server=*, password=tmobilemms, proxy=, port=, mmsproxy=010.010.010.011, mmsport=8080, mmsc=http://t-mobilemms, authtype=-1, type=mms, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1

grichner avatar Oct 20 '21 09:10 grichner

this is the output of the android 11 emulator with working proxy:

generic_x86_arm:/ # content query --uri content://telephony/carriers
Row: 0 _id=1, name=T-Mobile US, numeric=310260, mcc=310, mnc=260, carrier_id=-1, apn=epc.tmobile.com, user=none, server=*, password=none, proxy=appium_cntlm_1, port=3128, mmsproxy=, mmsport=, mmsc=http://mms.msg.eng.t-mobile.com/mms/wapenc, authtype=-1, type=, current=1, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=4, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 1 _id=2, name=T-Mobile US 250, numeric=310250, mcc=310, mnc=250, carrier_id=-1, apn=epc.tmobile.com, user=none, server=*, password=none, proxy=, port=, mmsproxy=, mmsport=, mmsc=http://mms.msg.eng.t-mobile.com/mms/wapenc, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 2 _id=3, name=T-Mobile US 660, numeric=310660, mcc=310, mnc=660, carrier_id=-1, apn=epc.tmobile.com, user=none, server=*, password=none, proxy=, port=, mmsproxy=, mmsport=, mmsc=http://mms.msg.eng.t-mobile.com/mms/wapenc, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 3 _id=4, name=T-Mobile US 230, numeric=310230, mcc=310, mnc=230, carrier_id=-1, apn=epc.tmobile.com, user=none, server=*, password=none, proxy=, port=, mmsproxy=, mmsport=, mmsc=http://mms.msg.eng.t-mobile.com/mms/wapenc, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 4 _id=5, name=T-Mobile US 310, numeric=310310, mcc=310, mnc=310, carrier_id=-1, apn=epc.tmobile.com, user=none, server=*, password=none, proxy=, port=, mmsproxy=, mmsport=, mmsc=http://mms.msg.eng.t-mobile.com/mms/wapenc, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 5 _id=6, name=T-Mobile US 580, numeric=310580, mcc=310, mnc=580, carrier_id=-1, apn=epc.tmobile.com, user=none, server=*, password=none, proxy=, port=, mmsproxy=, mmsport=, mmsc=http://mms.msg.eng.t-mobile.com/mms/wapenc, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 6 _id=7, name=T-Mobile US 240, numeric=310240, mcc=310, mnc=240, carrier_id=-1, apn=epc.tmobile.com, user=none, server=*, password=none, proxy=, port=, mmsproxy=, mmsport=, mmsc=http://mms.msg.eng.t-mobile.com/mms/wapenc, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 7 _id=8, name=T-Mobile US 800, numeric=310800, mcc=310, mnc=800, carrier_id=-1, apn=epc.tmobile.com, user=none, server=*, password=none, proxy=, port=, mmsproxy=, mmsport=, mmsc=http://mms.msg.eng.t-mobile.com/mms/wapenc, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 8 _id=9, name=T-Mobile US 210, numeric=310210, mcc=310, mnc=210, carrier_id=-1, apn=epc.tmobile.com, user=none, server=*, password=none, proxy=, port=, mmsproxy=, mmsport=, mmsc=http://mms.msg.eng.t-mobile.com/mms/wapenc, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 9 _id=10, name=T-Mobile US 160, numeric=310160, mcc=310, mnc=160, carrier_id=-1, apn=epc.tmobile.com, user=none, server=*, password=none, proxy=, port=, mmsproxy=, mmsport=, mmsc=http://mms.msg.eng.t-mobile.com/mms/wapenc, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 10 _id=11, name=T-Mobile US 270, numeric=310270, mcc=310, mnc=270, carrier_id=-1, apn=epc.tmobile.com, user=none, server=*, password=none, proxy=, port=, mmsproxy=, mmsport=, mmsc=http://mms.msg.eng.t-mobile.com/mms/wapenc, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 11 _id=12, name=T-Mobile US 200, numeric=310200, mcc=310, mnc=200, carrier_id=-1, apn=epc.tmobile.com, user=none, server=*, password=none, proxy=, port=, mmsproxy=, mmsport=, mmsc=http://mms.msg.eng.t-mobile.com/mms/wapenc, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 12 _id=13, name=T-Mobile US 220, numeric=310220, mcc=310, mnc=220, carrier_id=-1, apn=epc.tmobile.com, user=none, server=*, password=none, proxy=, port=, mmsproxy=, mmsport=, mmsc=http://mms.msg.eng.t-mobile.com/mms/wapenc, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 13 _id=14, name=T-Mobile US 490, numeric=310490, mcc=310, mnc=490, carrier_id=-1, apn=epc.tmobile.com, user=none, server=*, password=none, proxy=, port=, mmsproxy=, mmsport=, mmsc=http://mms.msg.eng.t-mobile.com/mms/wapenc, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 14 _id=15, name=T-Mobile UK, numeric=23430, mcc=234, mnc=30, carrier_id=-1, apn=general.t-mobile.uk, user=t-mobile, server=*, password=tm, proxy=, port=, mmsproxy=149.254.201.135, mmsport=8080, mmsc=http://mmsc.t-mobile.co.uk:8002, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 15 _id=16, name=T-Mobile D, numeric=26201, mcc=262, mnc=01, carrier_id=-1, apn=internet.t-mobile, user=t-mobile, server=*, password=tm, proxy=, port=, mmsproxy=172.028.023.131, mmsport=8008, mmsc=http://mms.t-mobile.de/servlets/mms, authtype=-1, type=, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 16 _id=17, name=T-Mobile A, numeric=23203, mcc=232, mnc=03, carrier_id=-1, apn=gprsinternet, user=t-mobile, server=*, password=tm, proxy=, port=, mmsproxy=010.012.000.020, mmsport=80, mmsc=http://mmsc.t-mobile.at/servlets/mms, authtype=-1, type=default,supl, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 17 _id=18, name=T-Mobile A MMS, numeric=23203, mcc=232, mnc=03, carrier_id=-1, apn=gprsmms, user=t-mobile, server=*, password=tm, proxy=, port=, mmsproxy=010.012.000.020, mmsport=80, mmsc=http://mmsc.t-mobile.at/servlets/mms, authtype=-1, type=mms, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 18 _id=19, name=T-Mobile CZ, numeric=23001, mcc=230, mnc=01, carrier_id=-1, apn=internet.t-mobile.cz, user=wap, server=*, password=wap, proxy=, port=, mmsproxy=010.000.000.010, mmsport=80, mmsc=http://mms, authtype=-1, type=default,supl, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 19 _id=20, name=T-Mobile CZ MMS, numeric=23001, mcc=230, mnc=01, carrier_id=-1, apn=mms.t-mobile.cz, user=mms, server=*, password=mms, proxy=, port=, mmsproxy=010.000.000.010, mmsport=80, mmsc=http://mms, authtype=-1, type=mms, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 20 _id=21, name=T-Mobile NL, numeric=20416, mcc=204, mnc=16, carrier_id=-1, apn=internet, user=*, server=*, password=*, proxy=, port=, mmsproxy=010.010.010.011, mmsport=8080, mmsc=http://t-mobilemms, authtype=-1, type=default,supl, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1
Row: 21 _id=22, name=T-Mobile NL MMS, numeric=20416, mcc=204, mnc=16, carrier_id=-1, apn=mms, user=tmobilemms, server=*, password=tmobilemms, proxy=, port=, mmsproxy=010.010.010.011, mmsport=8080, mmsc=http://t-mobilemms, authtype=-1, type=mms, current=NULL, protocol=IP, roaming_protocol=IP, carrier_enabled=1, bearer=0, bearer_bitmask=0, network_type_bitmask=0, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=0, max_conns=0, wait_time=0, max_conns_time=0, mtu=0, edited=0, user_visible=1, user_editable=1, owned_by=1, apn_set_id=0, skip_464xlat=-1

hope this helps

grichner avatar Oct 20 '21 09:10 grichner

any update ?

theyough avatar Nov 30 '21 15:11 theyough

I got the proxy working in a multihost network with the excact ipv4 address in my case 10.0.1.2 (endpoint for cntlm) DNS-resolution via service name is not possible in adb shell

any idea how this could work without this excact ipv4 address?

grichner avatar Jan 20 '22 13:01 grichner