/etc/l7-protocols/protocols/battlefield2142.pat is in l7-protocols 20090528-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | # Battlefield 2142 - An EA game.
# Pattern attributes: ok fast fast
# Protocol groups: proprietary game
# Wiki: http://protocolinfo.org/wiki/Battlefield_2142
# Copyright (C) 2008 Matthew Strait, Ethan Sommer; See ../LICENSE
# Submitted by Telsin. Not confirmed.
battlefield2142
# gameplay|account-login|server browsing/information
# Can't put a ^ on the last branch: it fails to match if you do.
# This branch seems to matter very rarely, though
^(\x11\x20\x01\x90\x50\x64\x10|\xfe\xfd.?.?.?\x18|[\x01\\].?battlefield2)
|