Commit Graph

246 Commits (edd71de1c388671e0ccd96d3a514a2d5fff833b4)

Author SHA1 Message Date
Darien Raymond efb24a4d21
rewrite error lib
8 years ago
Darien Raymond f95c322677
rename 'this'
8 years ago
Darien Raymond d00f8eef56
remove use of 'v' as a variable name
8 years ago
Darien Raymond 77e1427845
remove unnecessary equals()
8 years ago
Darien Raymond ccbd6da20e
hashable address
8 years ago
Darien Raymond 35ba8710e0
fix ip check in ipnet
8 years ago
Darien Raymond e13c97d162
rename IP to CIDR in router
8 years ago
Darien Raymond 2af4b16913
remove string list
8 years ago
Darien Raymond f049b3cc2b
comments
8 years ago
Darien Raymond 5a311cbe08
json config parser
8 years ago
Darien Raymond e33b7df34c
remove use of any
8 years ago
Darien Raymond be026870f7
protogen update
8 years ago
Darien Raymond fc6a706166
refactor protos
8 years ago
Darien Raymond 1d13f47f9c
protobuf for stream settings
8 years ago
Darien Raymond af6abfa3e3
update proto generated code
8 years ago
Darien Raymond 91f2a40dae
refine proto package names
8 years ago
Darien Raymond 60f4292882
protobuf for dokodemo config
8 years ago
Darien Raymond 88ae8248a5
protobuf for network list
8 years ago
Darien Raymond d38e62932d
proto for dns config
8 years ago
Darien Raymond 7de7588ec2
proto for destination
8 years ago
Darien Raymond c518726910
network proto
8 years ago
Darien Raymond 9ade07db03
remove IsTCP() and IsUDP()
8 years ago
Darien Raymond 7f2ba0d106
remove unnecessary code
8 years ago
Darien Raymond ea2c491ade
global proto gen
8 years ago
Darien Raymond cdb4c56546
protobuf for net
8 years ago
Darien Raymond bbca180dba
try protobuf
8 years ago
v2ray 07a86f549b
unified import path
8 years ago
v2ray 2268f3d1bc
remove import path restriction
8 years ago
v2ray a5a70afdb8
remove port testing
8 years ago
Shelikhoo 7259b3363b
Merge branch 'master' into websockwt
8 years ago
v2ray cc92973daf
fix destination from addr
8 years ago
v2ray 4419f1e3d6
introduce address family in v2net
8 years ago
v2ray a9d583b92f
connection session
8 years ago
v2ray a2651f4dfc
address family interface
8 years ago
Shelikhoo cb1356be75
Register ws network
8 years ago
v2ray 6f998fa18b
update ipv6 comparison
8 years ago
v2ray 7f661f5215
rename Error to Err
9 years ago
v2ray 67ac925ee7
refactor bytes functions
9 years ago
v2ray 9b6dc6bcea massive refactoring for kcp
9 years ago
v2ray a4d76dc394 support using specific address
9 years ago
v2ray b47c1ca609 get rid of annoying firewall warnings
9 years ago
v2ray c75d840706 Remove serial.String
9 years ago
v2ray ab39750ceb Remove serial.Bytes
9 years ago
v2ray fc63f0432c simplify testing
9 years ago
v2ray 3582b9d869 move net/testing/assert into assert
9 years ago
v2ray 50957b9973 Fix build break
9 years ago
v2ray 47b2fafb32 Shorten StringLiteral
9 years ago
v2ray cfdda19834 Shorten BytesLiteral
9 years ago
v2ray 3b545abe02 dns client implementation
9 years ago
v2ray 31d03a893a test case for port range
9 years ago
v2ray 42907ff2e8 Remove v2net.Packet
9 years ago
v2ray 7407c8d561 use stream instead of raw chan
9 years ago
v2ray ff69ac7a0e Release all references
9 years ago
v2ray 4bb1d822af prefer Network over string
9 years ago
v2ray 45db388e3f more docs
9 years ago
v2ray b53fddf229 doc for network
9 years ago
v2ray 0b20d6fbf3 doc for net
9 years ago
v2ray 749ca3deab doc for address
9 years ago
v2ray dd8c7b94de doc for port
9 years ago
v2ray e467042fbc simplify port range parsing
9 years ago
v2ray 3a40fa67e1 test case for timed io
9 years ago
v2ray 77359d8047 test case for ipnet
9 years ago
Darien Raymond b44268d409 fix test break
9 years ago
Darien Raymond c74bcc9c50 more json test cases
9 years ago
Darien Raymond 3b1f92b7e8 allow multiple UDP incoming packets in freedom
9 years ago
v2ray f34e253ea3 Rename errors with Error prefix
9 years ago
Darien Raymond 7f5184e943 understand OTA bit
9 years ago
Darien Raymond 008c285324 move transport methods from net to io
9 years ago
v2ray 06b92bddcf authenticator
9 years ago
v2ray 494f431c37 remove ReadAllBytes in favor of io.ReadFull
9 years ago
Darien Raymond 1a10f7c4da init rand with time
9 years ago
v2ray 2b1441b030 bytes to number methods
9 years ago
v2ray 98d99a1fd0 dynamic allocation of inbounds
9 years ago
Darien Raymond 7f4ff04483 test cases for Equals()
9 years ago
Darien Raymond 85feb725a5 BytesLiteral.All()
9 years ago
Darien Raymond c78460df1e test case for ipv4 address in ipv6 format
9 years ago
v2ray baaef1dad5 handle switch account command in vmess out
9 years ago
v2ray 573d0a9c29 fix build break
9 years ago
v2ray 6eff759b05 more fields in switch account command
9 years ago
v2ray 65d5c07533 BytesLiteral.String
9 years ago
v2ray eec0bb4db4 lazy evaluation of log fields
9 years ago
Darien Raymond ae8121e633 remove json packages in app folder
9 years ago
v2ray 2d233295e6 simplify stringlist
9 years ago
v2ray a403859105 move network to net
9 years ago
v2ray 393a64820f simplify port range
9 years ago
v2ray 5ceac7a6e2 move host from net/json to net
9 years ago
v2ray 1f1f79b90a simplify address
9 years ago
v2ray 43a06e52de init timeout value
9 years ago
v2ray c74091453c no op when new timeout setting is the same as previous
9 years ago
v2ray 8d6fdd014a dns cache command
9 years ago
v2ray 6543facd51 converting from host to address directly
9 years ago
v2ray 34a0cb0b70 move port out of address
9 years ago
v2ray 5b3e84ede6 dns config
9 years ago
Darien Raymond ed09b4ea6a support domain as host in VMess outbound config.
9 years ago
Darien Raymond c19341ffab chinaip
9 years ago
v2ray c54c0218e0 simplify test
9 years ago
v2ray e1c58fae2b dns cache
9 years ago
v2ray e42510aca5 more literals
9 years ago
Darien Raymond d22fed67ad format code
9 years ago
Darien Raymond ae056714db refactor common/net.Port
9 years ago
Darien Raymond fa7c1069bc more update
9 years ago
Darien Raymond ec31c1fa7f remove common/net unit test back.
9 years ago
Darien Raymond ab875000e0 fix build break
9 years ago
Darien Raymond 36848af749 leveral serial.String in code
9 years ago
Darien Raymond 3c12469ae5 leverage serial.String in assert
9 years ago
Darien Raymond 091f047ebb add assertions for net utilities
9 years ago
Darien Raymond 0a2e4343bc massive refactoring against unit test lib
9 years ago
V2Ray cee85bdf26 Add Port as a type
9 years ago
V2Ray d48ac4418f config for rule based router
9 years ago
V2Ray 346b6125f4 test cases for Destination
9 years ago
V2Ray 1cec5ac643 Test case for inbound detour network
9 years ago
V2Ray 03b8c8f9e8 Port picker
9 years ago
V2Ray 1c09b70931 format code
9 years ago
V2Ray 46c0d457d9 User settings for trusted user
9 years ago
V2Ray c56e17fff9 Dokodemo proxy
9 years ago
V2Ray 2c710d6b1c Protect from DoS attack
9 years ago
V2Ray 2a00e2c6e9 Fix for IPv4 address
9 years ago
V2Ray 1d40220d31 Remove error defination
9 years ago
V2Ray 702aaacac3 More doc
9 years ago
V2Ray 2a85c62e14 Use large buffer if download size is huge
9 years ago
V2Ray 6d5d8b12cd More test case for address
9 years ago
V2Ray 09c76de65f format code
9 years ago
V2Ray cdea39ff95 Try writing again when there are some bytes left
9 years ago
V2Ray 3cb1951dfc Use []byte in pool instead of buffer
9 years ago
V2Ray 9ee73c4f6b Maintain an internal buffer pool to accelerate allocation
9 years ago
V2Ray c9f6747bd2 Optimize network transport for large data
9 years ago
V2Ray e7daa4c21c Add size parameter to transport.ReadFrom
9 years ago
V2Ray 90f85a7272 Fix a bug in transport
9 years ago
V2Ray 78daf8a879 format code
9 years ago
V2Ray fe7d2d8984 Recycle memory earlier in error case
9 years ago
V2Ray 838cb8950a Enable UDP in Socks proxy
9 years ago
V2Ray ddad439614 Refactor socks request handling
9 years ago
V2Ray 76563cb7c7 simplify udp handling
9 years ago
V2Ray 544b99b1a6 dispatch udp response
9 years ago
V2Ray ba3f6108b8 assign port token for a udp packet
9 years ago
V2Ray a78dbe7133 Close connection more aggressively.
9 years ago
V2Ray c138004bf9 First attempt to regulate errors.
9 years ago
V2Ray 4874cd54a4 Introduce Packet to unify TCP and UDP communication
9 years ago
V2Ray 4320c14efd In practice 32k buffer is never fully used.
9 years ago
V2 Ray 313aec4097 more docs
9 years ago
V2 Ray e4b6d5e0f0 Doc for address.go
9 years ago
V2Ray cb16047cf0 prefer interface over struct
9 years ago
V2Ray 823cbf1509 Split Address struct to save some bytes
9 years ago
V2Ray b319704282 Add network type to destination to be ready for UDP connection
9 years ago
V2Ray 07d4495b27 test cases for json config
9 years ago
V2Ray 075753c030 Massive refactoring for better code structure
9 years ago