Skip to content

请问支持java的https拦截吗 #316

Answered by cfc4n
gggg-babybaby asked this question in Q&A
Discussion options

You must be logged in to vote

你想说的是拦截Block,还是捕获capture ?

eCapture未来不会规划拦截Block的功能。

java的HTTPS捕获,也是可以通过eBPF实现,可以参考
https://github.com/ehids/ehids-agent/blob/d35910880a486830f39cb0c0512f4bd467209a79/user/probe_ujava_rasp.go#L82-L100

this.javaManager = &manager.Manager{
		/*
			openjdk version "1.8.0_292"
			OpenJDK Runtime Environment (build 1.8.0_292-8u292-b10-0ubuntu1-b10)
			OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)
		*/
		//ex, err := link.OpenExecutable("/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libjava.so")

		// sub_19C30  == JDK_execvpe(p->mode, p->argv[0], p->argv, p->envv);
		// 		md5sum : 38590d0382d776234201996e99487110  /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libjava.so
		Probes: []

Replies: 9 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by cfc4n
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@toohandsome
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
3 participants
Converted from issue

This discussion was converted from issue #313 on February 22, 2023 01:25.