=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== dbeacon-0.4.0/dbeacon_posix.cpp-183- if (shouldbind) { dbeacon-0.4.0/dbeacon_posix.cpp:184: if (bind(sock, addr.saddr(), addr.addrlen()) != 0) { dbeacon-0.4.0/dbeacon_posix.cpp-185- perror("Failed to bind multicast socket"); ############################################## dbeacon-0.4.0/dbeacon_posix.cpp-271- dbeacon-0.4.0/dbeacon_posix.cpp:272: msg.msg_name = (char *)from.saddr(); dbeacon-0.4.0/dbeacon_posix.cpp-273- msg.msg_namelen = from.addrlen(); ############################################## dbeacon-0.4.0/dbeacon_posix.cpp-344- dbeacon-0.4.0/dbeacon_posix.cpp:345: msg.msg_name = (char *)to.saddr(); dbeacon-0.4.0/dbeacon_posix.cpp-346- msg.msg_namelen = to.addrlen(); ############################################## dbeacon-0.4.0/dbeacon_posix.cpp-358-#endif dbeacon-0.4.0/dbeacon_posix.cpp:359: return sendto(sock, buffer, len, 0, to.saddr(), to.addrlen()); dbeacon-0.4.0/dbeacon_posix.cpp-360-} ############################################## dbeacon-0.4.0/dbeacon_posix.cpp-380- dbeacon-0.4.0/dbeacon_posix.cpp:381:sockaddr *address::saddr() { return (sockaddr *)&stor; } dbeacon-0.4.0/dbeacon_posix.cpp:382:const sockaddr *address::saddr() const { return (const sockaddr *)&stor; } dbeacon-0.4.0/dbeacon_posix.cpp-383- ############################################## dbeacon-0.4.0/dbeacon_posix.cpp-445- dbeacon-0.4.0/dbeacon_posix.cpp:446:bool address::set_addr(const char *addr) { dbeacon-0.4.0/dbeacon_posix.cpp-447- if (stor.ss_family == AF_INET) { ############################################## dbeacon-0.4.0/dbeacon_posix.cpp-522- socklen_t addrlen = this->addrlen(); dbeacon-0.4.0/dbeacon_posix.cpp:523: return getsockname(sock, this->saddr(), &addrlen); dbeacon-0.4.0/dbeacon_posix.cpp-524-} ############################################## dbeacon-0.4.0/dbeacon_posix.cpp-631- dbeacon-0.4.0/dbeacon_posix.cpp:632: if (connect(tmpSock, remote.saddr(), remote.addrlen()) != 0) { dbeacon-0.4.0/dbeacon_posix.cpp-633- perror("Failed to connect multicast socket"); ############################################## dbeacon-0.4.0/README-11-delay and jitter between beacons. dbeacon supports both IPv4 and IPv6 dbeacon-0.4.0/README:12:multicast, collecting information via ASM and SSM. dbeacon-0.4.0/README-13- ############################################## dbeacon-0.4.0/contrib/matrix.pl-542- dbeacon-0.4.0/contrib/matrix.pl:543: my @sources = qw(asm ssm both ssmorasm); dbeacon-0.4.0/contrib/matrix.pl-544- my @sources_name = ('ASM', 'SSM', 'Both', 'SSM or ASM'); ############################################## dbeacon-0.4.0/contrib/matrix.pl-579- #if ($attwhat eq "asm") { dbeacon-0.4.0/contrib/matrix.pl:580: # printx ", <a href=\"$url$hideatt$fullatt&what=both&att=$attname&at=$at\">ASM and SSM</a>"; dbeacon-0.4.0/contrib/matrix.pl-581- # printx ", <a href=\"$url$hideatt$fullatt&what=ssmorasm&att=$attname&at=$at\">SSM or ASM</a>"; dbeacon-0.4.0/contrib/matrix.pl-582- #} elsif ($attwhat eq "ssmorasm") { dbeacon-0.4.0/contrib/matrix.pl:583: # printx ", <a href=\"$url$hideatt$fullatt&what=both&att=$attname&at=$at\">ASM and SSM</a>"; dbeacon-0.4.0/contrib/matrix.pl:584: # printx ", <a href=\"$url$hideatt$fullatt&what=asm&att=$attname&at=$at\">ASM only</a>"; dbeacon-0.4.0/contrib/matrix.pl-585- #} else { dbeacon-0.4.0/contrib/matrix.pl-586- # printx ", <a href=\"$url$hideatt$fullatt&what=ssmorasm&att=$attname&at=$at\">SSM or ASM</a>"; dbeacon-0.4.0/contrib/matrix.pl:587: # printx ", <a href=\"$url$hideatt$fullatt&what=asm&att=$attname&at=$at\">ASM only</a>"; dbeacon-0.4.0/contrib/matrix.pl-588- #} ############################################## dbeacon-0.4.0/contrib/matrix.pl-902- printx '<td><b>Matrix cell colors:</b></td>', "\n"; dbeacon-0.4.0/contrib/matrix.pl:903: printx '<td>Full connectivity (ASM and SSM)</td><td class="AAS">X</td>', "\n"; dbeacon-0.4.0/contrib/matrix.pl:904: printx '<td>ASM only</td><td class="AA">X</td>', "\n"; dbeacon-0.4.0/contrib/matrix.pl-905- printx '<td>SSM only</td><td class="AS">X</td>', "\n"; ############################################## dbeacon-0.4.0/contrib/matrix.pl-1751- dbeacon-0.4.0/contrib/matrix.pl:1752:table.adj td.A_asm { dbeacon-0.4.0/contrib/matrix.pl-1753- border-right: 0.075em solid white; ############################################## dbeacon-0.4.0/ssmping.cpp-23- dbeacon-0.4.0/ssmping.cpp:24:static address SSMPingV6Addr(AF_INET6), SSMPingV4Addr(AF_INET); dbeacon-0.4.0/ssmping.cpp-25- ############################################## dbeacon-0.4.0/ssmping.cpp-51-int SetupSSMPing() { dbeacon-0.4.0/ssmping.cpp:52: address addr(beaconUnicastAddr.family()); dbeacon-0.4.0/ssmping.cpp-53- ############################################## dbeacon-0.4.0/ssmping.cpp-70- dbeacon-0.4.0/ssmping.cpp:71: assert(SSMPingV4Addr.set_addr(SSMPingV4ResponseChannel)); dbeacon-0.4.0/ssmping.cpp:72: assert(SSMPingV6Addr.set_addr(SSMPingV6ResponseChannel)); dbeacon-0.4.0/ssmping.cpp-73- ############################################## dbeacon-0.4.0/address.h-27- dbeacon-0.4.0/address.h:28: sockaddr *saddr(); dbeacon-0.4.0/address.h:29: const sockaddr *saddr() const; dbeacon-0.4.0/address.h-30- ############################################## dbeacon-0.4.0/address.h-37- bool parse(const char *, bool multicast = true, bool addport = true); dbeacon-0.4.0/address.h:38: bool set_addr(const char *); dbeacon-0.4.0/address.h-39- bool set_port(int); ############################################## dbeacon-0.4.0/docs/large_scale_beaconing.txt-8- dbeacon-0.4.0/docs/large_scale_beaconing.txt:9:We assume that each domains enabled ASM internally (aka they setup a PIM-SM RP) dbeacon-0.4.0/docs/large_scale_beaconing.txt-10-in their domains and that they want to test SSM reachability between sources dbeacon-0.4.0/docs/large_scale_beaconing.txt:11:distributed in various domains of the Internet : ASM is enabled in intra dbeacon-0.4.0/docs/large_scale_beaconing.txt-12-domain, and SSM is enabled in interdomain. A same domain may be distributed ############################################## dbeacon-0.4.0/docs/large_scale_beaconing.txt-38- dbeacon-0.4.0/docs/large_scale_beaconing.txt:39:3.2 One ASM group per domain dbeacon-0.4.0/docs/large_scale_beaconing.txt-40- ############################################## dbeacon-0.4.0/docs/dbeacon.1-11-.SH DESCRIPTION dbeacon-0.4.0/docs/dbeacon.1:12:\fBdbeacon\fR is a network level management tool aiming at getting various statistics about multicast connectivity. Its first usage is to check out if you can send/receive toward/from an IPv4/IPv6 multicast network. Its second usage is to gather various statistics by using a known multicast ASM group, for example TTL between each multicast peers, loss or jitter figures. Theses statistics are kept internally but can be dumped periodically in a file in xml format for latter processing. Statistics gathering is completetly distributed and rely on the powerful nature of ASM. No server is required, but maybe a http server for accessing the statistics and build an adjacency matrix of the peers. dbeacon-0.4.0/docs/dbeacon.1-13-.SH OPTIONS ############################################## dbeacon-0.4.0/docs/dbeacon.1-25-\fB-b\fR \fIBEACON_ADDR\fR/\fIPORT\fR dbeacon-0.4.0/docs/dbeacon.1:26:This is the IPv4/IPv6 address of the ASM group used by dbeacon to gather statistics. It can be specified as a DNS name too. dbeacon-0.4.0/docs/dbeacon.1-27-.TP ############################################## dbeacon-0.4.0/docs/dbeacon.1-31-\fB-O\fR dbeacon-0.4.0/docs/dbeacon.1:32:This option enable SSM data sending in addition to ASM data. It can be used to dbeacon-0.4.0/docs/dbeacon.1-33-check if people can reach you via SSM. ############################################## dbeacon-0.4.0/docs/dbeacon.1-36-This allows you to bootstrap from an ADDR that is already in the matrix. This dbeacon-0.4.0/docs/dbeacon.1:37:option is useful when you ASM connectivity is broken but SSM connectivity works. dbeacon-0.4.0/docs/dbeacon.1-38-.TP ############################################## dbeacon-0.4.0/protocol.cpp-346- } else if (pd[0] == T_ASM_STATS || pd[0] == T_SSM_STATS) { dbeacon-0.4.0/protocol.cpp:347: Stats *st = (pd[0] == T_ASM_STATS ? &stats.ASM : &stats.SSM); dbeacon-0.4.0/protocol.cpp-348- ############################################## dbeacon-0.4.0/.pc/format-security.patch/dbeacon.cpp-361- if (!probeAddr.is_multicast()) dbeacon-0.4.0/.pc/format-security.patch/dbeacon.cpp:362: fatal("Specified probe addr (%s) is not of a multicast group.", dbeacon-0.4.0/.pc/format-security.patch/dbeacon.cpp-363- sessionName); ############################################## dbeacon-0.4.0/.pc/format-security.patch/dbeacon.cpp-418- dbeacon-0.4.0/.pc/format-security.patch/dbeacon.cpp:419: if (bind(mcastSock, beaconUnicastAddr.saddr(), beaconUnicastAddr.addrlen()) != 0) { dbeacon-0.4.0/.pc/format-security.patch/dbeacon.cpp-420- perror("Failed to bind local socket"); ############################################## dbeacon-0.4.0/.pc/format-security.patch/dbeacon.cpp-1388- dbeacon-0.4.0/.pc/format-security.patch/dbeacon.cpp:1389: len = sendto(mcastSock, buffer, len, 0, addr.saddr(), addr.addrlen()); dbeacon-0.4.0/.pc/format-security.patch/dbeacon.cpp-1390- if (len > 0) ############################################## dbeacon-0.4.0/.pc/format-security.patch/dbeacon.cpp-1416- if (type == SSM_REPORT) { dbeacon-0.4.0/.pc/format-security.patch/dbeacon.cpp:1417: if ((res = sendto(mcastSock, buffer, len, 0, ssmProbeAddr.saddr(), ssmProbeAddr.addrlen())) < 0) dbeacon-0.4.0/.pc/format-security.patch/dbeacon.cpp-1418- d_log(LOG_DEBUG, "Failed to send SSM report: %s", strerror(errno)); ############################################## dbeacon-0.4.0/.pc/format-security.patch/dbeacon.cpp-1429- dbeacon-0.4.0/.pc/format-security.patch/dbeacon.cpp:1430: if ((res = sendto(mcastSock, buffer, len, 0, i->saddr(), dbeacon-0.4.0/.pc/format-security.patch/dbeacon.cpp-1431- i->addrlen())) < 0) ############################################## dbeacon-0.4.0/dbeacon.cpp-361- if (!probeAddr.is_multicast()) dbeacon-0.4.0/dbeacon.cpp:362: fatal("Specified probe addr (%s) is not of a multicast group.", dbeacon-0.4.0/dbeacon.cpp-363- sessionName); ############################################## dbeacon-0.4.0/dbeacon.cpp-418- dbeacon-0.4.0/dbeacon.cpp:419: if (bind(mcastSock, beaconUnicastAddr.saddr(), beaconUnicastAddr.addrlen()) != 0) { dbeacon-0.4.0/dbeacon.cpp-420- perror("Failed to bind local socket"); ############################################## dbeacon-0.4.0/dbeacon.cpp-1388- dbeacon-0.4.0/dbeacon.cpp:1389: len = sendto(mcastSock, buffer, len, 0, addr.saddr(), addr.addrlen()); dbeacon-0.4.0/dbeacon.cpp-1390- if (len > 0) ############################################## dbeacon-0.4.0/dbeacon.cpp-1416- if (type == SSM_REPORT) { dbeacon-0.4.0/dbeacon.cpp:1417: if ((res = sendto(mcastSock, buffer, len, 0, ssmProbeAddr.saddr(), ssmProbeAddr.addrlen())) < 0) dbeacon-0.4.0/dbeacon.cpp-1418- d_log(LOG_DEBUG, "Failed to send SSM report: %s", strerror(errno)); ############################################## dbeacon-0.4.0/dbeacon.cpp-1429- dbeacon-0.4.0/dbeacon.cpp:1430: if ((res = sendto(mcastSock, buffer, len, 0, i->saddr(), dbeacon-0.4.0/dbeacon.cpp-1431- i->addrlen())) < 0)