=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== vip-manager-0.6+ds/README.md-5-## building vip-manager-0.6+ds/README.md:6:1. To make sure that internal includes (the vipconfig and the checker package) are satisfied, place the base directory of this project properly into your `$GOPATH`. vip-manager-0.6+ds/README.md:7: The resulting location should be `$GOPATH/src/github.com/cybertec-postgresql/vip-manager/`. The easiest way to do this is: vip-manager-0.6+ds/README.md-8- ```go get github.com/cybertec-postgresql/vip-manager``` ############################################## vip-manager-0.6+ds/hetznerConfigurer.go-51- vip-manager-0.6+ds/hetznerConfigurer.go:52: localAddr := conn.LocalAddr().(*net.UDPAddr) vip-manager-0.6+ds/hetznerConfigurer.go-53- ############################################## vip-manager-0.6+ds/package/scripts/vip-manager-74-if [ ! -f "$STDOUT" ]; then vip-manager-0.6+ds/package/scripts/vip-manager:75: mkdir -p `dirname $STDOUT` vip-manager-0.6+ds/package/scripts/vip-manager-76-fi ############################################## vip-manager-0.6+ds/package/scripts/vip-manager-81-if [ ! -f "$STDERR" ]; then vip-manager-0.6+ds/package/scripts/vip-manager:82: mkdir -p `dirname $STDERR` vip-manager-0.6+ds/package/scripts/vip-manager-83-fi ############################################## vip-manager-0.6+ds/package/scripts/vip-manager-93- vip-manager-0.6+ds/package/scripts/vip-manager:94: local pidfile=`cat $2` vip-manager-0.6+ds/package/scripts/vip-manager-95- ############################################## vip-manager-0.6+ds/package/scripts/vip-manager-111- vip-manager-0.6+ds/package/scripts/vip-manager:112: pid=`cat $2` vip-manager-0.6+ds/package/scripts/vip-manager-113- ############################################## vip-manager-0.6+ds/package/scripts/vip-manager-132-pidfile=/var/run/vip-manager.pid vip-manager-0.6+ds/package/scripts/vip-manager:133:piddir=`dirname $pidfile` vip-manager-0.6+ds/package/scripts/vip-manager-134- ############################################## vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client.go-57-func newClient(ifi *net.Interface, p net.PacketConn, addrs []net.Addr) (*Client, error) { vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client.go:58: ip, err := firstIPv4Addr(addrs) vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client.go-59- if err != nil { ############################################## vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client.go-217-// with the connection. vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client.go:218:func (c Client) HardwareAddr() net.HardwareAddr { vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client.go-219- return c.ifi.HardwareAddr ############################################## vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client.go-223-// input slice of network addresses. vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client.go:224:func firstIPv4Addr(addrs []net.Addr) (net.IP, error) { vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client.go-225- for _, a := range addrs { ############################################## vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client_request_test.go-20- vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client_request_test.go:21:func TestClientRequestInvalidSourceHardwareAddr(t *testing.T) { vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client_request_test.go-22- c := &Client{ ############################################## vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client_request_test.go-106- vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client_request_test.go:107:func TestClientRequestEthernetFrameWrongDestinationHardwareAddr(t *testing.T) { vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client_request_test.go-108- c := &Client{ ############################################## vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client_test.go-74- vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client_test.go:75:func TestClientHardwareAddr(t *testing.T) { vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client_test.go-76- c := &Client{ ############################################## vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client_test.go-81- vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client_test.go:82: if want, got := c.ifi.HardwareAddr.String(), c.HardwareAddr().String(); want != got { vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client_test.go-83- t.Fatalf("unexpected hardware address: %v != %v", want, got) ############################################## vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client_test.go-129- vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client_test.go:130:func Test_firstIPv4Addr(t *testing.T) { vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client_test.go-131- var tests = []struct { ############################################## vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client_test.go-220- for i, tt := range tests { vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client_test.go:221: ip, err := firstIPv4Addr(tt.addrs) vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client_test.go-222- if err != nil { ############################################## vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client_test.go-282-func (noopPacketConn) Close() error { return nil } vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client_test.go:283:func (noopPacketConn) LocalAddr() net.Addr { return nil } vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client_test.go-284-func (noopPacketConn) SetDeadline(t time.Time) error { return nil } ############################################## vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client_test.go-286-func (noopPacketConn) SetWriteDeadline(t time.Time) error { return nil } vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/client_test.go:287:func (noopPacketConn) HardwareAddr() net.HardwareAddr { return nil } ############################################## vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/packet_test.go-131- vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/packet_test.go:132: iboip1 := net.HardwareAddr(bytes.Repeat([]byte{0}, 20)) vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/packet_test.go:133: iboip2 := net.HardwareAddr(bytes.Repeat([]byte{1}, 20)) vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/packet_test.go-134- ############################################## vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/packet_test.go-211- vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/packet_test.go:212: iboip1 := net.HardwareAddr(bytes.Repeat([]byte{0}, 20)) vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/packet_test.go:213: iboip2 := net.HardwareAddr(bytes.Repeat([]byte{1}, 20)) vip-manager-0.6+ds/vendor/github.com/mdlayher/arp/packet_test.go-214- ############################################## vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw.go-73-// LocalAddr returns the local network address. vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw.go:74:func (c *Conn) LocalAddr() net.Addr { vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw.go:75: return c.p.LocalAddr() vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw.go-76-} ############################################## vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw_bsd.go-148-// LocalAddr returns the local network address. vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw_bsd.go:149:func (p *packetConn) LocalAddr() net.Addr { vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw_bsd.go-150- return &Addr{ ############################################## vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw_linux.go-214-// LocalAddr returns the local network address. vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw_linux.go:215:func (p *packetConn) LocalAddr() net.Addr { vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw_linux.go-216- return &Addr{ ############################################## vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw_linux_test.go-120- vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw_linux_test.go:121:func Test_packetConnReadFromRecvfromInvalidSockaddr(t *testing.T) { vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw_linux_test.go-122- p, err := newPacketConn( ############################################## vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw_linux_test.go-141- vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw_linux_test.go:142:func Test_packetConnReadFromRecvfromInvalidHardwareAddr(t *testing.T) { vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw_linux_test.go-143- p, err := newPacketConn( ############################################## vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw_linux_test.go-229- vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw_linux_test.go:230:func Test_packetConnWriteToInvalidSockaddr(t *testing.T) { vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw_linux_test.go-231- _, err := (&packetConn{}).WriteTo(nil, &net.IPAddr{}) ############################################## vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw_linux_test.go-238- vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw_linux_test.go:239:func Test_packetConnWriteToInvalidHardwareAddr(t *testing.T) { vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw_linux_test.go-240- _, err := (&packetConn{}).WriteTo(nil, &Addr{ ############################################## vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw_linux_test.go-341- vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw_linux_test.go:342:func Test_packetConnLocalAddr(t *testing.T) { vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw_linux_test.go-343- deadbeefHW := net.HardwareAddr{0xde, 0xad, 0xbe, 0xef, 0xde, 0xad} ############################################## vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw_linux_test.go-350- vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw_linux_test.go:351: if want, got := deadbeefHW, p.LocalAddr().(*Addr).HardwareAddr; !bytes.Equal(want, got) { vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw_linux_test.go-352- t.Fatalf("unexpected hardware address:\n- want: %v\n- got: %v", want, got) ############################################## vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw_others.go-40-// LocalAddr is not currently implemented on this platform. vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw_others.go:41:func (p *packetConn) LocalAddr() net.Addr { vip-manager-0.6+ds/vendor/github.com/mdlayher/raw/raw_others.go-42- return nil