Tag Archives: Linux Server

Can I disable the copy and paste of putty/secureCRT?

By cqlouis

I’m a teacher who teaching computer programming languages.

Generally, I give each student a username in a Linux Server. Then each student use his username to login the Server and program their programming task by putty or secureCRT and so on.

But one fact had bothered me for a long time. Instead of doing programming by themself, some students are proned to copy the source code from anywhere else effortlessly. It’s a cheating, but , as a teacher , I have trouble in avoiding this behavior.

If I can disable the copy and paste of the putty or secureCRT, the cheating of the student is impossible to occur!

Can I take any method to disable the copy and paste?

Anyone can give me a well-proven method?

Thanks!

From: http://www.unix.com/unix-advanced-expert-users/221083-can-i-disable-copy-paste-putty-securecrt.html

Possible to send an email to a Linux Server?

By mrm5102

Hello All,

I was curious if its possible to send an email (in reverse) to a linux server from an email client (like Lotus Notes, Outlook, etc…)?

I know it’s possible to send an email FROM a Linux Server TO a email address, but I tried to just ‘reply’ to the Linux Servers
address that sent it to me but I get a “DELIVERY FAILURE: 550 Host Unknown”? I’ve created quite a few scripts that use
the mail command to send notifications about certain things, like Performance Monitoring data, and stuff like that. But I was
just curious if something like this is possible?

I just figured if you could send emails then maybe you could receive them too…?

Any thoughts would be great!

Thanks in Advance,
Matt

…read more
Source: FULL ARTICLE at The UNIX and Linux Forums

How to establish site to site vpn – Linux machine and cisco asa?

By ashokvpp

Hi,

I am trying to establish vpn between my linux server and cisco asa at client side.

I installed openswan on my cent os.

Linux Server

Code:

eth0 - 182.2.29.10 [ I have public IP]

Gateway - 182.2.29.1 [ and gw]

eth1 - 192.9.200.75 [ Internal Lan i/f]

I have simple IPtables Like
WAN="eth0"
LAN="eth1"
iptables -t nat -A POSTROUTING -o $WAN -j SNAT --to 182.2.29.10

iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -i $LAN -j ACCEPT
iptables -A INPUT -i $WAN -j ACCEPT

iptables -A FORWARD -i lo -j ACCEPT
iptables -A FORWARD -i $LAN -j ACCEPT
iptables -A FORWARD -i $LAN -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -i $WAN -m state --state ESTABLISHED,RELATED -j ACCEPT

iptables -A FORWARD -s 192.9.200.0/255.255.255.0 -j ACCEPT
iptables -A FORWARD -d 192.9.200.0/255.255.255.0 -j ACCEPT

iptables -A OUTPUT -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT


Client side Cisco ASA – Device

Code:

Provided details :

BD gateway ip is 212.2.7.15 [ Public IP]
Source IP :- 192.168.91.224
ESP-3DES-SHA1
Lifetime is 86400 seconds (Phase-1) & 3600 seconds (Phase-2)
Authentication is pre-shared


I need advise on configuring ipsec.conf and ipsec.secrets and what IP tables rules I need to add / modify.

Thanks

Best
Ashok

Source: FULL ARTICLE at The UNIX and Linux Forums