telnetd accepts only one connection [closed] - unix

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have got telnet server running on a bsd target. I want to connect to this target from multiple other machines. Surprisingly it does not allow more connections.
I checked why and found it is not listening(listen) in a loop. So, I kinda fixed it. But I was wondering is there any specific reason why telnetd code is kept with single connection at a time? (I am allowed to connect to telnetd server from only one client for a particular port.)
(I know telnet is not a safe option. But I am having just fun on small embedded platform and getting things working is more imp than security at this moment.)
Thanks

Telnet is supposed to be launched by inetd. You need to configure inetd to do the listening for you.
The wikipedia article that I linked to explains how to do that.

Related

"who" on CentOS does not show WinSCP clients [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I use CentOS 7 with Apache server. The problem who command does not show clients connected with WinSCP. Can't understand why.
The problem who command does not show clients connected with WinSCP. Can't understand why.
Apparently, then, you are operating from a false premise. The who command does not promise to name everyone interacting with the system in any way whatever. Roughly speaking, who tells you about users who have an associated terminal, whether physical or virtual. Connecting via an scp client does not establish a login session or allocate a terminal for who to report on.
Contrast users who connect via ssh clients: these do get a terminal assigned to them, and they do show up in the output of a suitably-timed who command.

Finding a specific computer from an IP address on a network [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm having trouble with my network at work.
We have a LOT of computers on our network and one of them is causing me problems.
I'm rendering from 3ds Max via Backburner and I can see that there is a another manager distributing jobs.
I can see the IP adress of the computer (198.162.1.61), I just don't know where it is or what it's called.
Is there any way to get a specefic computers information if I only know its IP address?
Consult the ARP table. Then you'll get the MAC address, this you can match with the vendor via:
http://www.adminsub.net/mac-address-finder
command:
arp -a
use the following command to see the name of the computer:
nbtstat –a <ipaddress>
if you are lucky, you can also gather information via scans (ex program: autoscan, nmap, ...)

How to disable encryption on local xmpp network [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I want to see plain xml text of xmpp messages content for developing , debugging ,etc
so I've installed 'ejabberd' as xmpp server and 'empathy' as xmpp client.(i track packets with wireshark)
i think it should be done by changing configuration in xmpp server , but i don't know how ?!
I would like someone to guide me through disabling encryption and see xmpp request in plain text form in wireshark.
Thanks in advance!
In ejabberd.cfg, in the listen section, look for configurations for ejabberd_c2s.
Comment out the lines specifying the the certificate and starttls support.
Without starttls, no encryption will be offered (you might need to confirm on your client that you want to connect without encryption as some clients prevents that by default).

Programatically change ip address of DSL connection [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm working on a project for my company. I'm using a DSL connection. My IP address changes every time I restart my router. Is there a faster way to request a new IP from my ISP programatically? I've seen that RDSL services can change the IP in a few seconds, but I'm looking for a more "legal" way to do this other than RDSL.
Thank you!
Does your router have firmware you can browse to? There may be a link to reboot your router (or even release/renew your IP lease) there. You can set up a cron job to call cURL to access that URL every so often. You might also have to authenticate in order to do that, but cURL should handle that.
If you're on a system that does not have cURL or cron, you may have equivalents, but they're pretty simple programs and you should be able to find them for any popular OS.

Is there a way I can replicate http traffic to a redundant server? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I will be moving a high load prod system over to new hardware over the next few weeks. However in the mean time I would like to validate that the new hardware will handle the expected loads. I would really like to stick some kind of 'proxy' infront of the current web server and copy all that http traffic to the new environment, i.e. run them both in parallel.
Ideally this proxy would also validate that the responses are the same.
I can then monitor the new hardware stats (cpu, mem, etc) and see if it looks ok.
What is this kind of proxy called? Any one have any suggestions? This is for a Windows .Net (asp.net) and SQL server environment.
Thanks all
Varnish comes to mind - https://www.varnish-cache.org/
Edit
I'd actually use nginx... (two years experience after answering this question).. varnish would be silly to use. nginx would definitely be the better option.
Have a look a JMeter. It's Java based but allows you to record user journeys and play them back in bulk for stress testing.

Resources