- CheckMates
- :
- Products
- :
- General Topics
- :
- How to show the active connection to a specific ho...
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to show the active connection to a specific host
I need to list the active connection to a specific hosts.
I try to take a look on sk65133 but it's a little bit confusing.
someone can post the cli sintax to list all the connection to or from a specific ip address on a gaia gateway?
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
fwaccel conns | grep 192.168.1.1
or ...
tcpdump -nni any host a.b.c.d
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
fwaccel conns | grep 192.168.1.1
or ...
tcpdump -nni any host a.b.c.d
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
with fwaccel conns I get the following output
192.168.41.30 55359 172.16.168.14 443 6 ...A...S...... 1/5 5/1 0 0
How can I get the session time out?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi jerry,
I ping 8.8.8.8 from 192.168.1.166 and I run the command but I get the interface table not the sessions
gw01> netstat -ni | grep 192.168.1.166
Kernel Interface table
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
Sync 1500 0 109047670 0 0 0 185913667 0 0 0 BMRU
eth1 1500 0 2619089038 0 6385 6385 4877823972 0 0 0 BMRU
eth2 1500 0 2099220674 0 15669 15669 937946303 0 0 0 BMRU
eth3 1500 0 2935342554 0 28258 28258 1811907328 0 0 0 BMRU
eth4 1500 0 85802933 0 0 0 84968235 0 0 0 BMRU
eth4.200 1500 0 44997074 0 0 0 29860225 0 0 0 BMRU
eth4.201 1500 0 3850595 0 0 0 133790 0 0 0 BMRU
eth4.202 1500 0 2977084 0 0 0 81710 0 0 0 BMRU
eth4.203 1500 0 33247665 0 0 0 29904784 0 0 0 BMRU
lo 16436 0 57781100 0 0 0 57781100 0 0 0 LRU