Find Jobs
Hire Freelancers

C Linux code

$30-250 USD

Concluído
Publicado há aproximadamente 6 anos

$30-250 USD

Pago na entrega
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 [login to view URL] connects to a server IP address [login to view URL] On the server side I entered the command: netstat |grep -i [login to view URL] tcp 0 0 li598-171.members.l:ssh [login to view URL] ESTABLISHED The C code will need to provide: 1) remote host IP address: [login to view URL] 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.
ID do Projeto: 16561659

Sobre o projeto

2 propostas
Projeto remoto
Ativo há 6 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
$155 USD em 3 dias
4,7 (10 avaliações)
4,1
4,1
2 freelancers estão ofertando em média $182 USD for esse trabalho
Avatar do Usuário
i am interested in your project and i understand it. i can provide the right solution to project problem and requirement will be met asap.
$208 USD em 3 dias
4,0 (1 avaliação)
1,0
1,0

Sobre o cliente

Bandeira do(a) UNITED STATES
New York, United States
5,0
27
Método de pagamento verificado
Membro desde set. 17, 2013

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.