@@ -175,29 +175,41 @@ public interface IIPBanFirewall : IUpdater, IDisposable
175
175
/// </summary>
176
176
public struct PacketEvent
177
177
{
178
+ /// <summary>
179
+ /// FQDN of machine sending the event
180
+ /// </summary>
181
+ [ System . Text . Json . Serialization . JsonPropertyName ( "f" ) ]
182
+ public string FQDN { get ; init ; }
183
+
178
184
/// <summary>
179
185
/// Source ip address of the packet
180
186
/// </summary>
181
- [ System . Text . Json . Serialization . JsonPropertyName ( "s " ) ]
182
- public string SourceIpAddress { get ; init ; }
187
+ [ System . Text . Json . Serialization . JsonPropertyName ( "l " ) ]
188
+ public string LocalIpAddress { get ; init ; }
183
189
184
190
/// <summary>
185
191
/// Source port of the packet or 0 if unknown/not applicable
186
192
/// </summary>
187
193
[ System . Text . Json . Serialization . JsonPropertyName ( "p" ) ]
188
- public int SourcePort { get ; init ; }
194
+ public int LocalPort { get ; init ; }
195
+
196
+ /// <summary>
197
+ /// Remote country (if known)
198
+ /// </summary>
199
+ [ System . Text . Json . Serialization . JsonPropertyName ( "c" ) ]
200
+ public string RemoteCountry { get ; set ; }
189
201
190
202
/// <summary>
191
203
/// Destination ip address of the packet
192
204
/// </summary>
193
- [ System . Text . Json . Serialization . JsonPropertyName ( "d " ) ]
194
- public string DestinationIpAddress { get ; init ; }
205
+ [ System . Text . Json . Serialization . JsonPropertyName ( "r " ) ]
206
+ public string RemoteIpAddress { get ; init ; }
195
207
196
208
/// <summary>
197
209
/// Destination port of the packet or 0 if unknown/not applicable
198
210
/// </summary>
199
- [ System . Text . Json . Serialization . JsonPropertyName ( "r " ) ]
200
- public int DestinationPort { get ; init ; }
211
+ [ System . Text . Json . Serialization . JsonPropertyName ( "o " ) ]
212
+ public int RemotePort { get ; init ; }
201
213
202
214
/// <summary>
203
215
/// Rule name if known, otherwise null
0 commit comments