1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-04 09:17:32 -05:00

Add warning for fragmented packets

This commit is contained in:
V2Ray 2015-10-06 09:37:51 +02:00
parent c61ddc7028
commit fe6e139e74

View File

@ -49,6 +49,7 @@ func (server *SocksServer) AcceptPackets(conn *net.UDPConn) error {
continue continue
} }
if request.Fragment != 0 { if request.Fragment != 0 {
log.Warning("Dropping framented UDP packets.")
// TODO handle fragments // TODO handle fragments
continue continue
} }