Connection to my full node by way of Python script immediately fails

on

|

views

and

comments


I run a mynode full node on a raspi for fairly a while now and was enjoying round with Python scripts to attach and ship txs. This labored positive till recently. Seems the connection set up course of fails as a result of my full node refuses the connection request I ship from my PC.
Apparently, he isn’t positive with me connecting by way of port 8333 which I all the time did prior to now. Why would the request be rejected? Each, full node and PC are in the identical VLAN.
Under a photograph hyperlink from wireshark to a connection request with port 8333 (fails) and a request with port 8332 (no points).

https://postimg.cc/gallery/7ZwCxDH (server responds to TCP handshake with a TCP reset (RST))

The related code block comes all the way down to:

    import socket
    s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 
    HOST = "192.168.30.87" 
    PORT = 8333  
    s.join((HOST, PORT))

The total node is absolutely synced with loads of connections (Tor and Non-Tor).

Under the consequence from netstat -tulp:

Lively Web connections (solely servers)
Proto Recv-Q Ship-Q Native Tackle           Overseas Tackle         State       PID/Program identify    
tcp        0      0 0.0.0.0:amanda          0.0.0.0:*               LISTEN      -                   
tcp        0      0 localhost:xtell         0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:20000           0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:9824            0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:3011            0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:5031            0.0.0.0:*               LISTEN      -                   
tcp        0      0 localhost:7656          0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:5001            0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:62602           0.0.0.0:*               LISTEN      -                   
tcp        0      0 localhost:6379          0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:8011            0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:28332           0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:8332            0.0.0.0:*               LISTEN      -                   
tcp        0      0 localhost:6668          0.0.0.0:*               LISTEN      -                   
tcp        0      0 172.17.0.1:8333         0.0.0.0:*               LISTEN      -                   
tcp        0      0 localhost:8333          0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:28333           0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:8013            0.0.0.0:*               LISTEN      -                   
tcp        0      0 localhost:8334          0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:2222            0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:28334           0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:8335            0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:2223            0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:8015            0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:4080            0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:http            0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:9136            0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:50001           0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:2225            0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:8017            0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:4081            0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:49393           0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:50002           0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:5011            0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:8019            0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:ssh             0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:3031            0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:61208           0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:10009           0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:8089            0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:3001            0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:61209           0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:3002            0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:8890            0.0.0.0:*               LISTEN      -                   
tcp        0      0 localhost:9050          0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:https           0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:3003            0.0.0.0:*               LISTEN      -                   
tcp        0      0 localhost:9051          0.0.0.0:*               LISTEN      -                   
tcp        0      0 localhost:4444          0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:5021            0.0.0.0:*               LISTEN      -                   
tcp        0      0 localhost:7070          0.0.0.0:*               LISTEN      -                   
tcp        0      0 localhost:4447          0.0.0.0:*               LISTEN      -                   
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      -                   
udp        0      0 0.0.0.0:51194           0.0.0.0:*                           -                   
udp        0      0 0.0.0.0:bootpc          0.0.0.0:*                           -                   
udp        0      0 0.0.0.0:9136            0.0.0.0:*                           -                   
udp        0      0 0.0.0.0:mdns            0.0.0.0:*                           -                   
udp        0      0 localhost:7655          0.0.0.0:*                           -                   
udp        0      0 0.0.0.0:42496           0.0.0.0:*                           -                   
udp6       0      0 [::]:44900              [::]:*                              -                   
udp6       0      0 [::]:mdns               [::]:*                              -  

I solely see localhost and 172.17.0.1 with port 8333, so thats odd.

Within the bitcoin.conf I explicitly added the IP of my shopper PC to the whitelist (192.168.30.156)

# bitcoin configuration
# /house/bitcoin/.bitcoin/bitcoin.conf

# Bitcoin choices
server=1
daemon=1

# Bind to localhost and docker
bind=127.0.0.1
bind=172.17.0.1

# Wanted for BTC-RPC-Explorer
txindex=1

# CPU rely
par=-1

# Debug log settings
shrinkdebugfile=1

# Connection settings
rpcauth=mynode:ac633d1117f36eb0d44651f76e2f4b13$ccb595afbb45b19718ae3870715f39f8dc7dbcaa137c5ffd969f47e47fbade13

rpcport=8332
rpcbind=0.0.0.0
rpcallowip=127.0.0.1
rpcallowip=10.0.0.0/8
rpcallowip=172.16.0.0/12
rpcallowip=192.168.0.0/16

# Set default pockets so some pockets APIs work
primary.pockets=pockets.dat
primary.pockets=joinmarket_wallet.dat

check.pockets=pockets.dat
check.pockets=joinmarket_wallet.dat

# Allow Deprecated RPCs
deprecatedrpc=addresses

# Whitelist native connections (and docker)
whitelist=127.0.0.1
whitelist=192.168.30.156
whitelist=172.16.0.0/12

# Dont restrict information to electrum server or native community
whitelist=obtain@10.0.0.0/8
whitelist=obtain@192.168.0.0/16

# Allow Bloom filters (native community)
whitelist=bloomfilter@10.0.0.0/8
whitelist=bloomfilter@192.168.0.0/16

zmqpubrawblock=tcp://0.0.0.0:28332
zmqpubrawtx=tcp://0.0.0.0:28333
zmqpubhashblock=tcp://0.0.0.0:28334

# myNode Optimizations
dbcache=1000
maxorphantx=10
maxmempool=250
maxconnections=40
maxuploadtarget=1000
rpcworkqueue=32

# IPv4 Disabled
dnsseed=0
dns=0

# Tor config
proxy=127.0.0.1:9050
hear=1
#onlynet=onion


Share this
Tags

Must-read

Waymo raises $16bn to gas international robotaxi enlargement | Know-how

Self-driving automobile firm Waymo on Monday stated it raised $16bn in a funding spherical that valued the Alphabet subsidiary at $126bn.Waymo co-chief executives...

Self-driving taxis are coming to London – ought to we be anxious? | Jack Stilgoe

At the top of the nineteenth century, the world’s main cities had an issue. The streets had been flooded with manure, the unintended...

US regulators open inquiry into Waymo self-driving automobile that struck youngster in California | Expertise

The US’s federal transportation regulator stated Thursday it had opened an investigation after a Waymo self-driving car struck a toddler close to an...

Recent articles

More like this

LEAVE A REPLY

Please enter your comment!
Please enter your name here