Find Jobs
Hire Freelancers

braa network utility changes to C source code required

$30-250 USD

已完成
已发布大约 13 年前

$30-250 USD

货到付款
Changes required to attached C source code. Braa utility generates concurrent SNMPGET or SNMPWALK to multiple hosts. This utility can take arguments from the file as below # braa -f source_file Source file for the program contain following lines public_t3st@[login to view URL]:.1.3.6.1.2.1.2.2.1.10.3 where - public_t3st is SNMP RO Community string - [login to view URL] destination IP Address - .1.3.6.1.2.1.2.2.1.10.3 - OIDs - IfInOctets : (semicolon) sign is used as a delimiter to separate OID from the rest of the line, so two parts of the line are 1. public_t3st@[login to view URL] 2. .1.3.6.1.2.1.2.2.1.10.3 in part 1 @ sign is used as a delimiter to separate SNMP RO Community string and IP Address into 1. public_t3st 2. [login to view URL] which works fine when there are no @ signs present in SNMP RO String Running braa # braa -f [login to view URL] [login to view URL]:21ms:.1.3.6.1.2.1.2.2.1.10.3:1334984198 Problem: in following SNMP RO community string contains character @ sign is used as one of the characters, as below SNMP RO String: t@aketh@t so the whole line constructed for braa to use should look like below my_t@aketh@t@[login to view URL]:.1.3.6.1.2.1.2.2.1.10.3 braa processes 1st part of the string, which is my_t@aketh@t@[login to view URL] it uses first @ in the string as a delimiter, so two parts become 1. my_r - SNMP RO String 2. aketh@t@[login to view URL] as IP Address this is wrong. Here is what we see when we try to run braa with SNMP RO String which contains @ sign Content of the file # cat [login to view URL] my_t@aketh@t@[login to view URL]:.1.3.6.1.2.1.2.2.1.10.3 Running braa ]# braa -f [login to view URL] Unable to process queries: Invalid IP address: 'aketh@t@[login to view URL]'. (file [login to view URL]) The change is required to the source code so that only the LAST @ sign is used to separate SNMP RO String and IP Address, so proper parts will be as below 1. my_t@aketh@t - SNMP RO String 2. [login to view URL] - IP Address Source code is attached to compile this utility under Linux just run tar xvf [login to view URL] cd braa-0.8_update make the resulting file is called braa, which is the actual executable.
项目 ID: 1002836

关于此项目

1条提案
远程项目
活跃13 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
Let us do the second project.
$100 USD 在5天之内
4.5 (2条评论)
3.0
3.0

关于客户

AUSTRALIA的国旗
Pacific Pines, Australia
5.0
19
付款方式已验证
会员自3月 20, 2011起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。