Tomasz Drwięga
81df97a737
Fixing warnings ( #1321 )
2016-06-18 15:11:10 +02:00
Arkadiy Paronyan
ec654feaf8
Syncing fix ( #1320 )
...
* Fixed aborting peer for expired session
* Don't ban for usesless
2016-06-18 15:10:24 +02:00
Arkadiy Paronyan
591fa9625d
Merge pull request #1313 from ethcore/net
...
Network start/stop
2016-06-18 11:04:24 +02:00
Arkadiy Paronyan
29e286572c
Fixed loosing peers on incoming connections. ( #1293 )
...
* Deactivate peer if it has no new data
* Fixed node table timer registration
* Fixed handshake timeout expiration
* Extra trace
* Fixed session count calculation
* Only deactivate incapable peers in ChainHead state
* Timer registration is not needed
2016-06-18 10:52:46 +02:00
arkpar
c340d8a34f
Tests
2016-06-17 18:26:54 +02:00
arkpar
67ffac1df9
Check for session expiration on peer registration
2016-06-17 16:01:33 +02:00
arkpar
b38488dd07
Network shutdown
2016-06-17 12:58:28 +02:00
Arkadiy Paronyan
71131c41e5
Security audit issues fixed ( #1279 )
...
* Restrict network key file permissions
* Check for overflow in str to bigint conversion
* RLP decoder overflow check
2016-06-15 00:58:08 +02:00
arkpar
8c7bcdafdb
Continue reading session data in the same iteration if available
2016-06-13 20:57:04 +02:00
Arkadiy Paronyan
6b12334136
Windows build ( #1253 )
...
* Networking refactoring
* Fixed typo
* Trace logging
* Updated dependencies for windows build
* Windows fixes
* use mio 0.5
* nix build
* Windows build fix
* style
* removed unused import
* ipc crate version bump
* ipc config for named pipes
* tweaks and fixes
* tweaks and fixes
* final version bump
* Fixed tests
* Disable color output on windows
* Added missing doc
2016-06-13 18:55:24 +02:00
Tomasz Drwięga
3905717d5d
Fixing warnings
2016-06-03 11:36:30 +02:00
Arkadiy Paronyan
8596a347ea
Networking refactoring ( #1172 )
...
* Networking refactoring
* Make sure the same socket is reused
* Safer atomic ordering
* Replaced eq with ==
2016-06-02 11:49:56 +02:00
Tomasz Drwięga
256557d3cc
Removing warnings
2016-05-23 11:46:01 +02:00
arkpar
9836c79962
Fixed connecting to local nodes on startup
2016-05-11 00:08:35 +02:00
Arkadiy Paronyan
c34e3535e0
Net etiquette: Track useless peers, Send out disconnect packet ( #1028 )
2016-05-02 14:48:30 +02:00
arkpar
67d04c5952
Fixed bootnode URL and error message
2016-04-02 19:01:41 +02:00
arkpar
6e9ea76aab
Auto detect available port
2016-03-20 16:21:49 +01:00
Arkadiy Paronyan
2ec40604d9
Revert "Auto detect available port"
2016-03-20 12:12:58 +01:00
arkpar
da027e93cf
Auto detect available port
2016-03-19 21:00:05 +01:00
arkpar
c8b65c769b
Fixed handshake leak
2016-03-14 13:54:06 +01:00
arkpar
361280a9be
Limit incoming connections
2016-03-12 19:52:37 +01:00
Tomasz Drwięga
f724cab92d
Merge branch 'master' into updating_clippy
...
Conflicts:
ethcore/src/lib.rs
sync/src/chain.rs
sync/src/lib.rs
util/src/keys/store.rs
util/src/lib.rs
2016-03-11 19:17:09 +01:00
Tomasz Drwięga
d84e008e00
Removing superflous check for nightly
2016-03-11 11:16:49 +01:00
Tomasz Drwięga
8709dd28f8
Fixing clippy warnings
2016-03-11 10:58:51 +01:00
Tomasz Drwięga
cbc2c0cf0c
Fixing clippy warnings. When building on nightly it is required to enable clippy
2016-03-07 14:34:17 +01:00
arkpar
003d1fd0cc
Network tracing improvements
2016-03-05 23:32:38 +01:00
arkpar
182aec2f94
Fixed potential deadlock on startup
2016-03-04 22:01:36 +01:00
Tomasz Drwięga
212aac42bd
Removing clippy warnings
2016-02-29 23:09:51 +01:00
arkpar
34bc02af1e
Merge branch 'master' of github.com:ethcore/parity into network
2016-02-26 14:23:10 +01:00
arkpar
c66178e3f7
Fixed a race condition when a connecting peer disconnects immediately
2016-02-26 11:38:06 +01:00
arkpar
8beba717f8
Delayed UPnP initialization
2016-02-23 19:38:06 +01:00
arkpar
492bf7154e
Log address
2016-02-23 15:02:08 +01:00
Gav Wood
63bbd0ccd8
Use proper version string.
2016-02-21 20:00:45 +01:00
Gav Wood
75129613c5
Merge pull request #480 from ethcore/network
...
Networking fixes
2016-02-21 18:57:10 +01:00
arkpar
fe84eb4ff6
Fix locking
2016-02-21 14:04:10 +01:00
arkpar
93d259e8cb
Merge branch 'master' of github.com:ethcore/parity into network
2016-02-21 00:11:32 +01:00
arkpar
b1bfd00875
Zombie connections
2016-02-20 11:47:39 +01:00
arkpar
69df91de68
Deregister handshake properly when converting to session
2016-02-20 01:36:08 +01:00
Nikolay Volf
84e7ce2758
Merge branch 'master' into temp-path
...
Conflicts:
util/Cargo.toml
util/src/lib.rs
2016-02-19 19:11:24 +03:00
arkpar
ab233a941f
Slightly improved tests
2016-02-19 16:34:31 +01:00
arkpar
1d60d82698
Merge branch 'master' of github.com:ethcore/parity into discovery
2016-02-19 13:44:57 +01:00
debris
f50bf528e6
fixed allow warnings in util
2016-02-19 11:57:52 +01:00
arkpar
c9f3f5e544
Tweaked connection limits to be a bit more aggressive
2016-02-17 14:07:11 +01:00
arkpar
e4baf37bf8
Fixed adding boot nodes to discovery table; Ping optimization
2016-02-17 02:55:46 +01:00
arkpar
39a98cd555
Prevent connection deletion until unregister is called; minor tweaks
2016-02-17 01:39:16 +01:00
arkpar
b6ccbdb694
Lower max handshakes to reduce network load
2016-02-16 23:37:24 +01:00
arkpar
7e0dfb41d0
Minor test tweaks and code cleanup
2016-02-16 23:33:32 +01:00
arkpar
fbe06d3f2f
More tests
2016-02-16 21:25:01 +01:00
arkpar
217cbec50e
Disconnect test
2016-02-16 19:08:58 +01:00
arkpar
a4ea0737b2
Fixed some tests
2016-02-16 17:54:34 +01:00