1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-13 01:20:24 +02:00

add freebsd test files

This commit is contained in:
Kelly Brazil
2020-05-29 12:05:46 -07:00
parent 7414d98412
commit 8631b756e7
4 changed files with 76 additions and 0 deletions

24
tests/fixtures/freebsd12/netstat-Aa.out vendored Normal file
View File

@ -0,0 +1,24 @@
Active Internet connections (including servers)
Tcpcb Proto Recv-Q Send-Q Local Address Foreign Address (state)
fffff80003df43d0 tcp4 0 0 192.168.71.1.ssh 192.168.71.1.56321 ESTABLISHED
fffff80003df47a0 tcp4 0 0 localhost.smtp *.* LISTEN
fffff80003df4b70 tcp4 0 0 *.ssh *.* LISTEN
fffff80003df0000 tcp6 0 0 *.ssh *.* LISTEN
fffff80003ae81e8 udp4 0 0 *.syslog *.*
fffff80003ae87a0 udp6 0 0 *.syslog *.*
Active UNIX domain sockets
Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr
fffff80003ab6100 stream 0 0 0 fffff80003ab6200 0 0
fffff80003ab6200 stream 0 0 0 fffff80003ab6100 0 0
fffff80003ab6300 stream 0 0 0 0 0 0
fffff80003ab6800 stream 0 0 0 fffff80003ab6900 0 0
fffff80003ab6900 stream 0 0 0 fffff80003ab6800 0 0
fffff80003abf000 stream 0 0 fffff80003c581e0 0 0 0 /var/run/devd.pipe
fffff80003ac3e00 dgram 0 0 0 fffff80003ab6c00 0 fffff80003ab6400
fffff80003ab6400 dgram 0 0 0 fffff80003ab6c00 0 fffff80003ab6000
fffff80003ab6000 dgram 0 0 0 fffff80003ab6c00 0 fffff80003ab6600
fffff80003ab6500 dgram 0 0 0 fffff80003ab6d00 0 0
fffff80003ab6600 dgram 0 0 0 fffff80003ab6c00 0 0
fffff80003ab6c00 dgram 0 0 fffff80003c59d20 0 fffff80003ac3e00 0 /var/run/logpriv
fffff80003ab6d00 dgram 0 0 fffff80003c67000 0 fffff80003ab6500 0 /var/run/log
fffff80003ab6e00 seqpac 0 0 fffff80003c58000 0 0 0 /var/run/devd.seqpacket.pipe

24
tests/fixtures/freebsd12/netstat-an.out vendored Normal file
View File

@ -0,0 +1,24 @@
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp4 0 0 192.168.71.163.22 192.168.71.1.56321 ESTABLISHED
tcp4 0 0 127.0.0.1.25 *.* LISTEN
tcp4 0 0 *.22 *.* LISTEN
tcp6 0 0 *.22 *.* LISTEN
udp4 0 0 *.514 *.*
udp6 0 0 *.514 *.*
Active UNIX domain sockets
Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr
fffff80003ab6100 stream 0 0 0 fffff80003ab6200 0 0
fffff80003ab6200 stream 0 0 0 fffff80003ab6100 0 0
fffff80003ab6300 stream 0 0 0 0 0 0
fffff80003ab6800 stream 0 0 0 fffff80003ab6900 0 0
fffff80003ab6900 stream 0 0 0 fffff80003ab6800 0 0
fffff80003abf000 stream 0 0 fffff80003c581e0 0 0 0 /var/run/devd.pipe
fffff80003ac3e00 dgram 0 0 0 fffff80003ab6c00 0 fffff80003ab6400
fffff80003ab6400 dgram 0 0 0 fffff80003ab6c00 0 fffff80003ab6000
fffff80003ab6000 dgram 0 0 0 fffff80003ab6c00 0 fffff80003ab6600
fffff80003ab6500 dgram 0 0 0 fffff80003ab6d00 0 0
fffff80003ab6600 dgram 0 0 0 fffff80003ab6c00 0 0
fffff80003ab6c00 dgram 0 0 fffff80003c59d20 0 fffff80003ac3e00 0 /var/run/logpriv
fffff80003ab6d00 dgram 0 0 fffff80003c67000 0 fffff80003ab6500 0 /var/run/log
fffff80003ab6e00 seqpac 0 0 fffff80003c58000 0 0 0 /var/run/devd.seqpacket.pipe

View File

@ -0,0 +1,8 @@
Name Mtu Network Address Ipkts Ierrs Idrop Opkts Oerrs Coll
em0 1500 <Link#1> 00:0c:29:1a:4e:3b 189449 0 0 211310 0 0
em0 - fe80::%em0/64 fe80::20c:29ff:fe 0 - - 4 - -
em0 - 192.168.71.0/ 192.168.71.163 92481 - - 172946 - -
lo0 16384 <Link#2> lo0 26 0 0 26 0 0
lo0 - localhost localhost 23 - - 23 - -
lo0 - fe80::%lo0/64 fe80::1%lo0 0 - - 0 - -
lo0 - your-net localhost 3 - - 3 - -

20
tests/fixtures/freebsd12/netstat-r.out vendored Normal file
View File

@ -0,0 +1,20 @@
Routing tables
Internet:
Destination Gateway Flags Netif Expire
default 192.168.71.2 UGS em0
localhost link#2 UH lo0
192.168.71.0/24 link#1 U em0
192.168.71.163 link#1 UHS lo0
Internet6:
Destination Gateway Flags Netif Expire
::/96 localhost UGRS lo0
localhost link#2 UH lo0
::ffff:0.0.0.0/96 localhost UGRS lo0
fe80::/10 localhost UGRS lo0
fe80::%em0/64 link#1 U em0
fe80::20c:29ff:fe1 link#1 UHS lo0
fe80::%lo0/64 link#2 U lo0
fe80::1%lo0 link#2 UHS lo0
ff02::/16 localhost UGRS lo0