Blog

More

User Rating: 4 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Inactive

Howdy reader,

sorry for starting this like a letter but, what does it matter anyway?

So, today, I walked up to a badass dev maintaining a certain repo. I happened to have worked on the same project, locally. For us to merge changes, there needs to be recorded changes, staging. He asked me for my changes, the files I'd worked on, so that he can merge.

If we were on the same repo git would save us, frget this for now.

So, I was like, damn! I lost track of what I changed (GIT didn't). So, I googled a little and stumbled on it. The super formula. The ones all witches been fighting to lay hands on...joking.

List files changed

To list the files changed, you need to specify some stuff, not much. how many commits back.

see below.

git diff --name-only HEAD HEAD~3

Selection 004

The three is the number of commits.  The files are listed as paths.. cool, right.

Not Cool Yet

Remember, files are needed, not paths...so I tweaked something...git archive. See below.

git archive compresses what you give it, to whatver format you specify, ie zip and saves to your current working directory.

Command

Command, patrick mutwiri

 

list

Selection 006

 

Now I can forward the zip, with only the files I touched. If there're changes in a file and he also worked on it, well, keep it here...remind me if I forget to write about it.

Add a comment

User Rating: 0 / 5

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

1. Definition of SOCKS

Protocol for sessions traversal across firewall securely. SOCKet Secure (SOCKS) is an Internet protocol that routes network packets between a client and server through a proxy server. SOCKS5 additionally provides authentication so only authorized users may access a server. Practically, a SOCKS server proxies TCP connections to an arbitrary IP address, and provides a means for UDP packets to be forwarded.SOCKS performs at Layer 5 of the OSI model (the session layer, an intermediate layer between the presentation layer and the transport layer).

2. Difference between SOCKS4 and SOCKS5

SOCKS4 and SOCKS5 both belong to SOCKS protocol. It is the concrete supportive application that distinguishes them.

SOCKS4 only supports TCP application, while SOCKS5 supports TCP and UDP applications. However, because of the fact that SOCKS5 also supports various authentication mechanisms and domain name resolution (DNS), which does not go with SOCKS4, the outgoing SOCKS proxy is normally SOCKS4 proxy. As a result, UDP applications are not supported normally. That is to say, SOCKS5 could support anything that SOCKS4 supports, but it is not the same with SOCKS4.

3. Application Cases

3.1 Downloading FTP Files via Browser Proxy

To download files in FTP servers, you have to input the IP address and the FTP Port 808 of the server in the "FTP" edit box (Figure 1-1).

Configure FTP Proxy

Figure 1‑1

3.2 Uploading FTP Files via Browser Proxy

1) To upload files to the FTP server, the "FTP" edit box has to be left blank, because IE would use the SOCKS4 protocol (Figure 1-2).

Leave FTP Blank

Figure 1‑2

2) Open the "Local Area connection Properties" dialogue box, click "Internet Protocol Version 4 (TCP/IPv4)", then click the "Properties" button (Figure 1-3).

TCP/IPv4

Figure 1‑3

3) In the pop up "Internet Protocol Version 4 (TCP/IPv4) Properties" dialogue box, select the "User the following DNS server address" radio button, and then type the DNS address in the "Preferred DNS server" edit box (Figure 1-4).

Configure DNS Address

Figure 1‑4

4) After configured like that, you could use browsers to upload files to the FTP server.

 

source: http://www.youngzsoft.net/ccproxy/difference-between-socks4-and-socks5.htm

Add a comment

User Rating: 0 / 5

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

Guess I figured out something and time ran out while writing this. .. ..

Add a comment

Virtual Wars on Twitter

User Rating: 0 / 5

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

Been developing cross-platform apps for a while now and I've been forced to use various OSes to run 'em and check how they're running, and led me to a knowledge mine-field. My dominant OS is linux.

Selection 022

I use kernel v4.13.0-36.

It's worth noting, I've been using virtualbox, till today. I was also using kernel v4.13.0-32. I upgraded my kernel because virtualbox was freezing my system. It didn't help, the upgrade.

Sorry if you love windows...I use it for games and design-work sometimes though.

So, virtualbox, among others apps, some, are not perfoming very well in this kernel version. To help me out I installed vmware. VMware is as good as the box. There's a challenge though. This thing has trouble in manoeuvring.  To my surprise, it works well with this kernel but different versions, the latest one, vmware 14.

Selection 023

 

If you use a previous version of virtualbox with that kernel, you're sorted. If you use the latest vmware with the current version, you're also sorted. The ball game is now here.

You have work to do and its tight. Payday depends on your choice.

Advice me here.

What should I settle for in the longterm, taking to account the kernel changes?

Add a comment

About Me

Oops...Almost forgot to say something about me. But anyway, I'm that guy, yule Msee, who'll sort out your techie issue and hails from the land of milk and honey. Not forgetting the bitter herbs too.

This is what am best at. Feel free to ask something. 

Latest News

10 October 2018
08 May 2018

Latest Tweets

Search

Loading