mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-10 17:25:34 +08:00
feat(connection): 添加入站用户列 (#437)
This commit is contained in:
parent
56b2b81548
commit
1ba7700a3f
@ -126,6 +126,7 @@ export enum CONNECTIONS_TABLE_ACCESSOR_KEY {
|
|||||||
SourceIP = 'sourceIP',
|
SourceIP = 'sourceIP',
|
||||||
SourcePort = 'sourcePort',
|
SourcePort = 'sourcePort',
|
||||||
Destination = 'destination',
|
Destination = 'destination',
|
||||||
|
InboundUser = 'inboundUser',
|
||||||
}
|
}
|
||||||
|
|
||||||
export const CONNECTIONS_TABLE_MAX_CLOSED_ROWS = 200
|
export const CONNECTIONS_TABLE_MAX_CLOSED_ROWS = 200
|
||||||
|
@ -38,6 +38,7 @@ export default {
|
|||||||
sourceIP: 'Source IP',
|
sourceIP: 'Source IP',
|
||||||
sourcePort: 'Source Port',
|
sourcePort: 'Source Port',
|
||||||
destination: 'Destination',
|
destination: 'Destination',
|
||||||
|
inboundUser: 'Inbound User',
|
||||||
close: 'Close',
|
close: 'Close',
|
||||||
reset: 'Reset',
|
reset: 'Reset',
|
||||||
dnsQuery: 'DNS Query',
|
dnsQuery: 'DNS Query',
|
||||||
|
@ -40,6 +40,7 @@ export default {
|
|||||||
sourceIP: '源地址',
|
sourceIP: '源地址',
|
||||||
sourcePort: '源端口',
|
sourcePort: '源端口',
|
||||||
destination: '目标地址',
|
destination: '目标地址',
|
||||||
|
inboundUser: '入站用户',
|
||||||
close: '关闭',
|
close: '关闭',
|
||||||
reset: '重置',
|
reset: '重置',
|
||||||
dnsQuery: 'DNS 查询',
|
dnsQuery: 'DNS 查询',
|
||||||
|
@ -242,6 +242,14 @@ export default () => {
|
|||||||
original.metadata.destinationIP ||
|
original.metadata.destinationIP ||
|
||||||
original.metadata.host,
|
original.metadata.host,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
header: () => t('inboundUser'),
|
||||||
|
accessorKey: CONNECTIONS_TABLE_ACCESSOR_KEY.InboundUser,
|
||||||
|
accessorFn: (original) =>
|
||||||
|
original.metadata.inboundUser ||
|
||||||
|
original.metadata.inboundName ||
|
||||||
|
original.metadata.inboundPort,
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
const [grouping, setGrouping] = createSignal<GroupingState>([])
|
const [grouping, setGrouping] = createSignal<GroupingState>([])
|
||||||
|
Loading…
Reference in New Issue
Block a user