Browsing sigur folosind tunneling via SSH

Pe langa asigurarea unei conexiuni sigure cu o masina ce ruleaza UNIX via SSH se mai poate redirectiona tot traficul web folosind tunneling.

Pentru acest lucru avem nevoie de un client SSH (Putty).
In sectiunea Session specificam adresa serverului SSH, selectam SSH pentru tipul cnexiunii si introducem portul 22(sau orice alt port extern folositi pentru conexiunea SSH).

Apoi Connection->SSH->Tunnels

Pentru un server cu ip real selectam Dynamic, port-ul poate fi arbitrar insa pentru ca portul 1080 este de obicei folosit pentru SOCKS ar fi indicat sa il folosim. Introducem 1080 in campul Source port, selectam Dynamic ca tip apoi click pe butonul Add.

Reveniti la sectiunea Session si salvati conexiunea apoi conectati-va la masina Unix normal, nu sunt necesare drepturi de root.

Nu ramane decat sa configuram browserul. Pentru Firefox navigati la Options -> Advanced ->Network -> Settings
Alegeti Manual proxy configuration, la SOCKS Host introduceti localhost si port 1080.


Pentru a configura Firefox sa trimita cereri DNS catre proxy SOCKS introduceti about:config in bara de navigatie, filtrati optiunile cu socks_remote_dns, setati network.proxy.socks_remote_dns pe true.

Surfing placut !

Sursa: http://www.makeuseof.com/tag/how-to-tunnel-traffic-with-ssh/





UNIX Kernel tuning


/etc/security/limits.conf

* hard nproc 128 - limiteaza utilizatorii la max 128 procese
* hard core 0 - limiteaza core dump file la 0


/etc/sysctl.conf 

send_redirects 0 - opreste trimiterea de ICMP redirects, previne denial of service
accept_redirects 0 - opreste primirea de receipts pentru ICMP redirects 

accept_source_route 0 - opreste receipt pentru pachete ,previne atacul prin folosirea source routing option

tcp_max_syn_backlog - 2048(sau un numar cat mai mare), previne flood prin pachete TCP SYN 
tcp_synack_retries - verificare pentru a reseta conexiunile care stau in queue


Scurtaturi generale browser

Scurtaturi generale browser

Ctrl+N    Open a new window
Ctrl+T    Open a new tab
Ctrl+W    Close the current window/tab
Ctrl+R    Refresh
Esc    Stop
Alt+‹    Back
Alt+›    Forward
Alt+Home    Go to your homepage
Alt+D    Move focus to the address bar to type in a URL
Ctrl+Enter    Add "http://www." and ".com" around an address
MiddleClick    Middle-clicking a tab will close it, even if it's not the active tab

Scurtaturi Firefox

Ctrl+T    Open a new tab
Ctrl+W    Close the current window or tab
Ctrl+Shift+T    Undo close tab (re-open the last closed tab)
Ctrl+Tab    Switch to the next tab
Ctrl+Shift+Tab    Switch to the previous tab
Ctrl+[0-9]    Switch to the 1st, 2nd, 3rd, 4th, etc. tab
/    Open the "Find Text As You Type" widget (bottom of screen)
'    Open the "Find Links As You Type" widget (bottom of screen)
Ctrl+G    Find the next occurrence of a search phrase
Ctrl+Shift+G    Find the previous occurrence of a search phrase
Ctrl+K    Move cursor to the Web Search widget (top right of screen)

Scurtaturi Chrome

Windows keyboard shortcuts

Tab and window shortcuts

Ctrl+N Opens a new window.
Ctrl+T Opens a new tab.
Ctrl+Shift+N Opens a new window in incognito mode.
Press Ctrl+O, then select file. Opens a file from your computer in Google Chrome.
Press Ctrl and click a link. Or click a link with your middle mouse button (or mousewheel). Opens the link in a new tab in the background .
Press Ctrl+Shift and click a link. Or press Shift and click a link with your middle mouse button (or mousewheel). Opens the link in a new tab and switches to the newly opened tab.
Press Shift and click a link. Opens the link in a new window.
Ctrl+Shift+T Reopens the last tab you've closed. Google Chrome remembers the last 10 tabs you've closed.
Drag a link to a tab. Opens the link in the tab.
Drag a link to a blank area on the tab strip. Opens the link in a new tab.
Drag a tab out of the tab strip. Opens the tab in a new window.
Drag a tab out of the tab strip and into an existing window. Opens the tab in the existing window.
Press Esc while dragging a tab. Returns the tab to its original position.
Ctrl+1 through Ctrl+8 Switches to the tab at the specified position number on the tab strip.
Ctrl+9 Switches to the last tab.
Ctrl+Tab or Ctrl+PgDown Switches to the next tab.
Ctrl+Shift+Tab or Ctrl+PgUp Switches to the previous tab.
Alt+F4 Closes the current window.
Ctrl+W or Ctrl+F4 Closes the current tab or pop-up.
Click a tab with your middle mouse button (or mousewheel). Closes the tab you clicked.
Right-click, or click and hold either the Back or Forward arrow in the browser toolbar. Displays your browsing history in the tab.
Press Backspace, or Alt and the left arrow together. Goes to the previous page in your browsing history for the tab.
Press Shift+Backspace, or Alt and the right arrow together. Goes to the next page in your browsing history for the tab.
Press Ctrl and click either the Back arrow, Forward arrow, or Go button in the toolbar. Or click either button with your middle mouse button (or mousewheel). Opens the button destination in a new tab in the background.
Double-click the blank area on the tab strip. Maximizes or minimizes the window.
Alt+Home Opens your homepage in your current window.

Google Chrome feature shortcuts

Alt+F or Alt+E Opens the wrench menu, which lets you customize and control settings in Google Chrome.
Ctrl+Shift+B Toggles the bookmarks bar on and off.
Ctrl+H Opens the History page.
Ctrl+J Opens the Downloads page.
Shift+Esc Opens the Task Manager.
Shift+Alt+T Sets focus on the first tool in the browser toolbar. You can then use the following shortcuts to move around in the toolbar:
  • Press Tab, Shift+Tab, Home, End, right arrow, and left arrow to move focus to different items in the toolbar.
  • Press Space or Enter to activate toolbar buttons, including page actions and browser actions.
  • Press Shift+F10 to bring up any associated context menu (e.g. browsing history for the Back button).
  • Press Esc to return focus from the toolbar back to the page.
F6 or Shift+F6 Switches focus to the next keyboard-accessible pane. Panes include:
  • Highlights the URL in the address bar
  • Bookmarks bar (if visible)
  • The main web content (including any infobars)
  • Downloads bar (if visible)
Ctrl+Shift+J Opens Developer Tools.
Ctrl+Shift+Delete Opens the Clear Browsing Data dialog.
F1 Opens the Help Center in a new tab (our favorite).
Ctrl+Shift+M Switch between multiple users.

Address bar shortcuts

Use the following shortcuts in the address bar:
Type a search term, then press Enter. Performs a search using your default search engine.
Type a search engine keyword, press Space, type a search term, and press Enter. Performs a search using the search engine associated with the keyword.
Begin typing a search engine URL, press Tab when prompted, type a search term, and press Enter. Performs a search using the search engine associated with the URL.
Ctrl+Enter Adds www. and .com to your input in the address bar and open the resulting URL.
Type a URL, then press Alt+Enter. Opens the URL in a new tab.
Ctrl+L or Alt+D Highlights the URL.
Ctrl+K or Ctrl+E Places a '?' in the address bar. Type a search term after the question mark to perform a search using your default search engine.
Press Ctrl and the left arrow together. Moves your cursor to the preceding key term in the address bar
Press Ctrl and the right arrow together. Moves your cursor to the next key term in the address bar
Ctrl+Backspace Deletes the key term that precedes your cursor in the address bar
Select an entry in the address bar drop-down menu with your keyboard arrows, then press Shift+Delete. Deletes the entry from your browsing history, if possible.
Click an entry in the address bar drop-down menu with your middle mouse button (or mousewheel). Opens the entry in a new tab in the background.
Press Page Up or Page Down when the address bar drop-down menu is visible. Selects the first or last entry in the drop-down menu.

Webpage shortcuts

Ctrl+P Prints your current page.
Ctrl+S Saves your current page.
F5 or Ctrl+R Reloads your current page.
Esc Stops the loading of your current page.
Ctrl+F Opens the find bar.
Ctrl+G or F3 Finds the next match for your input in the find bar.
Ctrl+Shift+G, Shift+F3, or Shift+Enter Finds the previous match for your input in the find bar.
Click the middle mouse button (or mousewheel). Activates auto-scrolling. As you move your mouse, the page automatically scrolls according to the direction of the mouse.
Ctrl+F5 or Shift+F5 Reloads your current page, ignoring cached content.
Press Alt and click a link. Downloads the target of the link.
Ctrl+U Opens the source of your current page.
Drag a link to bookmarks bar Saves the link as a bookmark.
Ctrl+D Saves your current webpage as a bookmark.
Ctrl+Shift+D Saves all open pages as bookmarks in a new folder.
F11 Opens your page in full-screen mode. Press F11 again to exit full-screen.
Ctrl and +, or press Ctrl and scroll your mousewheel up. Enlarges everything on the page.
Ctrl and -, or press Ctrl and scroll your mousewheel down. Makes everything on the page smaller.
Ctrl+0 Returns everything on the page to normal size.
Space bar Scrolls down the web page.
Home Goes to the top of the page.
End Goes to the bottom of the page.
Press Shift and scroll your mousewheel. Scrolls horizontally on the page.

Text shortcuts

Ctrl+C Copies highlighted content to the clipboard.
Ctrl+V or Shift+Insert Pastes content from the clipboard.
Ctrl+Shift+V Paste content from the clipboard without formatting.
Ctrl+X or Shift+Delete Deletes the highlighted content and copies it to the clipboard.


Scurtaturi Corel Draw

Scurtaturi Corel Draw

Align Bottom  B  Aligns selected objects to the bottom
Align Centers Horizontally  E  Horizontally aligns the centers of the selected objects
Align Centers Vertically  C  Vertically aligns the centers of the selected objects
Align Left  L Aligns selected objects to the left
Align Right  R  Aligns selected objects to the right
Align To Baseline Alt+F12  Aligns text to the baseline
Align Top  T  Aligns selected objects to the top
Artistic Media  I  Draws curves and applies Preset, Brush, Spray, Calligraphic or Pressure Sensitive effe
Back One  Ctrl+PgDn  Back One
Break Apart  Ctrl+K Breaks apart the selected object
Brightness/Contrast/Intensity Ctrl+B  Brightness/Contrast/Intensity... 
Bring up Property Bar  Ctrl+Enter  Brings up the Property Bar and gives focus to the first visible item that can be tabbed to
Center to Page  P  Aligns the centers of the selected objects to page
Character Formatting  Ctrl+T  Character Formatting
Color Balance...  Ctrl+Shift+B  Color Balance
Combine  Ctrl+L  Combines the selected objects
Contour  Ctrl+F9  Opens the Contour Docker Window
Convert  Ctrl+F8  Converts artistic text to paragraph text or vice versa
Convert Outline To Object  Ctrl+Shift+Q  Converts an outline to an object
Convert To Curves  Ctrl+Q  Converts the selected object to a curve
Copy  Ctrl+C  Copies the selection and places it on the Clipboard
Copy   Ctrl+Insert Copies the selection and places it on the Clipboard
Cut  Ctrl+X  Cuts the selection and places it on the Clipboard
Cut  Shift+Delete  Cuts the selection and places it on the Clipboard
Delete   Delete Deletes the selected object(s)
Distribute Bottom  Shift+B  Distributes selected objects to the bottom
Distribute Centers Horizontally  Shift+E  Horizontally Distributes the centers of the selected objects
Distribute Centers Vertically  Shift+C  Vertically Distributes the centers of the selected objects
Distribute Left Shift+L  Distributes selected objects to the left
Distribute Right  Shift+R Distributes selected objects to the right
Distribute Spacing Horizontally   Shift+P Horizontally Distributes the space between the selected
Distribute Spacing Vertically  Shift+A  Vertically Distributes the space between the selected objects
Distribute Top  Shift+T  Distributes selected objects to the top
Duplicate  Ctrl+D  Duplicates the selected object(s) and offsets by a specified amount
Duplicate In Place  +  Duplicates the selected object(s) at their current location
Dynamic Guides  Alt+Shift+D  Shows or hides the Dynamic Guides (toggle)
Edit Text...  Ctrl+Shift+T  Opens the Edit Text dialog box
Ellipse  F7  Draws ellipses and circles; double-clicking the tool opens the Toolbox tab of the Option
Envelope  Ctrl+F7  Opens the Envelope Docker Window
Eraser  X  Erases part of a graphic or splits an object into two closed paths
Exit   Alt+F4 Exits CorelDRAW and prompts to save the active drawing
Export...  Ctrl+E  Exports text or objects to another format
Font Size Decrease  Ctrl+NUMPAD2  Decreases font size to previous point size
Font Size Increase   Ctrl+NUMPAD8 Increases font size to next point size
Font Size Next Combo Size  Ctrl+NUMPAD6  Increase font size to next setting in Font Size List
Font Size Previous Combo Size  Ctrl+NUMPAD4  Decrease font size to previous setting available in the Font Size List
Forward One  Ctrl+PgUp  Forward One
Fountain Fill...  F11  Applies fountain fills to objects
Freehand  F5  Draws lines and curves in Freehand mode
Full-Screen Preview  F9  Displays a full-screen preview of the drawing
Graph Paper  D  Draws a group of rectangles; double-clicking opens the Toolbox tab of the Options dial
Graphic and Text Styles  Ctrl+F5  Opens the Graphic and Text Styles Docker Window
Group  Ctrl+G  Groups the selected objects
Hand  H  Hand Tool
Horizontal Text C Ctrl+,  Changes the text to horizontal direction
Hue/Saturation/Lightness...  Ctrl+Shift+U  Hue/Saturation/Lightness
Import...  Ctrl+I  Imports text or objects
Insert Symbol Character  Ctrl+F11  Opens the Insert Character Docker Window
Interactive Fill  G  Adds a fill to object(s); clicking and dragging on object(s) applies a fountain fill
Lens  Alt+F3  Opens the Lens Docker Window
Linear  Alt+F2  Contains functions for assigning attributes to linear dimension lines
Macro Editor...  Alt+F11  Macro Editor...
Mesh Fill  M  Converts an object to a Mesh Fill object
Micro Nudge Down   Ctrl+DnArrow Nudges the object downward by the Micro Nudge factor
Micro Nudge Left   Ctrl+LeftArrow Nudges the object to the left by the Micro Nudge factor
Micro Nudge Right   Ctrl+RightArrow Nudges the object to the right by the Micro Nudge factor
Micro Nudge Up  Ctrl+UpArrow  Nudges the object upward by the Micro Nudge factor
Navigator  N  Brings up the Navigator window allowing you to navigate to any object in the document
New  Ctrl+N  Creates a new drawing
Next Page  PgDn Goes to the next page
Nudge Down  DnArrow  Nudges the object downward
Nudge Left  LeftArrow  Nudges the object to the left
Nudge Right   RightArrow Nudges the object to the right
Nudge Up   UpArrow Nudges the object upw
Open...  Ctrl+O  Opens an existing drawing
Options...  Ctrl+J  Opens the dialog for setting CorelDRAW options
Outline Color...  Shift+F12  Opens the Outline Color dialog box
Outline Pen...  F12  Opens the Outline Pen dialog box
Pan Down  Alt+DnArrow Pan Down 
Pan Left  Alt+LeftArrow Pan Left 
Pan Right  Alt+RightArrow Pan Right 
Pan Up  Alt+UpArrow Pan Up 
Paste  Ctrl+V  Pastes the Clipboard contents into the drawing
Paste  Shift+Insert  Pastes the Clipboard contents into the drawing
Place Inside Container...  Ctrl+1  Places selected object(s) into a PowerClip container object
Polygon  Y  Draws polygons
Position  Alt+F7 Opens the Position Docker Window
Previous Page  PgUp Goes to the previous page
Print...  Ctrl+P  Prints the active drawing
Properties  Alt+Enter  Allows the properties of an object to be viewed and edited
Record Temporary Macro  Ctrl+Shift+R Record Temporary Macro
Rectangle  F6  Draws rectangles; double-clicking the tool creates a page frame
Redo  Ctrl+Shift+Z Reverses the last Undo operation
Refresh Window  Ctrl+W  Redraws the drawing window
Repeat  Ctrl+R  Repeats the last operation
Rotate  Alt+F8  Opens the Rotate Docker Window
Run Temporary Macro   Ctrl+Shift+P Run Temporary Macro
Save As... S  Ctrl+Shift+ Saves the active drawing with a new name
Save...   Ctrl+S Saves the active drawing
Scale  Alt+F9 Window Opens the Scale Docker 
Select all  Ctrl+A Select all object of the active page
Shape   F10 Edits the nodes of an object; double-clicking the tool selects all nodes on the selected
Size  Alt+F10 Window Opens the Size Docker 
Smart Drawing   Shift+S Dbl-click opens Smart Drawing Tool options; Shift+drag backwards over line erases
Snap to Grid  Ctrl+Y  Snaps objects to the grid (toggle)
Snap to Objects  Alt+Z  Snaps objects to other objects (toggle)
Spell Check...   Ctrl+F12 Opens the Spell Checker; checks the spelling of the selected text
Spiral  A  Draws spirals; double-clicking opens the Toolbox tab of the Options dialog
Step and Repeat...   Ctrl+Shift+D Shows Step and Repeat docker
Stop Recording  Ctrl+Shift+O  Stop Recording
Super Nudge Down  Shift+DnArrow  Nudges the object downward by the Super Nudge factor
Super Nudge Left  Shift+LeftArrow  Nudges the object to the left by the Super Nudge factor
Super Nudge Right   Shift+RightArrow Nudges the object to the right by the Super Nudge factor
Super Nudge Up  Shift+UpArrow  Nudges the object upward by the Super Nudge factor
Symbol Manager  Ctrl+F3  Symbol Manager Docker
Text  F8  Adds text; click on the page to add Artistic Text; click and drag to add Paragraph Text
To Back Of Layer  Shift+PgDn  To Back Of Layer
To Back Of Page  Ctrl+End  To Back Of Page
To Front Of Layer  Shift+PgUp  To Front Of Layer
To Front Of Page   Ctrl+Home To Front Of Page
Toggle Pick State  Ctrl+Space  Toggles between the current tool and the Pick tool
Toggle View  Shift+F9  Toggles between the last two used view qualities
Undo  Ctrl+Z Reverses the last operation
Undo Alt+Backspace  Reverses the last operation
Ungroup  Ctrl+U  Ungroups the selected objects or group of objects
Uniform Fill...  Shift+F11  Applies uniform color fills to objects
Use bullets  Ctrl+M  Show/Hide Bullet
Vertical Text  Ctrl+.  Changes the text to vertical
View Manager  Ctrl+F2  Opens the View Manager Docker Window
What's This?  Shift+F1  What's This? Help
Zoom  Z  Zoom Tool
Zoom One-Shot  F2
Zoom Out  F3  Zoom Out
Zoom To Fit  F4  Zoom To All Objects
Zoom To Page  Shift+F4  Zoom To Page
Zoom To Selection  Shift+F2  Zoom To Selected