An electronic communication gateway intended to be carried on board an aircraft, the gateway comprising: - an acquisition module configured to acquire at least one data message; each message being according to a communication protocol and including a header and a payload including a plurality of successive fields; - a filter module connected to the output of the acquisition module and configured to filter each respective acquired message, validating said message if it complies with a set of filter criteria and blocking it as soon as a filter criterion of said set is not complied with; - a transmission module connected to the output of the filter module and configured to transmit each message validated by the filter module to a corresponding recipient; characterized in that the filter module includes: - a generation unit configured to generate a main table for each acquired message; the main table representing a tree of the fields of the payload of said message according to a set of levels (N1, N2, N3, N4, N5) related to the communication protocol, the tree including one or more branches; - a calculation unit configured to calculate, for each acquired message, a dictionary table and at least one auxiliary table (TAL, TML, TAV) from among a first auxiliary table, a second auxiliary table and a third auxiliary table; the dictionary table including, for each of the levels (N1, N2, N3, N4, N5), a list of fixed values contained in said message, each fixed value belonging to a set of predefined values related to the communication protocol; the first auxiliary table including, for each of the levels (N1, N2, N3, N4, N5) and each fixed value of the dictionary table, an identifier of each field containing said fixed value; the second auxiliary table including, for each message branch, a list of the fixed values contained in the fields of said branch; and the third auxiliary table including, for each of the levels (N1, N2, N3, N4, N5), a list of values representative of the variable value(s) contained in said message, each variable value being distinct from the set of predefined values related to the communication protocol; and in that the filter module is configured to use the at least one auxiliary table (TAL, TML, TAV) to implement the filter criteria. - an acquisition module configured to acquire at least one data message; each message being according to a communication protocol and including a header and a payload including a plurality of successive fields; - a filter module connected to the output of the acquisition module and configured to filter each respective acquired message, validating said message if it complies with a set of filter criteria and blocking it as soon as a filter criterion of said set is not complied with; - a transmission module connected to the output of the filter module and configured to transmit each message validated by the filter module to a corresponding recipient; characterized in that the filter module includes: - a generation unit configured to generate a main table for each acquired message; the main table representing a tree of the fields of the payload of said message according to a set of levels (N1, N2, N3, N4, N5) related to the communication protocol, the tree including one or more branches; - a calculation unit configured to calculate, for each acquired message, a dictionary table and at least one auxiliary table (TAL, TML, TAV) from among a first auxiliary table, a second auxiliary table and a third auxiliary table; - a generation unit configured to generate a main table for each acquired message; the main table representing a tree of the fields of the payload of said message according to a set of levels (N1, N2, N3, N4, N5) related to the communication protocol, the tree including one or more branches; - a calculation unit configured to calculate, for each acquired message, a dictionary table and at least one auxiliary table (TAL, TML, TAV) from among a first auxiliary table, a second auxiliary table and a third auxiliary table; the dictionary table including, for each of the levels (N1, N2, N3, N4, N5), a list of fixed values contained in said message, each fixed value belonging to a set of predefined values related to the communication protocol; the first auxiliary table including, for each of the levels (N1, N2, N3, N4, N5) and each fixed value of the dictionary table, an identifier of each field containing said fixed value; the second auxiliary table including, for each message branch, a list of the fixed values contained in the fields of said branch; and the third auxiliary table including, for each of the levels (N1, N2, N3, N4, N5), a list of values representative of the variable value(s) contained in said message, each variable value being distinct from the set of predefined values related to the communication protocol; and in that the filter module is configured to use the at least one auxiliary table (TAL, TML, TAV) to implement the filter criteria.