General :: Allow Telnet From One Ip Segment?

Mar 8, 2010

I want to allow only ip segment(212.154.75.0/24) to telnet the server(RHEL-7.3).How this can be done using iptables?In the server i gave this command:

# iptables -I FORWARD -s 212.154.75.0/24 -p tcp --dport 23 -j ACCEPT
output is
0 0 ACCEPT tcp -- * * 212.154.75.0/24 0.0.0.0/0 tcp

[code]....

View 3 Replies


ADVERTISEMENT

General :: Control The Segment Selector Assigned To A Section?

May 30, 2010

I see from dumping executables that seg selector 0x10 is assigned to my stack segment and to my data segments (.bss .data COMMON). The code is using 0x08. My question - how can I control this? I've looked at all the command line options and don't see it. I have a different program that uses 0x10 for code and 0x18 for data. I note that the second program has i386 in the architecture field in the linker script, whereas the first one referenced has i686. Is this what causes the difference? I understand that this architecture field triggers something regarding a library named BFD - is this where I should look? If so, where do I find it? I am runnig fedora. Is there a way to control the association of sections in the linker script with segment registers? I can set up segments in the gdt and can asign them to segment registers. I can - when writing in assembler - assign code to a section. I can relate a segment in the gdt with a register.But I dont see how to tell the section which segment register it is associated with Finally I see that the gcc compiler decides - based on how I initialize a variable - whether to put it into bss or data or COMMON. Do I have any control over this?

View 1 Replies View Related

Networking :: Difference Between Krb5-telnet And Ekrb5-telnet

Feb 18, 2010

I am trying to find the difference between the above two services. Both are under xinetd and can someone please explain the difference between them (is one more secure than the other one?)

View 1 Replies View Related

Networking :: Squid With Multiple IP Segment?

Jan 13, 2011

I've setup Squid - DHCP - Transparent Proxy with the following
eth0 = connected to internet
eth1 = connected to lan. (192.168.1.1)

[code]....

View 5 Replies View Related

Red Hat :: Yum Failed To Map Segment From Shared Object?

Apr 13, 2010

I've got a redhat 5.5 machine which is supposedly up-to-date according to RHN. When I try to do anything with yum, I get the following error:

Code:
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

[code]...

View 4 Replies View Related

Server :: Two RHEL 5.4 Clusters On Same Network Segment?

Jul 23, 2011

Two years ago, I have set up two node Active-passive cluster on VSphere 4.0 and it is in production ever since.

I've tried to setup another cluster for testing purposes on the same VSphere, and failed. And what is interesting is that those new two nodes came up with cluster.conf of the production cluster, even though I did not try to bring them in the existing production cluster. I googled a bit and found something stating that two different clusters might behave strane if on the same network segment. Question is, did anyone try to create two different clusters on the same hardware, or on the same network VLAN?

I will do some more digging after weekend, and get back to you.

View 1 Replies View Related

Ubuntu :: Grub2 Win 7 Error - Reloc Offset Out Of Segment

Mar 15, 2010

I am dualbooting Karmic, windows 7, and fedora. When I boot, Grub2 will boot everything but Windows 7. Instead it says:
Code:
reloc offset is out of the segment
abort.

I've tried reinstalling and updating grub2 and I also tried grub. It wasn't a problem until I put Lucid on a 4th partition that's always been there. I let lucid install grub2 and after that windows didn't work, but I got the same error when I reinstalled it from karmic. I got a different error from grub (that I don't remember), but I wasn't positive about the configuration so that may have been my fault.

View 1 Replies View Related

Ubuntu Installation :: 10.10 - ATI Xpress 200 Driver (Segment Fault)

Nov 10, 2010

Ok before anyone tells me to use the open source drivers. Did that and the 3d was messed up. Wine + eve online = fail. This is where this adventure began.

lspci | grep VGA
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon XPRESS 200M 5955 (PCIE)
System:
HP Dv5130ca AMD Turion 64
Glxgears:
Segment fault

ATI Proprietary Linux Driver-8.30.3 from the documentation seems to support this card. But no make install package for 10.10
ATI Proprietary Linux Driver-10.9-x86_64 fails on sudo ./
Error: ./default_policy.sh does not support version
default:v286_64:lib32::none:2.6.35-22-generic:; make sure that the version is being
correctly set by --iscurrentdistro .....

View 3 Replies View Related

Programming :: Shell Script To Read A Certain Segment Of A Text File?

Jun 15, 2010

I have a text file that looks sort of like this:

Code:
blah blah blah
tons of unimportant stuff we don't care about

[code]...

View 3 Replies View Related

Ubuntu Installation :: MBR With Vista - 'segment Offset Error' With The Boot Loader

Jan 10, 2011

I have had a strange experience in upgrading to Ubuntu 10.10 on a Dell Inspiron 1545 also running Vista. I was upgrading from a Ubuntu 8.04 that I thought would be worth reporting/sharing in case others have had a similar experience. last week I upgraded to Ubuntu 10.10 using the live cd. Everything seems have gone smoothly. I could log in and out of ubuntu. After logging into Vista and logging out, the next time I tried to start the machine, there was a 'segment offset error' with the boot loader and there was no way of rebooting into anything except to use the Ubuntu live CD and go to a terminal and reinstall the bootloader. The same thing happened after logging in to Vista- this seemed to mess with the boot loader. Logging in first time was not a problem.

Yesterday I started again, wiped out 10.10 and re-installed ubuntu but version 10.04. Logging in and out of Vista is so far ok and I have not had any problems. I do not have an obvious logical explanation to the sequence of events unless there is a problem with the boot loader in version 10.10.

View 1 Replies View Related

Programming :: Find Out - How To Detach And Delete Shared Memory Segment When Hit Crtl-C

Mar 4, 2011

I have a program that creates and uses a shared memory segment. I am trying to find out how to detach and delete this shared memory segment when I hit crtl-C, and I still need the process to terminate.shmdt() and shmctl() have variables that are local to the main passed to them(shared and shmid)

Code:
//Prototype
void leave(int sig);
//part of code trying to use signal handling
if(signal(SIGINT, leave))

[Code]...

View 3 Replies View Related

General :: Can Ssh Into Ubuntu But Cannot Telnet

Aug 21, 2010

i set up a MAC power pc with ubuntu. i can ssh into it, but i cannot telnet. this is what i get when i telnet to the host i can only telnet to port 80

[Code]....

View 2 Replies View Related

Programming :: Save / Load Data Segment Of Dynamically Loaded Shared Object Library?

Aug 25, 2010

Our application uses a dynamically loaded shared object library (codec library) to compress and decompress audio streams.

There happens to be several static and global variables in this shared object library. Hence it is not possible to process two interleaved unrelated media streams using this shared object codec library because each stream corrupts/changes the contents of these static/global variables.

Is there a way through which a context save (save contents of data segment of shared object) and a context load (load previously saved contents of data segment of shared object)operation can be performed on the shared object library. This way the context for each media stream can be saved and loaded before and after processing the "other" media stream respectively.

View 3 Replies View Related

General :: Compiling Telnet Client?

Apr 26, 2010

i have a telnet client src rpm. I need to make some changes in the src and recompile it. i am having problems recompiling src rpm

View 5 Replies View Related

General :: Connect To Telnet To Server

Mar 24, 2010

I would like to make a telnet connection to one server. I can't do this at first beceause i necesary to connect to another server. I use the program putty and this is the command to connect to my first machine:

[Code]....

View 2 Replies View Related

General :: Setup/enabled Telnet Only For Particular Dir?

Oct 11, 2010

how do I setup/enabled telnet access only for particular directory, when any user log-in on to my server, he gets something like below pattern on to remote server, and only login to specified directory, also he need to run few bash commands.

[ravi@mydomain00 ~]$ telnet mydomain.com
Trying 127.0.0.1...
Connected to mydomain.com (127.0.0.1).
Escape character is '^]'.

[Code]....

View 1 Replies View Related

General :: Install Telnet In Fedora 8?

Mar 9, 2010

I need to make a test on Fedora 8, with a Telnet... and seems NOT to beenabled.The package is installed, but if I have a look into /etc/xinedtd thereis no TELNET file ?Is there any changes into FEDORA 8 ? How to I configure Telner in Fedora 8 ?

View 6 Replies View Related

General :: Need To Open Telnet Port

May 6, 2011

I am trying to open the telnet port on my system with port 4100 and for the same i have inserted the entries in iptables file using below command./sbin/iptables -A INPUT -s 132.186.208.83/24 -p tcp �-dport 4100 -j ACCEPT.

View 1 Replies View Related

General :: Unable To Login Using Telnet?

Sep 8, 2010

I was just checking the configuration file of /etc/xinetd.d/krb5-telnet and i thought of enabling the telnet.I modified the configuration file accordingly and restarted the server.

Code:
# cat /etc/xinetd.d/krb5-telnet
# default: off

[code]...

View 2 Replies View Related

General :: Telnet 192.168.0.4 1000 Failed?

Jul 20, 2010

I have a temlnet problem -telnet 192.168.0.4 1004 failed.

At 192.168.0.2, "telnet 192.168.0.4" make connection successfully at port 23, however "telnet 192.168.0.4 1000" does not make connection at port 1000.

View 5 Replies View Related

General :: Unable To Do Telnet On Centos 5.5

Apr 6, 2011

i am on CentOS 5.5 ,and unable to do the Telnet. SElinux is in Permissive mode and firewall is off. below are the details for the help. i tried it before and after disabling the firewall and SELinux.

[Code].....

View 14 Replies View Related

General :: Telnet Not Working For Localhost?

Apr 14, 2011

I've tried searching for this peculiar behavior, but couldn't find a solution that works for it - I have installed Redhat on my system and have a listener running on port 7878. I wanted to check if the port is accessible from a machine on the network, and so i telnet-ed from a remote machine and it worked. Now comes the weird problem - I used the same command (telnet xxx.xxx.xxx.xxx 7878) locally and it was able to telnet. However, if I try to connect using localhost, meaning, "telnet localhost 7878" or "telnet 127.0.0.1 7878", it gives me the following error:

Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused

Here is my /etc/hosts entry:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6

[Code]....

Not sure where the problem is. I expect telnet to connect irrespective of whether i use the IP address OR localhost when i use telnet locally.

View 5 Replies View Related

General :: Not Able To Connect System Pc Via Telnet / Why Is So?

May 10, 2010

How to eneble telnet in linux based os?

I'd tried this command:

telnet my pc ip & name

View 3 Replies View Related

General :: Configure A Command To Run On Login Through Telnet?

Feb 9, 2010

I want to run a command every time I log in to my Ubuntu box, but only if I'm connecting through telnet, not if I'm logging in at the console.

View 1 Replies View Related

General :: Automated Telnet For Testing Servers

Aug 20, 2009

So I have a script that is supposed to check to see if a mail server is up and responsive. What I want to know is how I can send it the telnet escape character. I've tried:VAR=`(sleep 5;echo quit) | (telnet mailserver.timbuktu.net 25 2>&- )`

This works BUT there is a problem as the mail server may have been accidentally firewalled off. If this happens, my automated checking script will hang. What I want to do is send the escape character so that the '>' prompt comes up. They I should be able to send it "quit" even if it is hung on not getting a response from the server. VAR=`(sleep 5;echo -e '^]';sleep 1;echo quit) | (telnet arhqmg01.usarec.army.mil 25 2>&- )`

The above doesn't work. telnet interprets CTRL+] as '^]' but you can't type '^]' and get the same effect. So I guess what I need is to send the actual keystrokes. Like echo "somenumber" ; echo quit

View 4 Replies View Related

General :: Disable Telnet And Ssh For A Specific User?

Nov 12, 2010

I am looking for a way to deny telnet and ssh to one specific user. So far I've only tested with telnet and my attempts have been limited to various hosts.deny entries:

in.telnetd : user@server
in.telnetd : user@server.domain.com
in.telnetd : user@IP_address
in.telnetd : user@.domain.com

None of these work. The only thing I've found that does work is:in.telnetd : IP_addressBut this is only a semi-viable solution because we will soon have multiple logins for the one username from different servers and sub-nets. Ideally, I'd like to be able to deny telnet and ssh access to this username regardless of where the login originates. I suppose it would be possible to specify each server IP, but that'll be a bear to maintain

View 7 Replies View Related

General :: Disable Telnet Command From Client End?

Jul 20, 2011

From Linux client end I can easily telnet to a remote Linux server easily , Like :

[root@apps1 ~]# telnet 192.168.1.14
Trying 192.168.1.14...
Connected to 192.168.1.14 (192.168.1.14).
Escape character is '^]'.
catalog.aibl.com (Linux release 2.6.18-8.el5 #1 SMP Tue Jun 5 23:25:19 EDT 2007) (1)
login:

But I want to disable the "telnet" command from the client end , so that I cannot telnet to a remote linux server from the Linux client end

View 7 Replies View Related

General :: Enable Root Telnet On SLES 11?

Oct 13, 2010

I have a task I need to enable root telnet on SLES 11.I know about security hole, it is a must requirement accordingly to executing some scripts.Telnet works for the other user , but not for rootSSH work properly.Added pts/0 .. pts/24 to the /etc/securetty

View 5 Replies View Related

General :: Telnet External IP Connection Refused

May 23, 2011

I have CENTOS 5.4 Installed in one machine and i used Real IP provided by our ISP.My requirements for Mailserver are:

Dovecot
Postfix

everythings done but when i tried to telnet my External IP it giving me an error of telnet connection refused but i can able to ssh to my external IP and also i disabled the firewall but still no luck.

View 12 Replies View Related

General :: Telnet Ipaddress Port Not Connecting?

Nov 11, 2009

In a remote machine port 25 is open its enabled in firewall also...but not able to connect through telnet..why ?

netstat -an | grep 25

Code:

tcp 0 0 0.0.0.0:44525 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN

[code]....

Code:

telnet 172.17.65.206 25
Trying 172.17.65.206...

telnet: connect to address 172.17.65.206: No route to host

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved