I'm learning how to use iptables on ubuntu server.
Can you please explain to me what "Allowing Established Sessions" means and why should I include it in rules?
sudo iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
I understand concept of allowing specific ports and blocking others
sudo iptables -A INPUT -p tcp --dport ssh -j ACCEPT
block all
sudo iptables -A INPUT -j DROP
But I don't get the concept of allowing established session.
Thanks.
S.
Apparently, on my notebook, I have suddenly lost any ability to use network connections, involving SSL and/or data encryption, provided my MS:
1) remote desktop connections: Because of an error in data encryption, this session will end
2) browse HTTPS sites: Can't browse HTTPS pages. TLS error
3) communicate over WiFi, while wired is ok
Is there any possible one central reason for all of these problems in Windows? Third party applications, like Putty, works fine.
Is it possible to reset/repair certificate store or something in Windows?
I use FileZilla, and I thought when a session ended, it automatically closed the ftp connection, but that doesn't appear to have happened because now I'm getting a "530 Sorry, the maximum number of connections (10) for your host are already connected." error. Is there a way to find any open ftp connections and close them from my end? Or, do I have to contact the host?
Good morning,
I have a registry key that changes local users Internet Explorer LAN Settings to uncheck the "Automatically detect settings" tickbox.
When I add this policy to the Terminal Servers user group it has no effect. I exported this key from my own registry after unticking the box. My computer runs Windows Vista Business Edition.
Environment: We are using Server 2008 RC2 environment - two terminal servers with a session broker.
Any idea's on how to get this working?
Jenkins(master) is installed on the Linux system and runs automated tests on the node slave (Win-XP) via ssh connection.
But all the GUi tests are failed, when GUI tests are running locally(WINXP system) testst are passed.
I tried tscon.exe 0 /dest:console for forwards the calls to the console but I am getting the error:
Could not connect sessionID 0 to sessionname console, Error code 7045
Error [7045]:The requested session access is denied.
thanks
I switch between three languages input methods frequently, sometimes in the same typing session. The default shortcut on a Macintosh seems to be to set keyboard shortcuts for previous/next language (I hit opt-cmd-space to go to previous language) and if you're more than bi-lingual you have to cycle until you find the one for you.
The ideal would be something like hitting fn-e for English, fn-j for Japanese and fn-g for German, but anything better than the current state would be a great improvement.
Is it possible to configure Google somehow to permanently ban search results from domains that I know 100% are never, ever going to make me happy? Something cookie/session based maybe?
E.g.: I want to ban (permanently, forever and always) results from experts-exchange.com. Every time I click results that take me to their page I just want to scream.
I'd like to use screen to keep ssh sessions alive on my server. It would be nice if I could automatically resume any running session for my user when I log in. The straightforward way to do this would be adding "screen -r" to my .bashrc, and this seems to work fine. I'm just wondering if this will break anything under conditions which I haven't tested yet. Anyone with experience here who can tell me whether this is what I should do?
I was rebooting a remote server (Windows Server 2008 R2 Standard) over remote desktop and the session now shows the blue screen during the shutdown sequence, and the message "Please wait for the System Event Notification Service..."
It seems that everything is still running on the server (for instance, http://jeffhandley.com is still responding), but I need to get the machine to finish the reboot sequence.
How can I force the machine past this point? It's been stuck there for about 30 minutes.
I just submitted a form that included a text box, in which I had written a quite long text. In another textbox, I filled in a date in the wrong format - and instead of getting an error message, the web site just acted as if my form submission was valid, except nothing was saved.
Is there any way to see the history of what has been POST-ed (in the current session, at least), from where I can recover my lost text?
I'm working on a cents 6.3 box and am trying to log all commands executed from a bash shell and came across pam_tty_audit. I've added the appropriate line to my /etc/pam.d/system-auth file: "session required pam_tty_audit.so enable=*"
The problem is that it does not appear to capture commands unless a user is root. For example, if i ssh in as root it logs everything to the audit log, but if I ssh as a regular user it does not start logging anything until after I have su to root.
Any ideas?
I try advice like this that recommends adding the following to your .profile:
function tabname {
printf "\e]1;$1\a"
}
So you can type tabname brokenbox to name your tab. The problem is as soon as I also type ssh [email protected] and log in, it wipes the tab name. I want a tab name that's as persistent as the tab, not the level of session I happen to be in. Is this possible? I don't even know what layer that data lives in.
I was wondering if employee's https session is secure or not. Can IT dept know data transfered through https? Not sure if the router in IT end can act like man in the middle and can decrypt everything then re-encrypt its own keys and send to original destination?
Besides that, what are being monitored by IT generally? Thanks
I have a GhostCast server running for deploying images. I would like to have each ghost cast session to write to a file ( can be multiple text files or append to one file already there ) statistics. I know this is possible based on the options GhostCast software provides for writing to a log file, but I would like this automated for every image being backed up and restored. I don't want to have my employees click write to a new file every time.
Is this possible?
I'm connecting to another computer via RDP. I would like to click on links inside my RDP session and have the links open in a browser on my client computer. It feels like I could install some application on both ends and have them communicate over TCP and proxy the URL opening.
Does something like this exist?
Is there good tool that can do same thing as windows 'mstsc' and also has some features, like
save different session info, so don't need to remember difference IP/ID/pwd. Thanks.
We've a 64bit Windows Server 2008 running Remote Desktop.
The application lsm.exe (the local session manager) appears to be leaking memory. Although the memory usage is quite low when the server is rebooted, this continues to climb until people can no longer log in.
The server has no audio card and does not have any AV software installed.
The server is fully service packed. (Service pack 2)
What could be causing this, and how would I fix it?
This is one of those things that looks like it might have a simple solution but is rather time consuming once you start investigating PyTile, Xnee and the likes.
I know, I should just use a tiling window manager etc., but I suppose it can be done in OpenBox, and I am just hoping somebody already has a working solution.
Ok, so I want to press a key combination while I am in an OpenBox session (Lubuntu LXDE to be more precise) and have my terminal appear below my then resized Chromium window (say ~60% Chromium and ~40% Terminal).
When using vim under screen, some keys are not working.
Namely, Pressing Alt-Left produces '3D'
and Alt-Right produces '3C'
Also, pressing Up/Down when scrolling list of files in Command-T plugin produces 'A' and 'B' respectively.
When I exit the screen and run vim just under ssh session, all works fine.
Are there any settings in screen itself or terminal server/client I can tweak to fix this issue?
Is there good tool that can do same thing as windows 'mstsc' and also has some features, like
save different session info, so don't need to remember difference IP/ID/pwd. Thanks.
I have a PC running Opensuse 11.0 Linux. I currently login using ssh with putty. However this is a command line login. How to do a remote xserver login from windows to run a gnome or kde session. what software should I use?
I have the root password for the Linux PC and admin privileges on vista.
I've inherited a few sys admin tasks recently and am trying to wrap my head around using screen. The way the previous guy left it, there are four screen sessions running, some of which have two or three windows running within.
It doesn't appear that he was using any particular convention, so I ask you: Is it better to have each process in its own screen session, or better to group similar processes into a single screen? Or something different entirely?
So, when user logs in to their workstation, they receive SIDs of groups they are members of, and this is used for the length of the session, until logging off.
Is there a way to refresh membership SIDs information without actually having to log off and log on again? I've added myself to a group, but can't log off without interrupting running process that requires these permissions. Don't want to have to go through these steps again...
I access a lot of files from a certain directory which is not ~ but say:
D:\Mijn documenten\My Dropbox.
What is the quickest way to 'find' a file in that directory within a new Emacs session? Using bookmarks?