Completed

C for Linux

Only experienced developer please!!

We need a stable way of determining the:

1) remote hosts public IP address of a linux login session, if the session is indeed initiated remotely (ssh/telnet).

2) the TCP port of the destination public ip address;

The C code:

A) must deliver the same public IP address AND the destination TCP port even across sub-sessions like sudo/su/pbrun.

B) must be in the form of a C function or a set of utility functions written in C.

C) must be portable between different linux distributions.

Example: A user using public IP [url removed, login to view] connects to a server IP address [url removed, login to view]

On the server side I entered the command: netstat |grep -i [url removed, login to view]

tcp 0 0 li598-171.members.l:ssh [url removed, login to view] ESTABLISHED

The C code will need to provide: 1) remote host IP address: [url removed, login to view] and 2) the TCP port is 54205

To my understanding it is not possible to run netstat or ss because you can only see process groups you own.

Most important:: I want to tell you that we managed to get via ssh the public IP, but not the TCP port. Via Sudo we got the TCP port, but not the public IP

Skills: C Programming, C++ Programming, Linux, Shell Script, UNIX

See more: how to write c program in linux terminal, c programs in linux with examples, c programming in linux pdf, how to compile c program in linux using gcc, how to run c program in linux terminal, c programming in linux book, c programming in linux tutorial, c++ linux tutorial, freelance c linux, cv freelance c linux marseille, c++ linux qt freelance, c++ linux freelance, c c++ c# linux programming tools and utilities, any frelance projects on c++ linux in usa, c linux freelance, we are a real estate company based in istanbul and we are only working on residences sales and renting, c++ linux, c linux, c c++ linux, c c linux

About the Employer:
( 41 reviews ) CHITTAGONG, Bangladesh

Project ID: #16564604

Awarded to:

mido0258

Hi I am linux kernel developer, So I may help you with your issue. I think that bash script could be good enough, but C code is okay too. Please pm me of interested

$66 CAD in 10 days
(0 Reviews)
0.0

3 freelancers are bidding on average $66 for this job

hungbeo

Hi, I can do it. Please send me more detail info. Let me know your skype id or whatapps, we will discuss more detail. Regards, --Hung

$66 CAD in 10 days
(0 Reviews)
0.0
sasi85

An analytical senior-level software developer in C/C++ technologies posses 4 year hands on experience. Skilled in requirements analysis and project documentation. Able to communicate effectively with both technical a More

$66 CAD in 10 days
(0 Reviews)
0.0